From e05fa0b31a3d50b1ef40342d9b3dcbfcbaa859f4 Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Tue, 30 May 2023 13:35:41 +0800 Subject: [PATCH] Introduce tags related test cases (#36232) * update resourcemanager * introduce test cases, but not fully working * introduce a fix * record all the new test cases --- .../AvailabilitySetOperationsTests.cs | 18 + .../DedicatedHostGroupOperationsTests.cs | 19 + .../Scenario/DedicatedHostOperationsTests.cs | 19 + .../Scenario/DiskAccessOperationsTests.cs | 19 + .../Scenario/GalleryImageOperationsTests.cs | 1 + .../tests/Scenario/GalleryOperationsTests.cs | 1 + .../Scenario/ManagedDiskOperationsTests.cs | 18 + .../SetTags(False)[2020-06-01].json | 278 +++ .../SetTags(False)[2020-06-01]Async.json | 278 +++ .../SetTags(False)[2021-04-01].json | 278 +++ .../SetTags(False)[2021-04-01]Async.json | 278 +++ .../SetTags(False)[2022-08-01].json | 278 +++ .../SetTags(False)[2022-08-01]Async.json | 278 +++ .../SetTags(False)[2022-11-01].json | 278 +++ .../SetTags(False)[2022-11-01]Async.json | 278 +++ .../SetTags(False)[2023-03-01].json | 278 +++ .../SetTags(False)[2023-03-01]Async.json | 278 +++ .../SetTags(True)[2020-06-01].json | 331 +++ .../SetTags(True)[2020-06-01]Async.json | 331 +++ .../SetTags(True)[2021-04-01].json | 331 +++ .../SetTags(True)[2021-04-01]Async.json | 331 +++ .../SetTags(True)[2022-08-01].json | 331 +++ .../SetTags(True)[2022-08-01]Async.json | 331 +++ .../SetTags(True)[2022-11-01].json | 331 +++ .../SetTags(True)[2022-11-01]Async.json | 331 +++ .../SetTags(True)[2023-03-01].json | 331 +++ .../SetTags(True)[2023-03-01]Async.json | 331 +++ .../SetTags(null)[2020-06-01].json | 1745 ++++++++++++++ .../SetTags(null)[2020-06-01]Async.json | 1745 ++++++++++++++ .../SetTags(null)[2021-04-01].json | 1745 ++++++++++++++ .../SetTags(null)[2021-04-01]Async.json | 1745 ++++++++++++++ .../SetTags(null)[2022-08-01].json | 1745 ++++++++++++++ .../SetTags(null)[2022-08-01]Async.json | 1745 ++++++++++++++ .../SetTags(null)[2022-11-01].json | 1745 ++++++++++++++ .../SetTags(null)[2022-11-01]Async.json | 1745 ++++++++++++++ .../SetTags(null)[2023-03-01].json | 1745 ++++++++++++++ .../SetTags(null)[2023-03-01]Async.json | 1745 ++++++++++++++ .../SetTags(False).json | 264 +++ .../SetTags(False)Async.json | 264 +++ .../SetTags(True).json | 322 +++ .../SetTags(True)Async.json | 322 +++ .../SetTags(null).json | 1736 ++++++++++++++ .../SetTags(null)Async.json | 1736 ++++++++++++++ .../SetTags(False).json | 490 ++++ .../SetTags(False)Async.json | 490 ++++ .../SetTags(True).json | 485 ++++ .../SetTags(True)Async.json | 523 +++++ .../SetTags(null).json | 1899 ++++++++++++++++ .../SetTags(null)Async.json | 1899 ++++++++++++++++ .../SetTags(False).json | 500 ++++ .../SetTags(False)Async.json | 500 ++++ .../SetTags(True).json | 542 +++++ .../SetTags(True)Async.json | 542 +++++ .../SetTags(null).json | 1956 ++++++++++++++++ .../SetTags(null)Async.json | 1956 ++++++++++++++++ .../SetTags(False)[2019-07-01].json | 572 +++++ .../SetTags(False)[2019-07-01]Async.json | 572 +++++ .../SetTags(False)[2021-04-01].json | 582 +++++ .../SetTags(False)[2021-04-01]Async.json | 582 +++++ .../SetTags(False)[2022-07-02].json | 583 +++++ .../SetTags(False)[2022-07-02]Async.json | 582 +++++ .../SetTags(True)[2019-07-01].json | 605 +++++ .../SetTags(True)[2019-07-01]Async.json | 605 +++++ .../SetTags(True)[2021-04-01].json | 611 +++++ .../SetTags(True)[2021-04-01]Async.json | 611 +++++ .../SetTags(True)[2022-07-02].json | 611 +++++ .../SetTags(True)[2022-07-02]Async.json | 611 +++++ .../SetTags(null)[2019-07-01].json | 2019 ++++++++++++++++ .../SetTags(null)[2019-07-01]Async.json | 2019 ++++++++++++++++ .../SetTags(null)[2021-04-01].json | 2025 +++++++++++++++++ .../SetTags(null)[2021-04-01]Async.json | 2025 +++++++++++++++++ .../SetTags(null)[2022-07-02].json | 2025 +++++++++++++++++ .../SetTags(null)[2022-07-02]Async.json | 2025 +++++++++++++++++ 73 files changed, 59326 insertions(+) create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null).json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null)Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01]Async.json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02].json create mode 100644 sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02]Async.json diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/AvailabilitySetOperationsTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/AvailabilitySetOperationsTests.cs index 5597d56421ada..5f9ee41cc565c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/AvailabilitySetOperationsTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/AvailabilitySetOperationsTests.cs @@ -124,5 +124,23 @@ public async Task PlacementGroupId() Assert.AreEqual(removeIdResult, newRemoveIdResult); Assert.AreEqual(removeIdResult, newRemoveOuterIdResult); } + + [RecordedTest] + [TestCase(null)] + [TestCase(true)] + [TestCase(false)] + public async Task SetTags(bool? useTagResource) + { + SetTagResourceUsage(Client, useTagResource); + var name = Recording.GenerateAssetName("aset-"); + var aset = await CreateAvailabilitySetAsync(name); + var tags = new Dictionary() + { + { "key", "value" } + }; + AvailabilitySetResource updated = await aset.SetTagsAsync(tags); + + Assert.AreEqual(tags, updated.Data.Tags); + } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostGroupOperationsTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostGroupOperationsTests.cs index 8f6e0a765afbf..163be8f7568e0 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostGroupOperationsTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostGroupOperationsTests.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.ResourceManager.Compute.Tests.Helpers; @@ -42,5 +43,23 @@ public async Task Get() ResourceDataHelper.AssertGroup(group1.Data, group2.Data); } + + [RecordedTest] + [TestCase(null)] + [TestCase(true)] + [TestCase(false)] + public async Task SetTags(bool? useTagResource) + { + SetTagResourceUsage(Client, useTagResource); + var name = Recording.GenerateAssetName("testDHG-"); + var group = await CreateDedicatedHostGroupAsync(name); + var tags = new Dictionary() + { + { "key", "value" } + }; + DedicatedHostGroupResource updated = await group.SetTagsAsync(tags); + + Assert.AreEqual(tags, updated.Data.Tags); + } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostOperationsTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostOperationsTests.cs index 4ab6889bc1757..656516a5588bc 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostOperationsTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DedicatedHostOperationsTests.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.ResourceManager.Compute.Models; @@ -69,5 +70,23 @@ public async Task Update() Assert.AreEqual(updatedAutoReplaceOnFailure, updatedHost.Data.AutoReplaceOnFailure); } + + [RecordedTest] + [TestCase(null)] + [TestCase(true)] + [TestCase(false)] + public async Task SetTags(bool? useTagResource) + { + SetTagResourceUsage(Client, useTagResource); + var name = Recording.GenerateAssetName("testHost-"); + var host = await CreateDedicatedHostAsync(name); + var tags = new Dictionary() + { + { "key", "value" } + }; + DedicatedHostResource updated = await host.SetTagsAsync(tags); + + Assert.AreEqual(tags, updated.Data.Tags); + } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DiskAccessOperationsTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DiskAccessOperationsTests.cs index f58d84d986cd8..2c5525a83e0ff 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DiskAccessOperationsTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/DiskAccessOperationsTests.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.ResourceManager.Compute.Tests.Helpers; @@ -42,5 +43,23 @@ public async Task Get() ResourceDataHelper.AssertDiskAccess(access1.Data, access2.Data); } + + [RecordedTest] + [TestCase(null)] + [TestCase(true)] + [TestCase(false)] + public async Task SetTags(bool? useTagResource) + { + SetTagResourceUsage(Client, useTagResource); + var name = Recording.GenerateAssetName("testDA-"); + var diskAccess = await CreateDiskAccessAsync(name); + var tags = new Dictionary() + { + { "key", "value" } + }; + DiskAccessResource updated = await diskAccess.SetTagsAsync(tags); + + Assert.AreEqual(tags, updated.Data.Tags); + } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryImageOperationsTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryImageOperationsTests.cs index e7b3966219e64..87fea83387046 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryImageOperationsTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryImageOperationsTests.cs @@ -81,6 +81,7 @@ public async Task Update() Assert.AreEqual(description, updatedGalleryImage.Data.Description); } + [RecordedTest] [TestCase(null)] [TestCase(true)] [TestCase(false)] diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryOperationsTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryOperationsTests.cs index 6eadcfd596f46..6136d7acb9190 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryOperationsTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/GalleryOperationsTests.cs @@ -66,6 +66,7 @@ public async Task Update() Assert.AreEqual(description, updatedGallery.Data.Description); } + [RecordedTest] [TestCase(null)] [TestCase(true)] [TestCase(false)] diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/ManagedDiskOperationsTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/ManagedDiskOperationsTests.cs index c7ba12c7e253b..2f61f30fedfac 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/ManagedDiskOperationsTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/ManagedDiskOperationsTests.cs @@ -62,5 +62,23 @@ public async Task Update() Assert.AreEqual(newDiskSize, updatedDisk.Data.DiskSizeGB); } + + [RecordedTest] + [TestCase(null)] + [TestCase(true)] + [TestCase(false)] + public async Task SetTags(bool? useTagResource) + { + SetTagResourceUsage(Client, useTagResource); + var name = Recording.GenerateAssetName("testDisk-"); + var disk = await CreateDiskAsync(name); + var tags = new Dictionary() + { + { "key", "value" } + }; + ManagedDiskResource updated = await disk.SetTagsAsync(tags); + + Assert.AreEqual(tags, updated.Data.Tags); + } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01].json new file mode 100644 index 0000000000000..0c9dcbaef05d7 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01].json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8ab6ac604354609e4d949a4b5ad01be6-d099217b66a03ac6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b8511095784bf7d691d449a09835459f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:38:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cbc5085f-ade7-4bac-9d38-9b0d200a03cc", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "cbc5085f-ade7-4bac-9d38-9b0d200a03cc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033807Z:cbc5085f-ade7-4bac-9d38-9b0d200a03cc" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-85?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-4343a96c54b5bf3fa7445b083d1ad5d4-3a98c855ef19488c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a984df53a0dfdfa71e84d4c245d280c6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "237", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:38:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "97e96869-9dbc-4167-9d2c-5d61e4b3cd1e", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "97e96869-9dbc-4167-9d2c-5d61e4b3cd1e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033807Z:97e96869-9dbc-4167-9d2c-5d61e4b3cd1e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-85", + "name": "testRG-85", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-85/providers/Microsoft.Compute/availabilitySets/aset-9965?api-version=2020-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-b8b73ab9db00dde9b8096e6f348bb418-c70807faecd9c810-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a1e53d418a9a05c33cbd476f774ea6e8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "422", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:38:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a1e53d418a9a05c33cbd476f774ea6e8", + "x-ms-correlation-request-id": "32c4631a-e38d-4a87-9af9-a5af7ae176db", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;233,Microsoft.Compute/PutVM30Min;1193", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "3fafda10-ab6e-4783-b6a2-6df8412cedcf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033812Z:32c4631a-e38d-4a87-9af9-a5af7ae176db" + }, + "ResponseBody": { + "name": "aset-9965", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-85/providers/Microsoft.Compute/availabilitySets/aset-9965", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-85/providers/Microsoft.Compute/availabilitySets/aset-9965?api-version=2020-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-5d842aaf20dae4fab76c18d8e94bea9a-d67f8604c525dcc2-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c0504a93ec27b030116c5a5123ce8f77", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:38:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c0504a93ec27b030116c5a5123ce8f77", + "x-ms-correlation-request-id": "c711dbd4-5608-497d-8815-bb3a7220e2e6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "cdc1f33a-b8cf-4c38-b9fb-b69d4c375662", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033813Z:c711dbd4-5608-497d-8815-bb3a7220e2e6" + }, + "ResponseBody": { + "name": "aset-9965", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-85/providers/Microsoft.Compute/availabilitySets/aset-9965", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-85/providers/Microsoft.Compute/availabilitySets/aset-9965?api-version=2020-06-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-5d842aaf20dae4fab76c18d8e94bea9a-2aac1362a76344f3-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "08f4d1207bb9c8951b7f6c22593767cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "422", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:38:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "08f4d1207bb9c8951b7f6c22593767cf", + "x-ms-correlation-request-id": "d77d90e2-2283-45b8-8c2a-4030f5afc38e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;232,Microsoft.Compute/PutVM30Min;1192", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "f79fb01e-fbe0-473c-acbc-9fbf92ccec1a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033815Z:d77d90e2-2283-45b8-8c2a-4030f5afc38e" + }, + "ResponseBody": { + "name": "aset-9965", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-85/providers/Microsoft.Compute/availabilitySets/aset-9965", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "331715952", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01]Async.json new file mode 100644 index 0000000000000..48b7e05254112 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2020-06-01]Async.json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e499b5b25acf5d4d6f309c03a6667498-29d3e1483501cc46-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c7f7e59a5972607bae0a70d121acc752", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e2f8d757-890b-4b2c-bb3d-5e03bb6ae021", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-request-id": "e2f8d757-890b-4b2c-bb3d-5e03bb6ae021", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034200Z:e2f8d757-890b-4b2c-bb3d-5e03bb6ae021" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-4468?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-c1fe91d78307b028912b586a9d54abd5-a520079e8bcabc86-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "26f8ca7b45eef4b37522f50b31d41e27", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "69379747-e302-494e-ae33-668ec6018d2b", + "x-ms-ratelimit-remaining-subscription-writes": "1166", + "x-ms-request-id": "69379747-e302-494e-ae33-668ec6018d2b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034200Z:69379747-e302-494e-ae33-668ec6018d2b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4468", + "name": "testRG-4468", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4468/providers/Microsoft.Compute/availabilitySets/aset-7781?api-version=2020-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-674830a7caeca32c10726a55b774ac6b-be626bb6877f7e07-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "71f585a918f92544e84c3a5d05c07bb7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "71f585a918f92544e84c3a5d05c07bb7", + "x-ms-correlation-request-id": "867b8210-438a-42e5-8a89-309c53798776", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;209,Microsoft.Compute/PutVM30Min;1161", + "x-ms-ratelimit-remaining-subscription-writes": "1165", + "x-ms-request-id": "b1ccba86-a307-48b9-8984-08ac530caa1a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034204Z:867b8210-438a-42e5-8a89-309c53798776" + }, + "ResponseBody": { + "name": "aset-7781", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4468/providers/Microsoft.Compute/availabilitySets/aset-7781", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4468/providers/Microsoft.Compute/availabilitySets/aset-7781?api-version=2020-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2bf5efa0aedc222b87e529819ea73f3d-82e2b7aea724f5bb-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b0e6258d7394b1f6137de4586ba3d99c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b0e6258d7394b1f6137de4586ba3d99c", + "x-ms-correlation-request-id": "96e7fd1f-f882-4e65-a183-a8f2a2a0e30a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3982,Microsoft.Compute/LowCostGet30Min;31979", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-request-id": "45cdcb93-29a6-40be-a32b-5b21af2ad7c8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034204Z:96e7fd1f-f882-4e65-a183-a8f2a2a0e30a" + }, + "ResponseBody": { + "name": "aset-7781", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4468/providers/Microsoft.Compute/availabilitySets/aset-7781", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4468/providers/Microsoft.Compute/availabilitySets/aset-7781?api-version=2020-06-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-2bf5efa0aedc222b87e529819ea73f3d-83405edc6226cc39-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4203f9b2015c62de86d33ea10a56eeb4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4203f9b2015c62de86d33ea10a56eeb4", + "x-ms-correlation-request-id": "bb616ff4-bc3f-418b-91cb-f37199c6d511", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;208,Microsoft.Compute/PutVM30Min;1160", + "x-ms-ratelimit-remaining-subscription-writes": "1164", + "x-ms-request-id": "d384cc69-ac28-4fef-ae2a-4e7ee2e58407", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034206Z:bb616ff4-bc3f-418b-91cb-f37199c6d511" + }, + "ResponseBody": { + "name": "aset-7781", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4468/providers/Microsoft.Compute/availabilitySets/aset-7781", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1290190914", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01].json new file mode 100644 index 0000000000000..8287fa552a57a --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01].json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-004e80affd8627147d6ae8b804bfff61-bc5d4eac51423427-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e52699ae0ceead69ccee33419268d81f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "82590644-6ced-4519-a81f-23eabd0dda0f", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "82590644-6ced-4519-a81f-23eabd0dda0f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034011Z:82590644-6ced-4519-a81f-23eabd0dda0f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5693?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-32243ae7fb1c0eb483d4c9a948c5db7e-bdb7e9bf79d5ee99-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "15f143b2db2310a5070cc1dd6889b141", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "dfc7234b-490d-42a9-921c-d33b3db21699", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "dfc7234b-490d-42a9-921c-d33b3db21699", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034012Z:dfc7234b-490d-42a9-921c-d33b3db21699" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5693", + "name": "testRG-5693", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5693/providers/Microsoft.Compute/availabilitySets/aset-4918?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-0f317ac978eca2ecf5af1e708c70965d-94545ca2d7a2aced-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c085133aacd094b7ff3fc4b7499592b3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c085133aacd094b7ff3fc4b7499592b3", + "x-ms-correlation-request-id": "2e0cbf06-c6b5-4d5b-9eec-12f01f57c2de", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;225,Microsoft.Compute/PutVM30Min;1185", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "a3a4b5c1-7d3a-46ac-8f62-97677864a86c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034015Z:2e0cbf06-c6b5-4d5b-9eec-12f01f57c2de" + }, + "ResponseBody": { + "name": "aset-4918", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5693/providers/Microsoft.Compute/availabilitySets/aset-4918", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5693/providers/Microsoft.Compute/availabilitySets/aset-4918?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e65835cbeeb458971ea845d98980ddf9-19194c948650be4b-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a3c2ea2b98344a7540de055decef85a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a3c2ea2b98344a7540de055decef85a9", + "x-ms-correlation-request-id": "cd905387-c711-45b1-a48d-e46630424d21", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31991", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "27a1a408-1af7-42eb-9306-9d9e5c4d213e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034016Z:cd905387-c711-45b1-a48d-e46630424d21" + }, + "ResponseBody": { + "name": "aset-4918", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5693/providers/Microsoft.Compute/availabilitySets/aset-4918", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5693/providers/Microsoft.Compute/availabilitySets/aset-4918?api-version=2021-04-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-e65835cbeeb458971ea845d98980ddf9-e0f994c87e274ce5-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c42e508f499905e58b5d16e317edc771", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c42e508f499905e58b5d16e317edc771", + "x-ms-correlation-request-id": "a5241ff2-6a53-45a8-a02e-a89fd5bd5dae", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;224,Microsoft.Compute/PutVM30Min;1184", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "7976219a-dc5a-497f-8eb1-8b6ebc44b12c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034018Z:a5241ff2-6a53-45a8-a02e-a89fd5bd5dae" + }, + "ResponseBody": { + "name": "aset-4918", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5693/providers/Microsoft.Compute/availabilitySets/aset-4918", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1524708251", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01]Async.json new file mode 100644 index 0000000000000..50239b3dad987 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2021-04-01]Async.json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-107c4f80b87f93fe15dfab63e6d96842-0520ba11286689e8-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "87a86c0c78c51fee723c8d390f9760aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1d598654-e1e1-43af-8634-3eedc48d7754", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-request-id": "1d598654-e1e1-43af-8634-3eedc48d7754", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034234Z:1d598654-e1e1-43af-8634-3eedc48d7754" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5347?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-ffd710b404dcd562cc2e8281755f5d9a-063c2e0b44da4917-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e058bf06c74b4a8f0571fa3dd4fc0484", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1d015176-67be-4f3f-9200-ad1acec0e85b", + "x-ms-ratelimit-remaining-subscription-writes": "1157", + "x-ms-request-id": "1d015176-67be-4f3f-9200-ad1acec0e85b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034235Z:1d015176-67be-4f3f-9200-ad1acec0e85b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5347", + "name": "testRG-5347", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5347/providers/Microsoft.Compute/availabilitySets/aset-1874?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-58a970c9236fa829010eb3da6ffdabce-9d9b5d92fe7dd5ae-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f36a7b30c7fe50157e193a177a744da9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f36a7b30c7fe50157e193a177a744da9", + "x-ms-correlation-request-id": "fe6e6029-fcba-4d4a-9bd4-6e45a02ac5f7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;205,Microsoft.Compute/PutVM30Min;1153", + "x-ms-ratelimit-remaining-subscription-writes": "1156", + "x-ms-request-id": "87e98ad8-357a-4408-aa1d-24b344686169", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034238Z:fe6e6029-fcba-4d4a-9bd4-6e45a02ac5f7" + }, + "ResponseBody": { + "name": "aset-1874", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5347/providers/Microsoft.Compute/availabilitySets/aset-1874", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5347/providers/Microsoft.Compute/availabilitySets/aset-1874?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-75739849672ff7a5d1ec96ca910f14ca-9167b58da943985c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "08655e952c6de021f87b737d25346891", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "08655e952c6de021f87b737d25346891", + "x-ms-correlation-request-id": "4325af33-8a0a-442d-bb9e-e13523574439", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3979,Microsoft.Compute/LowCostGet30Min;31973", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-request-id": "9420ef5f-d2ba-4cb5-9247-a932a5f59536", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034239Z:4325af33-8a0a-442d-bb9e-e13523574439" + }, + "ResponseBody": { + "name": "aset-1874", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5347/providers/Microsoft.Compute/availabilitySets/aset-1874", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5347/providers/Microsoft.Compute/availabilitySets/aset-1874?api-version=2021-04-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-75739849672ff7a5d1ec96ca910f14ca-c3db0c1490ad52e7-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e5678a35f6403edea90761318d78cf90", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e5678a35f6403edea90761318d78cf90", + "x-ms-correlation-request-id": "19c17057-d5cc-4d11-ace5-3ff8da981a42", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;204,Microsoft.Compute/PutVM30Min;1152", + "x-ms-ratelimit-remaining-subscription-writes": "1155", + "x-ms-request-id": "9c5acf85-f461-4726-9771-b32ab909c188", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034241Z:19c17057-d5cc-4d11-ace5-3ff8da981a42" + }, + "ResponseBody": { + "name": "aset-1874", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5347/providers/Microsoft.Compute/availabilitySets/aset-1874", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1569934221", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01].json new file mode 100644 index 0000000000000..2e06f6e731b0d --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01].json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-de75f5132b4e93c6a3b885e870f6d3d9-629898dde897b137-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f6e558e3a859e1d8075052b1ad074ab9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3e950e0d-03b2-4c24-86fb-035d7bb7a335", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "3e950e0d-03b2-4c24-86fb-035d7bb7a335", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034051Z:3e950e0d-03b2-4c24-86fb-035d7bb7a335" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-6518?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-897c51750f2938befc7ca770a255e45f-e11da3c07c3fe90e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "489378d3f702f5fc2a98b7cfaa1c85e2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "40590b28-a9b8-4dee-b2f2-d6b48d2c920d", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-request-id": "40590b28-a9b8-4dee-b2f2-d6b48d2c920d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034052Z:40590b28-a9b8-4dee-b2f2-d6b48d2c920d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6518", + "name": "testRG-6518", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6518/providers/Microsoft.Compute/availabilitySets/aset-1706?api-version=2022-08-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-0676f2ba75fc332bbb5d3886d9345a44-8e03a7e433c24ab1-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b645c514adf59fde211b3336c84a315d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b645c514adf59fde211b3336c84a315d", + "x-ms-correlation-request-id": "c5678e06-689a-4568-9e7e-248bc7e7ae9b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;222,Microsoft.Compute/PutVM30Min;1177", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-request-id": "41872eb9-1246-4554-bdcb-d6c0fd698122", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034056Z:c5678e06-689a-4568-9e7e-248bc7e7ae9b" + }, + "ResponseBody": { + "name": "aset-1706", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6518/providers/Microsoft.Compute/availabilitySets/aset-1706", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6518/providers/Microsoft.Compute/availabilitySets/aset-1706?api-version=2022-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-065f4cec9f9ce3cb50ff8f83bcc4604b-3789185ad19abe22-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ad2f76ee9a1bed55f9647e3f2a38a535", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ad2f76ee9a1bed55f9647e3f2a38a535", + "x-ms-correlation-request-id": "99c4cd98-eb68-4ce4-b59d-4429ba2186f4", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3989,Microsoft.Compute/LowCostGet30Min;31988", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "a40d0d0d-ab1b-4342-9d1f-41ccb3d29650", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034057Z:99c4cd98-eb68-4ce4-b59d-4429ba2186f4" + }, + "ResponseBody": { + "name": "aset-1706", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6518/providers/Microsoft.Compute/availabilitySets/aset-1706", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6518/providers/Microsoft.Compute/availabilitySets/aset-1706?api-version=2022-08-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-065f4cec9f9ce3cb50ff8f83bcc4604b-d342617b37d361eb-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "85f2cb2c687325b599f427e7c4c52cdf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "85f2cb2c687325b599f427e7c4c52cdf", + "x-ms-correlation-request-id": "85bd5108-72db-4434-9283-d94b92081d82", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;221,Microsoft.Compute/PutVM30Min;1176", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-request-id": "a5c36d42-fa2c-4787-9b61-f21da9dd6312", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034059Z:85bd5108-72db-4434-9283-d94b92081d82" + }, + "ResponseBody": { + "name": "aset-1706", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6518/providers/Microsoft.Compute/availabilitySets/aset-1706", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "72700359", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01]Async.json new file mode 100644 index 0000000000000..bf11d050302a4 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-08-01]Async.json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-13cd15350480ec6f47763d1859b0216e-7ddbabfe74fa7888-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4f1981f009b1719d7c1a9c2e3557b2ad", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e03d2d51-0372-434b-81ba-fe39e3c5fea0", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-request-id": "e03d2d51-0372-434b-81ba-fe39e3c5fea0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034309Z:e03d2d51-0372-434b-81ba-fe39e3c5fea0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-3537?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-df75ab852e3a409497d8d4f8f84e673e-80e5b8213d96cc95-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "55b2d5e73e0b736729f9fe9be887af85", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "35ef9811-b72c-4884-a76a-cef026178635", + "x-ms-ratelimit-remaining-subscription-writes": "1148", + "x-ms-request-id": "35ef9811-b72c-4884-a76a-cef026178635", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034310Z:35ef9811-b72c-4884-a76a-cef026178635" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3537", + "name": "testRG-3537", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3537/providers/Microsoft.Compute/availabilitySets/aset-803?api-version=2022-08-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-a75bafa549ec99bd2a8fc5156254371f-703d00a7ad1ecb97-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a2af3792c52bdc0a867b272f96777642", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "422", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a2af3792c52bdc0a867b272f96777642", + "x-ms-correlation-request-id": "76ee1bef-54f0-4f90-aa5b-e683b9ea18ff", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;203,Microsoft.Compute/PutVM30Min;1145", + "x-ms-ratelimit-remaining-subscription-writes": "1147", + "x-ms-request-id": "17ba843f-805c-4ca8-8b8f-2a36f83507b6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034313Z:76ee1bef-54f0-4f90-aa5b-e683b9ea18ff" + }, + "ResponseBody": { + "name": "aset-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3537/providers/Microsoft.Compute/availabilitySets/aset-803", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3537/providers/Microsoft.Compute/availabilitySets/aset-803?api-version=2022-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-db6f183efc2c008b14e7147af95ee02f-174d9f6986ceeabe-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fc1378e59b41db76e73de0a472e03114", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "fc1378e59b41db76e73de0a472e03114", + "x-ms-correlation-request-id": "98a8154e-c3a2-4222-b869-ba6ec11d30c8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3976,Microsoft.Compute/LowCostGet30Min;31967", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-request-id": "24070736-2508-4c2e-a53e-218a9d1d884f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034314Z:98a8154e-c3a2-4222-b869-ba6ec11d30c8" + }, + "ResponseBody": { + "name": "aset-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3537/providers/Microsoft.Compute/availabilitySets/aset-803", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3537/providers/Microsoft.Compute/availabilitySets/aset-803?api-version=2022-08-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-db6f183efc2c008b14e7147af95ee02f-0859fe1bbd22a6bb-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7ac4b07e54fd2150cbd5cf901738ddb1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "422", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7ac4b07e54fd2150cbd5cf901738ddb1", + "x-ms-correlation-request-id": "9671c96a-7b2e-4c22-9d2e-43f10fcbcbd8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;202,Microsoft.Compute/PutVM30Min;1144", + "x-ms-ratelimit-remaining-subscription-writes": "1146", + "x-ms-request-id": "e4d738a3-f5d9-4f34-b11f-1b2afa2fd14d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034316Z:9671c96a-7b2e-4c22-9d2e-43f10fcbcbd8" + }, + "ResponseBody": { + "name": "aset-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3537/providers/Microsoft.Compute/availabilitySets/aset-803", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1684060872", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01].json new file mode 100644 index 0000000000000..d5fd088730c80 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01].json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-521d7af052a16f4b35ceeef84ef2ef76-691b466876ca2060-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4eaf40b15a6ee9cb6324268c7ecacf28", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "937d2393-f9b3-48fb-a237-b15f4797f047", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "937d2393-f9b3-48fb-a237-b15f4797f047", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034125Z:937d2393-f9b3-48fb-a237-b15f4797f047" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-2147?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-07d1689ae3493e9304ad236309d358ad-ae145c25f1816f49-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e8608719826f26c8b7413278f6bdfaf7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "45506942-23c4-4d91-8383-aa694303fc1c", + "x-ms-ratelimit-remaining-subscription-writes": "1175", + "x-ms-request-id": "45506942-23c4-4d91-8383-aa694303fc1c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034126Z:45506942-23c4-4d91-8383-aa694303fc1c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2147", + "name": "testRG-2147", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2147/providers/Microsoft.Compute/availabilitySets/aset-8314?api-version=2022-11-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-aee1a077b09f60f5733338a918bf597d-0275b1ce1568b7b9-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3a877d604a6db80acb9058cbd770b7ce", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3a877d604a6db80acb9058cbd770b7ce", + "x-ms-correlation-request-id": "405c34c5-9f61-4ec5-9c88-76d4e41e262c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;217,Microsoft.Compute/PutVM30Min;1169", + "x-ms-ratelimit-remaining-subscription-writes": "1174", + "x-ms-request-id": "81fe0fc5-8ac2-4a6b-aa29-4a30c19ab27c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034129Z:405c34c5-9f61-4ec5-9c88-76d4e41e262c" + }, + "ResponseBody": { + "name": "aset-8314", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2147/providers/Microsoft.Compute/availabilitySets/aset-8314", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2147/providers/Microsoft.Compute/availabilitySets/aset-8314?api-version=2022-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d3c503f261e17b60862c0ebbfbd3c7b1-ed3ff591a0420c29-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d5ea07d2c97f2cd08548a289b7ea2d69", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d5ea07d2c97f2cd08548a289b7ea2d69", + "x-ms-correlation-request-id": "29a57363-9869-4884-9eb0-4bc2f52fc01d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3988,Microsoft.Compute/LowCostGet30Min;31985", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "87d45d30-1fd0-472d-b8ac-f293d4b21eac", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034130Z:29a57363-9869-4884-9eb0-4bc2f52fc01d" + }, + "ResponseBody": { + "name": "aset-8314", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2147/providers/Microsoft.Compute/availabilitySets/aset-8314", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2147/providers/Microsoft.Compute/availabilitySets/aset-8314?api-version=2022-11-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-d3c503f261e17b60862c0ebbfbd3c7b1-0b346dd43a29340e-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "516a879157a1ce437ca81cde2afc4e47", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "516a879157a1ce437ca81cde2afc4e47", + "x-ms-correlation-request-id": "3342bb24-77c7-4bf0-a9ef-8f42c408c6c9", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;216,Microsoft.Compute/PutVM30Min;1168", + "x-ms-ratelimit-remaining-subscription-writes": "1173", + "x-ms-request-id": "27ac4077-c361-4f45-ab4d-727f83a79437", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034132Z:3342bb24-77c7-4bf0-a9ef-8f42c408c6c9" + }, + "ResponseBody": { + "name": "aset-8314", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2147/providers/Microsoft.Compute/availabilitySets/aset-8314", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "561561726", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01]Async.json new file mode 100644 index 0000000000000..e7d0183d1594f --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2022-11-01]Async.json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-fb6662ad0e2bfafab096ec653024b536-8357297b9bfcca70-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4b7e1328644f461613897da97ea36091", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0210ca8f-d568-494c-9015-e91f7cb2681a", + "x-ms-ratelimit-remaining-subscription-reads": "11938", + "x-ms-request-id": "0210ca8f-d568-494c-9015-e91f7cb2681a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034341Z:0210ca8f-d568-494c-9015-e91f7cb2681a" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-765?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-794f717270b3e67b5ea4f51811f3bf4e-978a3b123de417d6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "19509975ba1d5d4f83658928b21db0a0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "81541d0d-1813-4d22-989f-8102504ad2c0", + "x-ms-ratelimit-remaining-subscription-writes": "1139", + "x-ms-request-id": "81541d0d-1813-4d22-989f-8102504ad2c0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034342Z:81541d0d-1813-4d22-989f-8102504ad2c0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-765", + "name": "testRG-765", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-765/providers/Microsoft.Compute/availabilitySets/aset-6189?api-version=2022-11-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-d11a4fc0de31aac16114fc710c1330ad-bb9bfc38b470a1c6-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c1e41c9e8a82833c265413770e4acd8c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c1e41c9e8a82833c265413770e4acd8c", + "x-ms-correlation-request-id": "060983c9-21cb-4796-b20a-8a72e408f52c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;201,Microsoft.Compute/PutVM30Min;1137", + "x-ms-ratelimit-remaining-subscription-writes": "1138", + "x-ms-request-id": "78100ada-6a8a-4599-8dd9-0837b0c707a2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034345Z:060983c9-21cb-4796-b20a-8a72e408f52c" + }, + "ResponseBody": { + "name": "aset-6189", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-765/providers/Microsoft.Compute/availabilitySets/aset-6189", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-765/providers/Microsoft.Compute/availabilitySets/aset-6189?api-version=2022-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-304f4a314f6467e54f643f2b0fd4f249-7bf1d1164b9cbfe8-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "18aaf8630f35c4f6fbf2e0b1bcebd65f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "451", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "18aaf8630f35c4f6fbf2e0b1bcebd65f", + "x-ms-correlation-request-id": "b41ecd03-d12a-4827-96ae-d1bbac5ed1e8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3975,Microsoft.Compute/LowCostGet30Min;31963", + "x-ms-ratelimit-remaining-subscription-reads": "11937", + "x-ms-request-id": "637b9750-0174-429e-b29f-1b4c68207721", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034346Z:b41ecd03-d12a-4827-96ae-d1bbac5ed1e8" + }, + "ResponseBody": { + "name": "aset-6189", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-765/providers/Microsoft.Compute/availabilitySets/aset-6189", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-765/providers/Microsoft.Compute/availabilitySets/aset-6189?api-version=2022-11-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-304f4a314f6467e54f643f2b0fd4f249-913d9fba27cb5fd5-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4304ddf816aceb4c5dccf2c9a7d74e39", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4304ddf816aceb4c5dccf2c9a7d74e39", + "x-ms-correlation-request-id": "22c29783-5cf3-44d9-8747-2502b2ea44f5", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;200,Microsoft.Compute/PutVM30Min;1136", + "x-ms-ratelimit-remaining-subscription-writes": "1137", + "x-ms-request-id": "0cb65e5a-2130-4f99-bd9c-34a078026f0f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034348Z:22c29783-5cf3-44d9-8747-2502b2ea44f5" + }, + "ResponseBody": { + "name": "aset-6189", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-765/providers/Microsoft.Compute/availabilitySets/aset-6189", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1609726757", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01].json new file mode 100644 index 0000000000000..1f7b047c147ab --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01].json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-637958af0d30c698b03ddf5eb953b9b5-95f7567d055aca5b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7119cd5e90dacca477d7f6e7788388c8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "962bb5e1-9fd3-4a29-b99c-6f9c2368cd9a", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "962bb5e1-9fd3-4a29-b99c-6f9c2368cd9a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092642Z:962bb5e1-9fd3-4a29-b99c-6f9c2368cd9a" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5049?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-21f50effccb99ff64ea6ffebf5f45a52-4235e1f7e3b0ed20-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e9079417434ec96c90981c651f5dec36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f4b41f95-df1b-4a89-a924-6db00ee22975", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "f4b41f95-df1b-4a89-a924-6db00ee22975", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092643Z:f4b41f95-df1b-4a89-a924-6db00ee22975" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5049", + "name": "testRG-5049", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5049/providers/Microsoft.Compute/availabilitySets/aset-9058?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-f99c7c3173d0bf2fb8192e362436b282-f70bd0b8bc59e606-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6d66b610dbcb3c736972bff42d9978bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6d66b610dbcb3c736972bff42d9978bf", + "x-ms-correlation-request-id": "86abc219-086d-4fb1-a3a0-eb1adb3400d7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;233,Microsoft.Compute/PutVM30Min;1193", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "dd56b82d-488b-4a67-b90e-fcfcfaed8843", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092646Z:86abc219-086d-4fb1-a3a0-eb1adb3400d7" + }, + "ResponseBody": { + "name": "aset-9058", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5049/providers/Microsoft.Compute/availabilitySets/aset-9058", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5049/providers/Microsoft.Compute/availabilitySets/aset-9058?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-269c223f4fe72fdd7b1e3c5aa9c62c94-d04215c23ffa2ec0-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c604ee22747fd67f0510ff0bb011b798", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c604ee22747fd67f0510ff0bb011b798", + "x-ms-correlation-request-id": "9c042746-c053-4a97-8798-265c5fb4f47a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "83c385c7-05a2-423b-801a-19928def7b66", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092646Z:9c042746-c053-4a97-8798-265c5fb4f47a" + }, + "ResponseBody": { + "name": "aset-9058", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5049/providers/Microsoft.Compute/availabilitySets/aset-9058", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5049/providers/Microsoft.Compute/availabilitySets/aset-9058?api-version=2023-03-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-269c223f4fe72fdd7b1e3c5aa9c62c94-e2934a2e6102acf3-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d17241fa54613b4e20ca80db84779cf6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d17241fa54613b4e20ca80db84779cf6", + "x-ms-correlation-request-id": "8cc6a899-4548-4111-a08a-6539ee4d4f19", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;232,Microsoft.Compute/PutVM30Min;1192", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "0597019c-c3d0-4626-9209-51e239850cc8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092648Z:8cc6a899-4548-4111-a08a-6539ee4d4f19" + }, + "ResponseBody": { + "name": "aset-9058", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5049/providers/Microsoft.Compute/availabilitySets/aset-9058", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1158741744", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01]Async.json new file mode 100644 index 0000000000000..a1c80b5a815ce --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(False)[2023-03-01]Async.json @@ -0,0 +1,278 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-47a85a2fedaea926a5ee81b81a428b19-665a4a1bb21420a2-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b0d278be07f5cad3352e64af78a78313", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ed50239b-a4e9-43f3-8e2e-54c60d116b21", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "ed50239b-a4e9-43f3-8e2e-54c60d116b21", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092746Z:ed50239b-a4e9-43f3-8e2e-54c60d116b21" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-2866?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-75834ec11b574609f1dc2dd640e5d6a2-97e192b1c411b51c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5a74327200db2038fbbfe2f29ff9e055", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bace6539-f6c0-4434-aa6b-eb959e0f1c6b", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "bace6539-f6c0-4434-aa6b-eb959e0f1c6b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092747Z:bace6539-f6c0-4434-aa6b-eb959e0f1c6b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2866", + "name": "testRG-2866", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2866/providers/Microsoft.Compute/availabilitySets/aset-6714?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-c794505cb656eb4ef88dd3146b066b0e-3833d2d1468c094f-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "edad24d3ec9399317e2c9dda3e774c30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "edad24d3ec9399317e2c9dda3e774c30", + "x-ms-correlation-request-id": "a443d5cb-0551-47de-9823-686ef46587f1", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;225,Microsoft.Compute/PutVM30Min;1185", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "8cf1b24d-18dd-4ad9-a206-ee458adc7073", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092749Z:a443d5cb-0551-47de-9823-686ef46587f1" + }, + "ResponseBody": { + "name": "aset-6714", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2866/providers/Microsoft.Compute/availabilitySets/aset-6714", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2866/providers/Microsoft.Compute/availabilitySets/aset-6714?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f10713069ab3869ce325152e3dfac31d-2bb0ab69e2ad8bf4-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "30dbb1d363bbd19c78d50b14e7428e6a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "30dbb1d363bbd19c78d50b14e7428e6a", + "x-ms-correlation-request-id": "7f83f5c8-b3a9-4205-9896-3f0a45d591a2", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31994", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "8ef0591c-e600-40a7-92a4-a866ce56e6b0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092749Z:7f83f5c8-b3a9-4205-9896-3f0a45d591a2" + }, + "ResponseBody": { + "name": "aset-6714", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2866/providers/Microsoft.Compute/availabilitySets/aset-6714", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2866/providers/Microsoft.Compute/availabilitySets/aset-6714?api-version=2023-03-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-f10713069ab3869ce325152e3dfac31d-309d01f0f6a87b15-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5ed322ce2c65854e00dadcae635ee183", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5ed322ce2c65854e00dadcae635ee183", + "x-ms-correlation-request-id": "779f3455-824c-4c72-ac70-2a3236b82fcf", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;224,Microsoft.Compute/PutVM30Min;1184", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "dd07b3bc-2517-44f3-a18e-202937648f32", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092751Z:779f3455-824c-4c72-ac70-2a3236b82fcf" + }, + "ResponseBody": { + "name": "aset-6714", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2866/providers/Microsoft.Compute/availabilitySets/aset-6714", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1882809536", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01].json new file mode 100644 index 0000000000000..c6bd50651ae72 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01].json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c7950b71db87d04a21438811a27c3b0b-30b18efde8315a93-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d8ca941d12953b865634568fcefded34", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "52ec2a42-a2bb-4358-b4b1-4317cbf09861", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "52ec2a42-a2bb-4358-b4b1-4317cbf09861", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033751Z:52ec2a42-a2bb-4358-b4b1-4317cbf09861" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-3681?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-328f43f0f1383a28da1519462fe2f801-3990276eb3824938-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b71fd4839a251696bad868c49cc0697a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7fb80432-965d-4868-8059-8e0fb91e6a42", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "7fb80432-965d-4868-8059-8e0fb91e6a42", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033753Z:7fb80432-965d-4868-8059-8e0fb91e6a42" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681", + "name": "testRG-3681", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203?api-version=2020-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-b50c7da05524cffe65ca0af27516f009-fc950e7ad6bffd8e-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7bcaae6e2eda683412cb4308ca3667aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7bcaae6e2eda683412cb4308ca3667aa", + "x-ms-correlation-request-id": "e071246e-3991-4a47-8b09-f8a9c8ada8d8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;236,Microsoft.Compute/PutVM30Min;1196", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "6ad8b48e-645d-48e7-aab6-7987543093da", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033756Z:e071246e-3991-4a47-8b09-f8a9c8ada8d8" + }, + "ResponseBody": { + "name": "aset-4203", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c863d6d2951cc5885145cd6be48e7ffb-b61a32c0dc62415c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "97b0b3a565ee306e417e58aed2929896", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:37:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ef6dc18f-eae4-420f-8b28-9a8429f64d16", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "ef6dc18f-eae4-420f-8b28-9a8429f64d16", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033759Z:ef6dc18f-eae4-420f-8b28-9a8429f64d16" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c863d6d2951cc5885145cd6be48e7ffb-b48030d36e212443-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e81ebe70d10f098b3f9a3a5bd685967f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d888d2c4-d670-47ea-8779-72437c4d503d", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "d888d2c4-d670-47ea-8779-72437c4d503d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033759Z:d888d2c4-d670-47ea-8779-72437c4d503d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-c863d6d2951cc5885145cd6be48e7ffb-1f0eff9482134b6e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "76e1ac3227a8e240625cf638bf14d8b2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:38:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f4a25558-53b7-4bb8-b218-96af71c3dda7", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "f4a25558-53b7-4bb8-b218-96af71c3dda7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033801Z:f4a25558-53b7-4bb8-b218-96af71c3dda7" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203?api-version=2020-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c863d6d2951cc5885145cd6be48e7ffb-9c6526b68006c4dc-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "aa272620d6ac49db7d3c85b3db53492b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:38:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "aa272620d6ac49db7d3c85b3db53492b", + "x-ms-correlation-request-id": "7a66c0e4-79fc-40e5-8925-d2a1d87dd7d7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31998", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "79eb9d43-cb1f-4e10-a90e-088f67663dd7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033802Z:7a66c0e4-79fc-40e5-8925-d2a1d87dd7d7" + }, + "ResponseBody": { + "name": "aset-4203", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3681/providers/Microsoft.Compute/availabilitySets/aset-4203", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "570428152", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01]Async.json new file mode 100644 index 0000000000000..5f70ca61f015f --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2020-06-01]Async.json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0086e0d78b393749e0bfa7935f5d5928-72b606dd2b533a79-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5c3ec2b988db899935b33b1bdda0b323", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6d839d15-469c-4e08-8b84-c12a374d04d0", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "6d839d15-469c-4e08-8b84-c12a374d04d0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034147Z:6d839d15-469c-4e08-8b84-c12a374d04d0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7649?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-640a828568e26d5ff09ca25e3fa11446-5528104fb0eb748f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3a0318b1f7e3d88a061da6800186a362", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9b35e4d0-bd3e-4992-aa68-5d59e48f3831", + "x-ms-ratelimit-remaining-subscription-writes": "1169", + "x-ms-request-id": "9b35e4d0-bd3e-4992-aa68-5d59e48f3831", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034147Z:9b35e4d0-bd3e-4992-aa68-5d59e48f3831" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649", + "name": "testRG-7649", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558?api-version=2020-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-5950299d78c0c0501dcb23afe9e2a987-fe391da86ec5c0da-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "73b37a5a119dd2656e321b2254cf549f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "73b37a5a119dd2656e321b2254cf549f", + "x-ms-correlation-request-id": "a0641292-689d-4c2c-bd34-22dc7079a8e0", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;212,Microsoft.Compute/PutVM30Min;1164", + "x-ms-ratelimit-remaining-subscription-writes": "1168", + "x-ms-request-id": "48dfbdc1-61ae-4ea6-b16f-488359845128", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034151Z:a0641292-689d-4c2c-bd34-22dc7079a8e0" + }, + "ResponseBody": { + "name": "aset-6558", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8518a24864f176b0dcb6fae7628ecb5e-eb217d12c588defc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d80b8f217e3646dfd203827ce2b5b2b4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:41:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7844b35e-cecb-4c85-94b9-5d7db620106a", + "x-ms-ratelimit-remaining-subscription-deletes": "14992", + "x-ms-request-id": "7844b35e-cecb-4c85-94b9-5d7db620106a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034154Z:7844b35e-cecb-4c85-94b9-5d7db620106a" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8518a24864f176b0dcb6fae7628ecb5e-b2715dd5c2439f7d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "715e06c8cb7adb2c9b6ca1998fe9efb8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "28d53757-2756-4ba0-a4be-fdb8225849bd", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "28d53757-2756-4ba0-a4be-fdb8225849bd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034154Z:28d53757-2756-4ba0-a4be-fdb8225849bd" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-8518a24864f176b0dcb6fae7628ecb5e-4571b9e0461e992e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d9aa66801b891a2f876b2504b22e6b69", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "205e832a-9b4e-4e41-a359-721d00e14c09", + "x-ms-ratelimit-remaining-subscription-writes": "1167", + "x-ms-request-id": "205e832a-9b4e-4e41-a359-721d00e14c09", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034157Z:205e832a-9b4e-4e41-a359-721d00e14c09" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558?api-version=2020-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8518a24864f176b0dcb6fae7628ecb5e-71847ac030712ac4-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "74301341aabdadadd644ea0fa627296d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "74301341aabdadadd644ea0fa627296d", + "x-ms-correlation-request-id": "42a66b4a-6563-49d5-a79f-107d06447d7e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3984,Microsoft.Compute/LowCostGet30Min;31981", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "6f69c681-6770-4b38-8832-5fb67dbf40c7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034157Z:42a66b4a-6563-49d5-a79f-107d06447d7e" + }, + "ResponseBody": { + "name": "aset-6558", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7649/providers/Microsoft.Compute/availabilitySets/aset-6558", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "951622518", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01].json new file mode 100644 index 0000000000000..d7779d569ab49 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01].json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-6bca21eabc7cccc6ef94c55a5e53a133-e6d38d875440fcf3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "770ff48babf379d6f08f737840a78159", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bd8b9833-2ca5-463d-903f-3c38db8137de", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "bd8b9833-2ca5-463d-903f-3c38db8137de", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033955Z:bd8b9833-2ca5-463d-903f-3c38db8137de" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-2134?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-1f3e2e1b09843f4fc00c75cd69d6ab33-33198a88aece87ca-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8f6614350aaaef0ad6adfafa774672ff", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c1aea968-fcfe-4959-b0da-08fbd823eb2f", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "c1aea968-fcfe-4959-b0da-08fbd823eb2f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033957Z:c1aea968-fcfe-4959-b0da-08fbd823eb2f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134", + "name": "testRG-2134", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-8b71fb23387970617ac6df6e466cf88e-8e738f408981fcc7-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8a95dd7ef429e41964046ff61d4daedc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8a95dd7ef429e41964046ff61d4daedc", + "x-ms-correlation-request-id": "3076f727-c741-439b-9c9d-d07c5ea75e1d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;228,Microsoft.Compute/PutVM30Min;1188", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "245b2707-3a72-426a-bfdc-17ee2aada7d2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034000Z:3076f727-c741-439b-9c9d-d07c5ea75e1d" + }, + "ResponseBody": { + "name": "aset-1166", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-849deb2407670b812900c76dcaf46f71-25978aecb0945b95-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "278353bbfc92054a6d04d5287ef6172c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:40:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "24bc6f8c-d000-4e95-8c05-bf119745eae3", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "24bc6f8c-d000-4e95-8c05-bf119745eae3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034002Z:24bc6f8c-d000-4e95-8c05-bf119745eae3" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-849deb2407670b812900c76dcaf46f71-c9dd949333e451ab-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "243e1dfe4bc3826c93901c251ff1656d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "15b64cad-1eda-458b-80dd-3e8bc441318f", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "15b64cad-1eda-458b-80dd-3e8bc441318f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034003Z:15b64cad-1eda-458b-80dd-3e8bc441318f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-849deb2407670b812900c76dcaf46f71-025fa4cbb7784c9b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ddf042ed0a24111965422b10d1a46a59", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f6a6acb8-0c5b-44d2-b5a3-45bce8498a4f", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "f6a6acb8-0c5b-44d2-b5a3-45bce8498a4f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034005Z:f6a6acb8-0c5b-44d2-b5a3-45bce8498a4f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-849deb2407670b812900c76dcaf46f71-d6907b535447c63a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "57b8bc1cf423f464042cbf801f5bb1ee", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "57b8bc1cf423f464042cbf801f5bb1ee", + "x-ms-correlation-request-id": "c943d227-8662-4c96-9815-203998cb0867", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31993", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "73e4624d-5cc7-4f5b-82e2-2d8c8310bf93", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034005Z:c943d227-8662-4c96-9815-203998cb0867" + }, + "ResponseBody": { + "name": "aset-1166", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2134/providers/Microsoft.Compute/availabilitySets/aset-1166", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "852820376", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01]Async.json new file mode 100644 index 0000000000000..7ba289d1c8e44 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2021-04-01]Async.json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1e766ae45bd708d16dcf4c6e6f87a0d9-e8f7c8f002887c2b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ef761fefadfd289fb77a8ab4b1d1c027", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "874daf02-9e35-4c48-b706-efb0a3458a66", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-request-id": "874daf02-9e35-4c48-b706-efb0a3458a66", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034223Z:874daf02-9e35-4c48-b706-efb0a3458a66" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-315?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-04528c8671eb3b0bc88deb2e1fb13302-575c36cd6de7d197-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "eb610e49bcfc678217b06f57eba41290", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1e1f09d1-c0f9-45e9-a50e-78e042c254cc", + "x-ms-ratelimit-remaining-subscription-writes": "1160", + "x-ms-request-id": "1e1f09d1-c0f9-45e9-a50e-78e042c254cc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034224Z:1e1f09d1-c0f9-45e9-a50e-78e042c254cc" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315", + "name": "testRG-315", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-2fc66573dfdb2bbcd48b9fea008af988-1d1c853a80eaaa85-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5b1a5d24c57fe9d5071246d4ce2f780a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5b1a5d24c57fe9d5071246d4ce2f780a", + "x-ms-correlation-request-id": "ee5a0312-6a7d-4189-ab92-dba84284e665", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;204,Microsoft.Compute/PutVM30Min;1156", + "x-ms-ratelimit-remaining-subscription-writes": "1159", + "x-ms-request-id": "5aeb2d5e-dc86-4f6d-aba3-17d32d63e3e8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034227Z:ee5a0312-6a7d-4189-ab92-dba84284e665" + }, + "ResponseBody": { + "name": "aset-4061", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-940ba74e558510e1a91c002dedf868f6-7f87f32cc4b2ef96-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bdfac9ac032cba236c9696efb8608ee5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:42:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "653c009e-ab13-46cc-9816-33e6914d68ac", + "x-ms-ratelimit-remaining-subscription-deletes": "14990", + "x-ms-request-id": "653c009e-ab13-46cc-9816-33e6914d68ac", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034229Z:653c009e-ab13-46cc-9816-33e6914d68ac" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-940ba74e558510e1a91c002dedf868f6-00c6c8ba81d91f97-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "22aa653755aa2164395feee82ee630a7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ec1feb54-2886-4113-91b8-7effac42a5e5", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-request-id": "ec1feb54-2886-4113-91b8-7effac42a5e5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034229Z:ec1feb54-2886-4113-91b8-7effac42a5e5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-940ba74e558510e1a91c002dedf868f6-e4b24fa347bedef6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ae3260831582cbfd847684b4203a44be", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7e3c06b4-1c95-4d98-8870-6a883e14dba0", + "x-ms-ratelimit-remaining-subscription-writes": "1158", + "x-ms-request-id": "7e3c06b4-1c95-4d98-8870-6a883e14dba0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034231Z:7e3c06b4-1c95-4d98-8870-6a883e14dba0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-940ba74e558510e1a91c002dedf868f6-a061cf0745004b2c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "15653c47ea7b226567de9e33d1af01ff", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "451", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "15653c47ea7b226567de9e33d1af01ff", + "x-ms-correlation-request-id": "e5183893-00c8-4208-b254-d2e9b2caa1dc", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3980,Microsoft.Compute/LowCostGet30Min;31974", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-request-id": "df4db175-e0fa-4b26-9593-9e810a9611ef", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034232Z:e5183893-00c8-4208-b254-d2e9b2caa1dc" + }, + "ResponseBody": { + "name": "aset-4061", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-315/providers/Microsoft.Compute/availabilitySets/aset-4061", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1635293425", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01].json new file mode 100644 index 0000000000000..484bcbec1ed71 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01].json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-828fcc3a1a36289da209443f254a7341-f3fe96e6624e5cda-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e835569127cc430212adfc41830bc863", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "686eaa21-2d06-4ffe-b614-fd3071f782ff", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "686eaa21-2d06-4ffe-b614-fd3071f782ff", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034037Z:686eaa21-2d06-4ffe-b614-fd3071f782ff" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7248?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-3dcf0c40098caf4aa8adba8a80193060-1bf7e15e445e5850-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "752e8da905f30acbdb428da88fb61a2e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0c2a8aff-4491-4357-ac88-80ce8e01c32d", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-request-id": "0c2a8aff-4491-4357-ac88-80ce8e01c32d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034038Z:0c2a8aff-4491-4357-ac88-80ce8e01c32d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248", + "name": "testRG-7248", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436?api-version=2022-08-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-a43915479401700d0272542c7dbb5078-af7784b2a20f1306-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "94241c8c8850ede4475f693d5349f2d3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "94241c8c8850ede4475f693d5349f2d3", + "x-ms-correlation-request-id": "7cfc10f4-68ca-4278-bb00-58528840ffd5", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;225,Microsoft.Compute/PutVM30Min;1180", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "c921eb39-12ba-4c31-a56b-8deea015dd25", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034041Z:7cfc10f4-68ca-4278-bb00-58528840ffd5" + }, + "ResponseBody": { + "name": "aset-5436", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8a8bcaafe4b7cffedc26261f8b1755a1-5ecc26450102b938-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ddc48f2d1cc930631dc14cc0b56a1d45", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:40:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e5c2cd3e-e011-4ad3-83c0-caeac2b8b2f0", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "e5c2cd3e-e011-4ad3-83c0-caeac2b8b2f0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034044Z:e5c2cd3e-e011-4ad3-83c0-caeac2b8b2f0" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8a8bcaafe4b7cffedc26261f8b1755a1-32301bbe565505d6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ff7aba4f3cf27065b9f4768e3c2337dd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bb0572e7-6943-496c-b823-9e2e0e83ff3c", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "bb0572e7-6943-496c-b823-9e2e0e83ff3c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034044Z:bb0572e7-6943-496c-b823-9e2e0e83ff3c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-8a8bcaafe4b7cffedc26261f8b1755a1-f73313139e9f409c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fe16234147c9999481a33488eece9390", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "23698614-0604-4619-8461-943289691824", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-request-id": "23698614-0604-4619-8461-943289691824", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034047Z:23698614-0604-4619-8461-943289691824" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436?api-version=2022-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8a8bcaafe4b7cffedc26261f8b1755a1-223c20a1f63352b3-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7853500ab87608c826e17e4e08dc81eb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7853500ab87608c826e17e4e08dc81eb", + "x-ms-correlation-request-id": "03f312bc-fb42-4928-bb16-137a5f59d6a7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31989", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "441f0bb0-560a-428c-86bd-d3d5f4bf997c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034048Z:03f312bc-fb42-4928-bb16-137a5f59d6a7" + }, + "ResponseBody": { + "name": "aset-5436", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7248/providers/Microsoft.Compute/availabilitySets/aset-5436", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "131616015", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01]Async.json new file mode 100644 index 0000000000000..82336ae39f09d --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-08-01]Async.json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0a98872bd12f814b748c5905aa260e8c-47f68c33c215e314-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4285f555536072e5f528631c0d87c3a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "db923978-bf22-46d3-bd8a-46b356192635", + "x-ms-ratelimit-remaining-subscription-reads": "11950", + "x-ms-request-id": "db923978-bf22-46d3-bd8a-46b356192635", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034256Z:db923978-bf22-46d3-bd8a-46b356192635" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-1742?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-6366377b46d63b9174a83755692dc254-3049185e595b83fd-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0089109bae89bc163757ffea47f4d386", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "26f4e2c6-7813-4158-ac97-f61a107f8778", + "x-ms-ratelimit-remaining-subscription-writes": "1151", + "x-ms-request-id": "26f4e2c6-7813-4158-ac97-f61a107f8778", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034257Z:26f4e2c6-7813-4158-ac97-f61a107f8778" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742", + "name": "testRG-1742", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778?api-version=2022-08-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-de4ece1aa93a365d9c7412e3e424aa2b-0e472a9b8e01c668-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "edda1a8b9cebfc58deeebf6c10547208", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "edda1a8b9cebfc58deeebf6c10547208", + "x-ms-correlation-request-id": "2592b21e-c25a-4e55-958c-1d362e39fac3", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;206,Microsoft.Compute/PutVM30Min;1148", + "x-ms-ratelimit-remaining-subscription-writes": "1150", + "x-ms-request-id": "3e7b84c9-eaff-4b52-bb7f-691b058dd55a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034301Z:2592b21e-c25a-4e55-958c-1d362e39fac3" + }, + "ResponseBody": { + "name": "aset-3778", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4f9ee049b97a0bbc15d33cf3e3c4034d-5ad9d91be4b0bd16-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "200e32f655a9d76c2ba41c8e730ae06f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:43:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "22171f2a-611f-4edb-b55e-0fc465466bb2", + "x-ms-ratelimit-remaining-subscription-deletes": "14988", + "x-ms-request-id": "22171f2a-611f-4edb-b55e-0fc465466bb2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034303Z:22171f2a-611f-4edb-b55e-0fc465466bb2" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4f9ee049b97a0bbc15d33cf3e3c4034d-a5078546d668e91a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "15f4f6e4b3e536dcae02c1477fca89d3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "35596b99-2033-477e-8031-87d5d4ea11aa", + "x-ms-ratelimit-remaining-subscription-reads": "11949", + "x-ms-request-id": "35596b99-2033-477e-8031-87d5d4ea11aa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034303Z:35596b99-2033-477e-8031-87d5d4ea11aa" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-4f9ee049b97a0bbc15d33cf3e3c4034d-bc36b5c7f86aaa87-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8923500dca58d83c620f681c33d1e981", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "51c3de59-2761-40ac-9a2e-73659ce0f255", + "x-ms-ratelimit-remaining-subscription-writes": "1149", + "x-ms-request-id": "51c3de59-2761-40ac-9a2e-73659ce0f255", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034306Z:51c3de59-2761-40ac-9a2e-73659ce0f255" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778?api-version=2022-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4f9ee049b97a0bbc15d33cf3e3c4034d-ff702d0e8f85b4bf-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9e8d4e032287198ab91bb2d64abf03dc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9e8d4e032287198ab91bb2d64abf03dc", + "x-ms-correlation-request-id": "4f8b35b2-fcfe-414f-8e8b-e98f2bcc1c7d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3978,Microsoft.Compute/LowCostGet30Min;31969", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-request-id": "a8702071-56dd-4cd2-a9d6-84a3b6522f25", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034307Z:4f8b35b2-fcfe-414f-8e8b-e98f2bcc1c7d" + }, + "ResponseBody": { + "name": "aset-3778", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1742/providers/Microsoft.Compute/availabilitySets/aset-3778", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1767246562", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01].json new file mode 100644 index 0000000000000..fa447dfab7924 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01].json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-240337fd7370aca9677f9fc8ebad9a35-e35e321957f1f85b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2db22a04dbaaba393c0e52707d65b122", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a30a5368-fbbc-4b2d-844d-b5c8b56c14e8", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "a30a5368-fbbc-4b2d-844d-b5c8b56c14e8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034113Z:a30a5368-fbbc-4b2d-844d-b5c8b56c14e8" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7672?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-65ce988963e60d432824f49e14588793-0a3488afd75fd88e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fca9f2a5fe94bf88ae8ce7a0f4555915", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f3a02f4f-a8cc-4aad-8a3e-c89000f60b54", + "x-ms-ratelimit-remaining-subscription-writes": "1178", + "x-ms-request-id": "f3a02f4f-a8cc-4aad-8a3e-c89000f60b54", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034113Z:f3a02f4f-a8cc-4aad-8a3e-c89000f60b54" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672", + "name": "testRG-7672", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348?api-version=2022-11-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-1e674039366318dcf131ba1b3e6b0c9a-0204e900ef500f6e-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "48385718f8b8b5e0016b7c87b8451232", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "48385718f8b8b5e0016b7c87b8451232", + "x-ms-correlation-request-id": "200c1e9e-9372-49f9-9f32-38152b6e504a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;220,Microsoft.Compute/PutVM30Min;1172", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-request-id": "0390849b-9a08-4788-bfb0-5eab70ed1996", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034117Z:200c1e9e-9372-49f9-9f32-38152b6e504a" + }, + "ResponseBody": { + "name": "aset-5348", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-190fe62a6e0f1164b1397a5bc79e0451-f23dfc2775181e58-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ff5476970837b496a5eb2cadd29c1afc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:41:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "da2fdc36-4d62-4cd3-ac8b-e246789d627d", + "x-ms-ratelimit-remaining-subscription-deletes": "14994", + "x-ms-request-id": "da2fdc36-4d62-4cd3-ac8b-e246789d627d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034119Z:da2fdc36-4d62-4cd3-ac8b-e246789d627d" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-190fe62a6e0f1164b1397a5bc79e0451-75d009f8e7c5d5af-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7d08b5795a0010ddc183a3cdcb32e365", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fa73388c-4b00-42ca-8c28-196bdac7ad86", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "fa73388c-4b00-42ca-8c28-196bdac7ad86", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034120Z:fa73388c-4b00-42ca-8c28-196bdac7ad86" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-190fe62a6e0f1164b1397a5bc79e0451-2d0e68c874404082-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "50708051b8f92e4765a7ed430d6d32a4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bcd2cd87-7ab2-4358-b50b-69126c155037", + "x-ms-ratelimit-remaining-subscription-writes": "1176", + "x-ms-request-id": "bcd2cd87-7ab2-4358-b50b-69126c155037", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034122Z:bcd2cd87-7ab2-4358-b50b-69126c155037" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348?api-version=2022-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-190fe62a6e0f1164b1397a5bc79e0451-265dc07e6d582162-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "01d89510b690c06f6ed917596c9a0254", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "01d89510b690c06f6ed917596c9a0254", + "x-ms-correlation-request-id": "4c449e93-22ef-49d0-9024-dba0aac8c98a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3989,Microsoft.Compute/LowCostGet30Min;31986", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "02a51e8f-0fd8-4a72-a9f1-2e7fb64a075b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034122Z:4c449e93-22ef-49d0-9024-dba0aac8c98a" + }, + "ResponseBody": { + "name": "aset-5348", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7672/providers/Microsoft.Compute/availabilitySets/aset-5348", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "431577160", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01]Async.json new file mode 100644 index 0000000000000..39b30aa5bd998 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2022-11-01]Async.json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3ca45f7ae750d3fef0be134b93c00fe5-15d7c5ec37d01391-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ab731a357486ebc2e0bbdf5e6fcea53f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "84ba2db7-ba84-462f-b510-d2c01f2b639e", + "x-ms-ratelimit-remaining-subscription-reads": "11941", + "x-ms-request-id": "84ba2db7-ba84-462f-b510-d2c01f2b639e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034330Z:84ba2db7-ba84-462f-b510-d2c01f2b639e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7140?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-43b8bd0553ac9aaf01980c46c64102b5-b8223deed73fa651-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7977de6926c7be7b0293dcce717d56da", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f74d6c58-1216-4ba8-b99a-cd067a781ae0", + "x-ms-ratelimit-remaining-subscription-writes": "1142", + "x-ms-request-id": "f74d6c58-1216-4ba8-b99a-cd067a781ae0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034330Z:f74d6c58-1216-4ba8-b99a-cd067a781ae0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140", + "name": "testRG-7140", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140?api-version=2022-11-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-ca8b9a8d648eac7682725d6ca1fb97b2-c4ca55f9a7dd943a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3bb6162e7d90c3090a73228b5ad45192", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3bb6162e7d90c3090a73228b5ad45192", + "x-ms-correlation-request-id": "97e75238-deb5-444d-8fe5-16f08c4fa07b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;204,Microsoft.Compute/PutVM30Min;1140", + "x-ms-ratelimit-remaining-subscription-writes": "1141", + "x-ms-request-id": "9044693c-8b13-4e84-ae41-8191c822fb2a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034333Z:97e75238-deb5-444d-8fe5-16f08c4fa07b" + }, + "ResponseBody": { + "name": "aset-9140", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e0d9cd0b67df8b7726584da622ca291d-2519e0668a15b0c5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "605541d6bcd64d5230c8722f0f124a62", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:43:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "614dd151-5739-485e-8c63-ef3363fe63dd", + "x-ms-ratelimit-remaining-subscription-deletes": "14986", + "x-ms-request-id": "614dd151-5739-485e-8c63-ef3363fe63dd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034336Z:614dd151-5739-485e-8c63-ef3363fe63dd" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e0d9cd0b67df8b7726584da622ca291d-96258499f2480d0a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2ff74942f5277103c3690ac80bdab4f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ffe777e2-2d15-48ef-93e6-288b3259f05d", + "x-ms-ratelimit-remaining-subscription-reads": "11940", + "x-ms-request-id": "ffe777e2-2d15-48ef-93e6-288b3259f05d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034336Z:ffe777e2-2d15-48ef-93e6-288b3259f05d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-e0d9cd0b67df8b7726584da622ca291d-f22d396f8a5dca3b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c584bf29c1343408256a8c224efe4941", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "154abd6a-e066-4c51-af7b-c36dcc856fb8", + "x-ms-ratelimit-remaining-subscription-writes": "1140", + "x-ms-request-id": "154abd6a-e066-4c51-af7b-c36dcc856fb8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034338Z:154abd6a-e066-4c51-af7b-c36dcc856fb8" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140?api-version=2022-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e0d9cd0b67df8b7726584da622ca291d-e8677fabf76ea9a4-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "442a75ff9d6b80f840c209bd69e023c4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "442a75ff9d6b80f840c209bd69e023c4", + "x-ms-correlation-request-id": "537ec7d7-3b00-4d3a-aa4e-cec912e56714", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3976,Microsoft.Compute/LowCostGet30Min;31964", + "x-ms-ratelimit-remaining-subscription-reads": "11939", + "x-ms-request-id": "1c29a94b-d6e0-4651-baf7-b5dac8249222", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034339Z:537ec7d7-3b00-4d3a-aa4e-cec912e56714" + }, + "ResponseBody": { + "name": "aset-9140", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7140/providers/Microsoft.Compute/availabilitySets/aset-9140", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1004302638", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01].json new file mode 100644 index 0000000000000..96c727376bfeb --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01].json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8695718791af9fdea46b881db0bd09cd-7ce4e9ce6b95bb69-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e664485b29b1f635a3cb0f2c83ae2a8b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ae104fdf-f1cf-4050-ba61-342c0a086630", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "ae104fdf-f1cf-4050-ba61-342c0a086630", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092629Z:ae104fdf-f1cf-4050-ba61-342c0a086630" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-3696?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-0edf4b3a251b2dbcedace7d7b9d04786-15faf718beb48394-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "26d1dc31e2ea76a602d239b94435ff24", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5952f54c-f196-447e-8741-c66ae556da45", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "5952f54c-f196-447e-8741-c66ae556da45", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092631Z:5952f54c-f196-447e-8741-c66ae556da45" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696", + "name": "testRG-3696", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-83dcde8069298837fed9ada8283f633a-60ef7a8fee7bfd5f-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1ea5772969b58792766b796d8c894cb5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1ea5772969b58792766b796d8c894cb5", + "x-ms-correlation-request-id": "d844e534-caee-4907-b15e-a1fd14e81824", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;236,Microsoft.Compute/PutVM30Min;1196", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "9b90f90e-bb9f-4723-86a5-d991d5c5898e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092634Z:d844e534-caee-4907-b15e-a1fd14e81824" + }, + "ResponseBody": { + "name": "aset-5286", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a38d029d0d52649f78db12fe2be18ed3-16c714d2ad1f0226-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d52c327235ea815d403a2662bde986d9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:26:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "292b6cd3-2c6c-4804-b6eb-c98096ad0f06", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "292b6cd3-2c6c-4804-b6eb-c98096ad0f06", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092635Z:292b6cd3-2c6c-4804-b6eb-c98096ad0f06" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a38d029d0d52649f78db12fe2be18ed3-34bf6a2072329d3a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "124784862908f43a1923dd7a432fca8c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00eecbe2-8f8b-424b-91a7-05882de00007", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "00eecbe2-8f8b-424b-91a7-05882de00007", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092636Z:00eecbe2-8f8b-424b-91a7-05882de00007" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-a38d029d0d52649f78db12fe2be18ed3-9b92aefb7c7b3981-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2d40a0e5980441ce77648ba085de1807", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "97202405-6582-49f0-bbb7-9bd5a19183b3", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "97202405-6582-49f0-bbb7-9bd5a19183b3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092638Z:97202405-6582-49f0-bbb7-9bd5a19183b3" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a38d029d0d52649f78db12fe2be18ed3-4c92dd6109e9fb75-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c8992280bcf7ed74b6059aa49e9a6f3b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c8992280bcf7ed74b6059aa49e9a6f3b", + "x-ms-correlation-request-id": "58598d0a-e413-4c15-8746-b2718789c047", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31998", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "8e6009bc-974f-44ad-98e8-b6a7ea374a56", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092638Z:58598d0a-e413-4c15-8746-b2718789c047" + }, + "ResponseBody": { + "name": "aset-5286", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3696/providers/Microsoft.Compute/availabilitySets/aset-5286", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "2133107532", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01]Async.json new file mode 100644 index 0000000000000..8f36cf23af2ec --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(True)[2023-03-01]Async.json @@ -0,0 +1,331 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-bf25d2f4c30c6a1715cd53e1f1d34c6b-78fbc44af1fa4494-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d4e989e3cc023796cf2f13f889a3f8e6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0afbce4b-2e65-4337-a3b0-1aebd61f0ae3", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "0afbce4b-2e65-4337-a3b0-1aebd61f0ae3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092732Z:0afbce4b-2e65-4337-a3b0-1aebd61f0ae3" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5139?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-411db33d68add2419391dd44d335fdd8-0cf897c6a1766f1b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "50041182314035b07a7a34684fa31c46", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "27df684d-2b04-49e0-bc6f-2700deb179fd", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "27df684d-2b04-49e0-bc6f-2700deb179fd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092734Z:27df684d-2b04-49e0-bc6f-2700deb179fd" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139", + "name": "testRG-5139", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-f444d994b6f9b716d083a04ac5a6635d-18ad027137c5a6ba-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1c8fdc679f6b26aa76a3c2e7c3f86c81", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1c8fdc679f6b26aa76a3c2e7c3f86c81", + "x-ms-correlation-request-id": "d565886a-b87a-45b7-bf59-317c45540a92", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;228,Microsoft.Compute/PutVM30Min;1188", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "1440ca82-8393-4c6a-8f76-09c9183b6449", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092736Z:d565886a-b87a-45b7-bf59-317c45540a92" + }, + "ResponseBody": { + "name": "aset-4463", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-41ea7da919dea224a9a673f3089a4cc2-d08a57190d4c8ad7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e48788259234b84823cc521b0267e06f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:27:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6da4dd32-5365-466c-ae9b-9cf75e017576", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "6da4dd32-5365-466c-ae9b-9cf75e017576", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092738Z:6da4dd32-5365-466c-ae9b-9cf75e017576" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-41ea7da919dea224a9a673f3089a4cc2-be58ff9698fabf2b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c643b20e381cd41193d7f99e4d8e230f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "92682cf9-9c86-4c20-8f62-bce3718931b6", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "92682cf9-9c86-4c20-8f62-bce3718931b6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092738Z:92682cf9-9c86-4c20-8f62-bce3718931b6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-41ea7da919dea224a9a673f3089a4cc2-0845bfc78ed3dce4-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7f0b52c250bc972a22a47d57b9ab485a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d5a33bbf-45d1-404c-bf3f-2d5276bee96c", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "d5a33bbf-45d1-404c-bf3f-2d5276bee96c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092740Z:d5a33bbf-45d1-404c-bf3f-2d5276bee96c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-41ea7da919dea224a9a673f3089a4cc2-b86226efc4cd3acc-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1cdacabaf2bdbdc588aba478bbba1ae8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1cdacabaf2bdbdc588aba478bbba1ae8", + "x-ms-correlation-request-id": "c36adc9c-6af5-4f29-a9c8-7b9f0062f17b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31995", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "27e1ce29-54b2-4ed0-bbfa-bf7b7439cd9e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092741Z:c36adc9c-6af5-4f29-a9c8-7b9f0062f17b" + }, + "ResponseBody": { + "name": "aset-4463", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5139/providers/Microsoft.Compute/availabilitySets/aset-4463", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1001925198", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01].json new file mode 100644 index 0000000000000..993288fb57c42 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01].json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-7e695db39ca7461aeb68b0f8bc362984-ab38dafdc62bf776-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "57afea8c0c1f64b0d248343c98f31f25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "32d9d79e-a604-4d44-9b50-8aa0d7cbcee7", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "32d9d79e-a604-4d44-9b50-8aa0d7cbcee7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033728Z:32d9d79e-a604-4d44-9b50-8aa0d7cbcee7" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-728?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-799fcf8f663e043c74bc862618629847-5a94075c0f545769-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0283d14a369e922c0b032c7cb49d3ea2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e7f00285-75b0-4fbb-a914-a9d6e8392b33", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "e7f00285-75b0-4fbb-a914-a9d6e8392b33", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033732Z:e7f00285-75b0-4fbb-a914-a9d6e8392b33" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728", + "name": "testRG-728", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156?api-version=2020-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-8d62365386e46ffe81ce8973e10db6dd-6b0fa2e2ba842dde-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b57709736b55dadb6c714647e6ca4ec5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b57709736b55dadb6c714647e6ca4ec5", + "x-ms-correlation-request-id": "ff7aa02f-c950-4346-a839-9af4f5beba4e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1199", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "edaf33af-a1c7-4ba9-8b28-44b7cdc9eb5e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033737Z:ff7aa02f-c950-4346-a839-9af4f5beba4e" + }, + "ResponseBody": { + "name": "aset-5156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-aa03135218abbdb7d5d0c9a96b01a8f1-236b53329a6e5d98-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0f3f6d2e8924794b2b8d01ad37559497", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "119124c7-3e8f-409d-8210-d14d6120b6e4", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "119124c7-3e8f-409d-8210-d14d6120b6e4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033738Z:119124c7-3e8f-409d-8210-d14d6120b6e4" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-aa03135218abbdb7d5d0c9a96b01a8f1-8a194fbd9ae780bc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1680f5fd3baddeddf6a8962df0e4ab41", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:37:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "06026a1e-3e3d-4e50-a773-0d67ec429b18", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "06026a1e-3e3d-4e50-a773-0d67ec429b18", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033741Z:06026a1e-3e3d-4e50-a773-0d67ec429b18" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-aa03135218abbdb7d5d0c9a96b01a8f1-5e082a5b9d6c9162-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f04aafdc384af2179060197bf31e8946", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "abf6d6ed-275b-4a11-a70d-6d40dd7ba92c", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "abf6d6ed-275b-4a11-a70d-6d40dd7ba92c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033741Z:abf6d6ed-275b-4a11-a70d-6d40dd7ba92c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-aa03135218abbdb7d5d0c9a96b01a8f1-9106f04c57f0ab87-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cff9c0e14d06cd38779759afb01574c8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9d0420d8-817e-4ccb-bdce-601ab9d2e661", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "9d0420d8-817e-4ccb-bdce-601ab9d2e661", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033743Z:9d0420d8-817e-4ccb-bdce-601ab9d2e661" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156?api-version=2020-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-aa03135218abbdb7d5d0c9a96b01a8f1-9dab6be4ba8f3c5a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "aae64475d4348e0f767c78b2df68417b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "451", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "aae64475d4348e0f767c78b2df68417b", + "x-ms-correlation-request-id": "8995faf7-2a44-4dbf-8104-0f925294e579", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31999", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "cd05c443-c9d6-48e7-904f-42eecbb3fd74", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033744Z:8995faf7-2a44-4dbf-8104-0f925294e579" + }, + "ResponseBody": { + "name": "aset-5156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-728/providers/Microsoft.Compute/availabilitySets/aset-5156", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "42325138", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01]Async.json new file mode 100644 index 0000000000000..90f02634d2d9f --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2020-06-01]Async.json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0fd75fb0abd152344402103e17aaaf93-34954a2ac33c2d17-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0fdf0d3edd40b117b9404fa4205e5fd8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "60e9b1ba-ae37-432a-9f04-4002f50f0653", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "60e9b1ba-ae37-432a-9f04-4002f50f0653", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034135Z:60e9b1ba-ae37-432a-9f04-4002f50f0653" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-8933?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-a23e03272681ada19f0867edef54ebe7-7ca2b3e6f0e902c0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b6d02e167b5d0d2a818a933224ee2fa6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f13ac87b-2991-4886-9196-cdeb38de773d", + "x-ms-ratelimit-remaining-subscription-writes": "1172", + "x-ms-request-id": "f13ac87b-2991-4886-9196-cdeb38de773d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034135Z:f13ac87b-2991-4886-9196-cdeb38de773d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933", + "name": "testRG-8933", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340?api-version=2020-06-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-c990d94953740720c2305d3c995c9da4-79205ddf9c8fd884-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6e9cfc092e5d4d2a9cb42938b2b55414", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "422", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6e9cfc092e5d4d2a9cb42938b2b55414", + "x-ms-correlation-request-id": "cfa8b827-8350-44ee-9b85-b9ced2776b3a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;215,Microsoft.Compute/PutVM30Min;1167", + "x-ms-ratelimit-remaining-subscription-writes": "1171", + "x-ms-request-id": "511238c0-747d-4da0-b21e-c989fa279c1d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034138Z:cfa8b827-8350-44ee-9b85-b9ced2776b3a" + }, + "ResponseBody": { + "name": "aset-340", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d8af2d184d6fe85ef33107326a616dc5-7d84d2b4c90e7455-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fbbe18a3882664afe4335b8c1d871c61", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "160fd071-0644-45f3-8099-af0b2eccab28", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "160fd071-0644-45f3-8099-af0b2eccab28", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034139Z:160fd071-0644-45f3-8099-af0b2eccab28" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d8af2d184d6fe85ef33107326a616dc5-2617b7c2297aa880-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "63557975c83ce8d6048319a952f25bcc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:41:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e3a78472-3af7-4a0f-8044-9ae24a7e90c7", + "x-ms-ratelimit-remaining-subscription-deletes": "14993", + "x-ms-request-id": "e3a78472-3af7-4a0f-8044-9ae24a7e90c7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034141Z:e3a78472-3af7-4a0f-8044-9ae24a7e90c7" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d8af2d184d6fe85ef33107326a616dc5-c2a3c0cbde032fff-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "38c3c898f160dbd741d6f6a36e0611f2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8e4f64dd-f94e-4742-816d-e469bb38d110", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "8e4f64dd-f94e-4742-816d-e469bb38d110", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034141Z:8e4f64dd-f94e-4742-816d-e469bb38d110" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-d8af2d184d6fe85ef33107326a616dc5-beb756dbfc741c5b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9d578fd80ff84031fad417033eac1567", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c08a4932-2bda-4f5b-b62c-c8d21e780e37", + "x-ms-ratelimit-remaining-subscription-writes": "1170", + "x-ms-request-id": "c08a4932-2bda-4f5b-b62c-c8d21e780e37", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034144Z:c08a4932-2bda-4f5b-b62c-c8d21e780e37" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340?api-version=2020-06-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d8af2d184d6fe85ef33107326a616dc5-e3160a642d60999c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "435197269246881c97823e8cdad49d94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "435197269246881c97823e8cdad49d94", + "x-ms-correlation-request-id": "351e5c92-b5c4-4ff1-9972-9ad343a6d87d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3985,Microsoft.Compute/LowCostGet30Min;31982", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "5c2afd48-da05-4959-8901-fd223580fe89", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034144Z:351e5c92-b5c4-4ff1-9972-9ad343a6d87d" + }, + "ResponseBody": { + "name": "aset-340", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8933/providers/Microsoft.Compute/availabilitySets/aset-340", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "262401354", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01].json new file mode 100644 index 0000000000000..3a9eb6f90d5b8 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01].json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c22bf184fe32731d2f9449e6cc78477b-7a6903cb37f740cf-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2ce63bc354b1da89bf92161c0c97b1be", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1fc2a241-3a1b-4d9d-97e0-b46af6c76d08", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "1fc2a241-3a1b-4d9d-97e0-b46af6c76d08", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033930Z:1fc2a241-3a1b-4d9d-97e0-b46af6c76d08" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5625?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-99a45dbe3dc253793127dd7e714552fc-616f27e72d6ddddb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3c577cbe785eb47bda66d5b643a6f22c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3aaea2f8-ab6a-40b6-abc3-aa02d54360b4", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "3aaea2f8-ab6a-40b6-abc3-aa02d54360b4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033934Z:3aaea2f8-ab6a-40b6-abc3-aa02d54360b4" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625", + "name": "testRG-5625", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-76448c862b8b681bf64061a25cb9d1f3-4e1d027a1612c778-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a6293607da094e5303563bed7dc45f07", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a6293607da094e5303563bed7dc45f07", + "x-ms-correlation-request-id": "f72c7991-098d-40ba-bc45-668186461a75", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;231,Microsoft.Compute/PutVM30Min;1191", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "a66218de-1e8d-4b11-89b2-7fe17211b37c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033942Z:f72c7991-098d-40ba-bc45-668186461a75" + }, + "ResponseBody": { + "name": "aset-7040", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f095d6588b6c298563c20b666f17be03-3b91debd9ec78314-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b10a22ba86786dddb0fd7a2305094f70", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e2b9d0fe-9821-4e33-94db-7167c5aab11c", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "e2b9d0fe-9821-4e33-94db-7167c5aab11c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033943Z:e2b9d0fe-9821-4e33-94db-7167c5aab11c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f095d6588b6c298563c20b666f17be03-699aa5f8ceaf54e2-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7b8fdf2a2695e3d5290939083c8d3616", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:39:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "aacffcdc-72c2-429f-8505-f5026d441695", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "aacffcdc-72c2-429f-8505-f5026d441695", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033946Z:aacffcdc-72c2-429f-8505-f5026d441695" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f095d6588b6c298563c20b666f17be03-c37b42e7835f72f9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9ec3cb06e33493724d26886f4dd43123", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3b626590-0abb-429e-a8ed-617dd839ebad", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "3b626590-0abb-429e-a8ed-617dd839ebad", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033946Z:3b626590-0abb-429e-a8ed-617dd839ebad" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-f095d6588b6c298563c20b666f17be03-8697cf276becaf0f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "371b63c72e0de9d52a0e22d931c983f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e7c87a51-2b45-48e2-a3cd-cce652353c04", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "e7c87a51-2b45-48e2-a3cd-cce652353c04", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033948Z:e7c87a51-2b45-48e2-a3cd-cce652353c04" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f095d6588b6c298563c20b666f17be03-00db9912c62db202-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fc44d18a1114d8edf5da7326c0996283", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:39:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "fc44d18a1114d8edf5da7326c0996283", + "x-ms-correlation-request-id": "ac344823-2f5d-4838-9b73-05c7a3d3778d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31995", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "a1987c6f-0748-418b-bb34-f7dafb9a2677", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033949Z:ac344823-2f5d-4838-9b73-05c7a3d3778d" + }, + "ResponseBody": { + "name": "aset-7040", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5625/providers/Microsoft.Compute/availabilitySets/aset-7040", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "976412572", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01]Async.json new file mode 100644 index 0000000000000..0942b16920f37 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2021-04-01]Async.json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b836d3855d091483eacc1556d2667d7a-0c72782fda8f6361-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0240ca078709b585d988441188a75d57", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "466c07a8-8ea7-4549-bd77-d8c5c7e1b3b5", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-request-id": "466c07a8-8ea7-4549-bd77-d8c5c7e1b3b5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034209Z:466c07a8-8ea7-4549-bd77-d8c5c7e1b3b5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-122?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-fba9ea18b07c5ded2d5dccc366d0ba7d-674b3c5e48d39f48-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6f431b0b833041a7b6a9492356e55448", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2a431be7-0aca-4e63-95f0-414b400557f1", + "x-ms-ratelimit-remaining-subscription-writes": "1163", + "x-ms-request-id": "2a431be7-0aca-4e63-95f0-414b400557f1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034209Z:2a431be7-0aca-4e63-95f0-414b400557f1" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122", + "name": "testRG-122", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-ded930671fe3f79313eac5933d74434c-3392881135a44b0e-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c97b784c842d330205505d0a3c845457", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c97b784c842d330205505d0a3c845457", + "x-ms-correlation-request-id": "d6125b9f-04d4-4053-afc2-18ffb6985b01", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;207,Microsoft.Compute/PutVM30Min;1159", + "x-ms-ratelimit-remaining-subscription-writes": "1162", + "x-ms-request-id": "5806b761-a38c-4937-acfe-26dd3dcc4329", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034213Z:d6125b9f-04d4-4053-afc2-18ffb6985b01" + }, + "ResponseBody": { + "name": "aset-8524", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1b3c9d1fa30b3b971f6fd6dc56e51511-24b801222f2177d4-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6176d325982ebc9a5bc8d1db6bb5315f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0bfd830b-3150-41a2-9c0e-e273cb0f00db", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-request-id": "0bfd830b-3150-41a2-9c0e-e273cb0f00db", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034213Z:0bfd830b-3150-41a2-9c0e-e273cb0f00db" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1b3c9d1fa30b3b971f6fd6dc56e51511-f5a78d286918ae72-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e55a3fbce0db87e6180f69df259c0531", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:42:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e132079c-28f1-4d2d-a1ce-d9a8398b01cf", + "x-ms-ratelimit-remaining-subscription-deletes": "14991", + "x-ms-request-id": "e132079c-28f1-4d2d-a1ce-d9a8398b01cf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034215Z:e132079c-28f1-4d2d-a1ce-d9a8398b01cf" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1b3c9d1fa30b3b971f6fd6dc56e51511-e55f81b0b40a1049-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fc4efe1e6f29457cedef491f2eba96be", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c7191f91-548e-4a2f-af3d-8d891975be58", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-request-id": "c7191f91-548e-4a2f-af3d-8d891975be58", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034215Z:c7191f91-548e-4a2f-af3d-8d891975be58" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-1b3c9d1fa30b3b971f6fd6dc56e51511-a0ced805ce829755-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "79879fc2aeb7c9ef26a6071c7281d5f1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1f168a2f-4a09-4307-b7e4-6a0ba30c26ae", + "x-ms-ratelimit-remaining-subscription-writes": "1161", + "x-ms-request-id": "1f168a2f-4a09-4307-b7e4-6a0ba30c26ae", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034217Z:1f168a2f-4a09-4307-b7e4-6a0ba30c26ae" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1b3c9d1fa30b3b971f6fd6dc56e51511-5fe4cbfdf3794811-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "12a2af274e9f6f990e84d683685fd26b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "451", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "12a2af274e9f6f990e84d683685fd26b", + "x-ms-correlation-request-id": "a27264fc-0421-4045-887b-b684a8da7ee7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3980,Microsoft.Compute/LowCostGet30Min;31977", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-request-id": "346835d8-e36c-48c4-abc2-2ee4b553f9b5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034218Z:a27264fc-0421-4045-887b-b684a8da7ee7" + }, + "ResponseBody": { + "name": "aset-8524", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-122/providers/Microsoft.Compute/availabilitySets/aset-8524", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1686113764", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01].json new file mode 100644 index 0000000000000..22e1a46238734 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01].json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-89a1c7b90da47f6f5ca0c416dd69b3fb-eec91ecef661e009-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "979098af3a585db24b7f4dfd29baf310", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e721672b-9498-404d-91b9-5e6f24490e00", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "e721672b-9498-404d-91b9-5e6f24490e00", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034023Z:e721672b-9498-404d-91b9-5e6f24490e00" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7169?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-094357c5dd2935a16abf49ba06078335-f7d1d058752df1a5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "58b9ce3a0c4a00f8ca85ce114d170a91", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f1958ceb-1372-4e08-aa6e-5324003242c3", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "f1958ceb-1372-4e08-aa6e-5324003242c3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034024Z:f1958ceb-1372-4e08-aa6e-5324003242c3" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169", + "name": "testRG-7169", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847?api-version=2022-08-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-7ccb9e22a05ce224384f5dee731b1dcd-40c3a9eaf7d6156b-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "470c967f6496f8d099b7932f326ac812", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "470c967f6496f8d099b7932f326ac812", + "x-ms-correlation-request-id": "75c3d031-39fb-4594-81aa-1374b408208e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;223,Microsoft.Compute/PutVM30Min;1183", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "8f5071c4-5f9c-4258-9b79-56f40867c074", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034027Z:75c3d031-39fb-4594-81aa-1374b408208e" + }, + "ResponseBody": { + "name": "aset-1847", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2022b12e12b3c1b5a32703e584afe04d-30ab88e137972fd5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "534fd5425685844d9f57702c8e393136", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3ddbbd1c-36f5-4615-b86e-2ff4a36d19d2", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "3ddbbd1c-36f5-4615-b86e-2ff4a36d19d2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034027Z:3ddbbd1c-36f5-4615-b86e-2ff4a36d19d2" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2022b12e12b3c1b5a32703e584afe04d-b98cce35438b69be-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5d3a98f22e04d5fefec0be9378c9ce5f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:40:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0e8745c8-253e-4c92-ab73-2f0e5a42da01", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "0e8745c8-253e-4c92-ab73-2f0e5a42da01", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034030Z:0e8745c8-253e-4c92-ab73-2f0e5a42da01" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2022b12e12b3c1b5a32703e584afe04d-99ded31f98e1c77b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9a3c5d856b2f130ed67954c497ba0bd6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9502e070-2ddb-40cc-9eb8-3b582b224974", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "9502e070-2ddb-40cc-9eb8-3b582b224974", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034030Z:9502e070-2ddb-40cc-9eb8-3b582b224974" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-2022b12e12b3c1b5a32703e584afe04d-251f19411cddaaa1-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d2701089b9693c6e8c11157c87c0e15b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "df240965-dbbd-44f4-ada7-01fc47520ade", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-request-id": "df240965-dbbd-44f4-ada7-01fc47520ade", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034032Z:df240965-dbbd-44f4-ada7-01fc47520ade" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847?api-version=2022-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2022b12e12b3c1b5a32703e584afe04d-5cca2e897b8a1f32-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e3b4d17b9732cbf6ee000e1e56918c16", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:40:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e3b4d17b9732cbf6ee000e1e56918c16", + "x-ms-correlation-request-id": "ffc72de1-84c3-4a59-941f-0321ee38ec39", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31990", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "7017cbdf-17d1-4d09-84ec-14ee4ca1eca6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034033Z:ffc72de1-84c3-4a59-941f-0321ee38ec39" + }, + "ResponseBody": { + "name": "aset-1847", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7169/providers/Microsoft.Compute/availabilitySets/aset-1847", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1098600121", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01]Async.json new file mode 100644 index 0000000000000..3979d54430b4a --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-08-01]Async.json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8709868f6444c0e4ede463be9a9987bb-e78179ef322d897d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a409fc6634836881147f384885b3f4ba", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e2d7b573-a823-427c-9dde-214106d7aca8", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-request-id": "e2d7b573-a823-427c-9dde-214106d7aca8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034244Z:e2d7b573-a823-427c-9dde-214106d7aca8" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5598?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-9afca0ce60008adace295adc0c7b5163-fef7b0b7935235ca-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "47f1accca883b91387413df64b5556d7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "37da8c25-65b2-4882-a3d7-c61fd2cedadf", + "x-ms-ratelimit-remaining-subscription-writes": "1154", + "x-ms-request-id": "37da8c25-65b2-4882-a3d7-c61fd2cedadf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034244Z:37da8c25-65b2-4882-a3d7-c61fd2cedadf" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598", + "name": "testRG-5598", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502?api-version=2022-08-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-b605c5bc79e379e37894b04fc84ed9b8-ea4b105d41c997b1-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "24473e723b9a392f5acc0b354bfd61e7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "24473e723b9a392f5acc0b354bfd61e7", + "x-ms-correlation-request-id": "acedca52-682d-49ba-972f-7b33423c618b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;203,Microsoft.Compute/PutVM30Min;1151", + "x-ms-ratelimit-remaining-subscription-writes": "1153", + "x-ms-request-id": "9a2bd631-fb3e-46a0-ae90-b07d6d453ac9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034248Z:acedca52-682d-49ba-972f-7b33423c618b" + }, + "ResponseBody": { + "name": "aset-4502", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f466d7a3040a17e063504d239d45131c-c96a95ce4050ee20-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d6ec50291ffd607891caad402b1e33e2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "46ecda0d-a87e-40fb-bc7d-e4ff3a031461", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-request-id": "46ecda0d-a87e-40fb-bc7d-e4ff3a031461", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034248Z:46ecda0d-a87e-40fb-bc7d-e4ff3a031461" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f466d7a3040a17e063504d239d45131c-34582f45638ae896-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b641adf26272914d7db8ecb79dde6d8a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:42:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "761e798f-1dd0-4d1e-a9a9-45a149cc8d03", + "x-ms-ratelimit-remaining-subscription-deletes": "14989", + "x-ms-request-id": "761e798f-1dd0-4d1e-a9a9-45a149cc8d03", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034250Z:761e798f-1dd0-4d1e-a9a9-45a149cc8d03" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f466d7a3040a17e063504d239d45131c-a777a04367e7ed3c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9e422899abbbc774025a594532c1c3b3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1dc7a607-1c77-499e-a84f-cb9cbf1a5e62", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-request-id": "1dc7a607-1c77-499e-a84f-cb9cbf1a5e62", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034251Z:1dc7a607-1c77-499e-a84f-cb9cbf1a5e62" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-f466d7a3040a17e063504d239d45131c-7b0f286dc55ad7cc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d560225c37527379d3eeef8bcf7d028e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "84e72c8e-6df9-44de-b50c-0e3daeced9be", + "x-ms-ratelimit-remaining-subscription-writes": "1152", + "x-ms-request-id": "84e72c8e-6df9-44de-b50c-0e3daeced9be", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034254Z:84e72c8e-6df9-44de-b50c-0e3daeced9be" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502?api-version=2022-08-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f466d7a3040a17e063504d239d45131c-6baadc80cace01d3-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6b73df23388e62e9afcfcbcdbbe9f885", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:42:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6b73df23388e62e9afcfcbcdbbe9f885", + "x-ms-correlation-request-id": "163a6638-2be8-4f2e-879e-08bc360ecd71", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3977,Microsoft.Compute/LowCostGet30Min;31971", + "x-ms-ratelimit-remaining-subscription-reads": "11951", + "x-ms-request-id": "80a5e6eb-ab90-4c5b-9017-a73e4e6c87b6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034254Z:163a6638-2be8-4f2e-879e-08bc360ecd71" + }, + "ResponseBody": { + "name": "aset-4502", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5598/providers/Microsoft.Compute/availabilitySets/aset-4502", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "948866105", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01].json new file mode 100644 index 0000000000000..1454a136dcd27 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01].json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-86d7caeecac6550ab5b02d0b2dd059e0-dc0142ee300941d7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8d015f5fd8ea8380d076ca01b9fc5d55", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0789381a-56f7-423e-9f47-e8acfe4bd26b", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "0789381a-56f7-423e-9f47-e8acfe4bd26b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034101Z:0789381a-56f7-423e-9f47-e8acfe4bd26b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7974?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-6b049955b63e69747c95eb150c5b4270-75f58a6dad8bdbe7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9cdbf827a89bfa7c5898973b84156ebc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "23a50128-93b5-426e-a757-357c4e20b081", + "x-ms-ratelimit-remaining-subscription-writes": "1181", + "x-ms-request-id": "23a50128-93b5-426e-a757-357c4e20b081", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034102Z:23a50128-93b5-426e-a757-357c4e20b081" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974", + "name": "testRG-7974", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808?api-version=2022-11-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-d213278ffc1bf30f1bebe21daf0171b6-29212b8a5508f216-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c3c8244a18ff322ab1445729ac188139", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c3c8244a18ff322ab1445729ac188139", + "x-ms-correlation-request-id": "6dec17db-6954-4deb-8d40-a0575a31f6b4", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;223,Microsoft.Compute/PutVM30Min;1175", + "x-ms-ratelimit-remaining-subscription-writes": "1180", + "x-ms-request-id": "019b4b55-8abe-4422-8845-5942017c0439", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034105Z:6dec17db-6954-4deb-8d40-a0575a31f6b4" + }, + "ResponseBody": { + "name": "aset-3808", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-ae64633991086d07223f7ef575f74536-42637988f3424f06-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9eb5bccec34659c411ef7fe8ec94f2b5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a2c64551-982b-45af-8080-926ddc539799", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "a2c64551-982b-45af-8080-926ddc539799", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034105Z:a2c64551-982b-45af-8080-926ddc539799" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-ae64633991086d07223f7ef575f74536-11da974d145bfd60-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "39b1fd938d8d0eaccda9ea5651534e40", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:41:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b87f9872-236d-45a2-8939-bca96d97f6c9", + "x-ms-ratelimit-remaining-subscription-deletes": "14995", + "x-ms-request-id": "b87f9872-236d-45a2-8939-bca96d97f6c9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034107Z:b87f9872-236d-45a2-8939-bca96d97f6c9" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-ae64633991086d07223f7ef575f74536-23796b4267ffcc38-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ae95a152486640ac0fa7d09dd86d07be", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c787a291-804a-4429-8356-e87558f559bc", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "c787a291-804a-4429-8356-e87558f559bc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034108Z:c787a291-804a-4429-8356-e87558f559bc" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-ae64633991086d07223f7ef575f74536-23bf2ddedbf94681-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8fd13fa12a26c456882ad81edb9c758b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e274a143-77a2-45df-8651-5abcd2689e32", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-request-id": "e274a143-77a2-45df-8651-5abcd2689e32", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034110Z:e274a143-77a2-45df-8651-5abcd2689e32" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808?api-version=2022-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-ae64633991086d07223f7ef575f74536-4be79974397e4536-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "596ef366b77128f64bd1263c6f8e6472", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:41:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "596ef366b77128f64bd1263c6f8e6472", + "x-ms-correlation-request-id": "becfeed3-da39-466b-83ff-6d677f0227ed", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31987", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "b9ac8388-0f7f-47af-b35b-c08859ee03bd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034110Z:becfeed3-da39-466b-83ff-6d677f0227ed" + }, + "ResponseBody": { + "name": "aset-3808", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7974/providers/Microsoft.Compute/availabilitySets/aset-3808", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1580450978", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01]Async.json new file mode 100644 index 0000000000000..91e5571116ad0 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2022-11-01]Async.json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4021ea9d6925d4c1f61e698fb5e56558-adf29beb431306ed-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3725ddb40c702f5806739d82c66e9f9c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "60630523-917b-48ad-83ab-c6944541e498", + "x-ms-ratelimit-remaining-subscription-reads": "11945", + "x-ms-request-id": "60630523-917b-48ad-83ab-c6944541e498", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034318Z:60630523-917b-48ad-83ab-c6944541e498" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-8538?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-c0c08b45464233ae238a89d7705f2ae0-07095cddcb887518-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "977bc37fd18296a59dbbfb8ce6d6ce7f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2668b790-a426-4fda-afd5-eaf87366e390", + "x-ms-ratelimit-remaining-subscription-writes": "1145", + "x-ms-request-id": "2668b790-a426-4fda-afd5-eaf87366e390", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034319Z:2668b790-a426-4fda-afd5-eaf87366e390" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538", + "name": "testRG-8538", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260?api-version=2022-11-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-e2bd76253c20d639719ea655c2eb0056-579b75b6d149233c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0ed482ea5c9b159978d3dd4742c5ced8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0ed482ea5c9b159978d3dd4742c5ced8", + "x-ms-correlation-request-id": "3dfb7321-dfc1-4b57-a7f1-8dad44ab9289", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;201,Microsoft.Compute/PutVM30Min;1143", + "x-ms-ratelimit-remaining-subscription-writes": "1144", + "x-ms-request-id": "714535db-08df-4ae7-b875-4211730e11b5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034322Z:3dfb7321-dfc1-4b57-a7f1-8dad44ab9289" + }, + "ResponseBody": { + "name": "aset-7260", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1122208823510343b32876c5298ad785-a7387fb8b29c902a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5d4a01d01cdd535a91da6f9c337a8cc7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4cf12bc5-7005-4987-8071-a5d76c5bc44b", + "x-ms-ratelimit-remaining-subscription-reads": "11944", + "x-ms-request-id": "4cf12bc5-7005-4987-8071-a5d76c5bc44b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034322Z:4cf12bc5-7005-4987-8071-a5d76c5bc44b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1122208823510343b32876c5298ad785-bd082569a6573e29-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1d8447b386c8220a29651faef45d54d8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:43:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "86d73a39-1c89-464f-9385-fb5df9509d6f", + "x-ms-ratelimit-remaining-subscription-deletes": "14987", + "x-ms-request-id": "86d73a39-1c89-464f-9385-fb5df9509d6f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034324Z:86d73a39-1c89-464f-9385-fb5df9509d6f" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1122208823510343b32876c5298ad785-a171d3b7976c90fc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fb941547b1404a0ff6273477fdac5f33", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "81a7594d-f075-434e-bb45-28c7ee101ec5", + "x-ms-ratelimit-remaining-subscription-reads": "11943", + "x-ms-request-id": "81a7594d-f075-434e-bb45-28c7ee101ec5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034325Z:81a7594d-f075-434e-bb45-28c7ee101ec5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-1122208823510343b32876c5298ad785-db41dbd97cb68ade-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "10ae9785a6be433ba4b6f5480948362d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ac4b679e-d07b-417b-b1a8-3975b4aa3f28", + "x-ms-ratelimit-remaining-subscription-writes": "1143", + "x-ms-request-id": "ac4b679e-d07b-417b-b1a8-3975b4aa3f28", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034327Z:ac4b679e-d07b-417b-b1a8-3975b4aa3f28" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260?api-version=2022-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1122208823510343b32876c5298ad785-c6502e709808c19f-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "553b4920d14da03fda505689bbc741ad", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:43:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "553b4920d14da03fda505689bbc741ad", + "x-ms-correlation-request-id": "5563860e-53b9-444c-ad90-0b39b899837a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3975,Microsoft.Compute/LowCostGet30Min;31966", + "x-ms-ratelimit-remaining-subscription-reads": "11942", + "x-ms-request-id": "98f725fa-fa4a-42ed-87a8-52a9d41d3d60", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034327Z:5563860e-53b9-444c-ad90-0b39b899837a" + }, + "ResponseBody": { + "name": "aset-7260", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8538/providers/Microsoft.Compute/availabilitySets/aset-7260", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "663324502", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01].json new file mode 100644 index 0000000000000..1d60280026f4f --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01].json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-5c49c5fa4eaff8d7e917de259628828c-0d27e6c97bafebed-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dc679d472b0a02447e374afda0397b0f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d92c496d-7163-4f35-b1a8-d772c78eb47f", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "d92c496d-7163-4f35-b1a8-d772c78eb47f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092610Z:d92c496d-7163-4f35-b1a8-d772c78eb47f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-4613?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-7d1b1756954bb699f3d7705afd67de4b-25cb08de410d2f99-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6c0f42a84d6cee82fd7e4317a5c550ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c59a7254-63e5-4585-900a-58e43d91a999", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "c59a7254-63e5-4585-900a-58e43d91a999", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092613Z:c59a7254-63e5-4585-900a-58e43d91a999" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613", + "name": "testRG-4613", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-359735030b53ae7c429c5c8b4e57085f-b1864d2f3b13043f-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b2cbcaf428855c8b6bb845e40649229f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "424", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b2cbcaf428855c8b6bb845e40649229f", + "x-ms-correlation-request-id": "9a24d1dc-c71d-4d01-b607-3c59a45cc7ea", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1199", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "bf88e471-9aa7-4359-9fb3-5b2b36d13d25", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092617Z:9a24d1dc-c71d-4d01-b607-3c59a45cc7ea" + }, + "ResponseBody": { + "name": "aset-7136", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7c0b2968708c35ff262a393509070b9-afaf4a2316872612-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "07bf01ffda091a305a1c2ec6be669285", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "702a5459-a8fb-4049-8dd6-f0692a009b9a", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "702a5459-a8fb-4049-8dd6-f0692a009b9a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092618Z:702a5459-a8fb-4049-8dd6-f0692a009b9a" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7c0b2968708c35ff262a393509070b9-e87c495adb2e4ada-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b044f3ac2c437fadb7b201b3079de8b4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:26:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "87c65de9-ea98-4904-8f52-cfc1c28b3ed3", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "87c65de9-ea98-4904-8f52-cfc1c28b3ed3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092620Z:87c65de9-ea98-4904-8f52-cfc1c28b3ed3" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7c0b2968708c35ff262a393509070b9-9e73f5f94d7ace91-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1238c0257204d35c533f4f57d97c12bd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "261", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "51032bba-a266-40f9-a5a4-150aaed221a1", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "51032bba-a266-40f9-a5a4-150aaed221a1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092621Z:51032bba-a266-40f9-a5a4-150aaed221a1" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-a7c0b2968708c35ff262a393509070b9-525c2b55c2fe6367-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1b6a7a34ee4e637e502a1691d34485f2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "274", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "aa140d90-0bde-4dd5-9e63-6bd938062583", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "aa140d90-0bde-4dd5-9e63-6bd938062583", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092623Z:aa140d90-0bde-4dd5-9e63-6bd938062583" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7c0b2968708c35ff262a393509070b9-847fcc78bd743405-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "80359b9e825a37b742d5c1da5bcaff0f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "452", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:26:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "80359b9e825a37b742d5c1da5bcaff0f", + "x-ms-correlation-request-id": "fb3cd972-cbfe-447d-974a-fc4640a2b3a7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31999", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "7fe0e174-4b4c-46c0-b8cb-3dc4cf7e3255", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092623Z:fb3cd972-cbfe-447d-974a-fc4640a2b3a7" + }, + "ResponseBody": { + "name": "aset-7136", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4613/providers/Microsoft.Compute/availabilitySets/aset-7136", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "700939068", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01]Async.json new file mode 100644 index 0000000000000..6f62deaf975bc --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/AvailabilitySetOperationsTests/SetTags(null)[2023-03-01]Async.json @@ -0,0 +1,1745 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b454e54bd4fdb9f711e8a2a3a32d002f-18f894c3a741a716-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fc98cfd308bd85cf37409c3672253c14", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "93ed69bb-8a23-441f-8781-0ed1006077fe", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "93ed69bb-8a23-441f-8781-0ed1006077fe", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092714Z:93ed69bb-8a23-441f-8781-0ed1006077fe" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-531?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-e1c43e2cee941a64b6541f3c4668e3a5-a8bc6ace64c92e06-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ef25c2f936b5b10b534289558f7a8563", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "69671f85-285b-4792-99dc-0eb7704d5500", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "69671f85-285b-4792-99dc-0eb7704d5500", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092718Z:69671f85-285b-4792-99dc-0eb7704d5500" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531", + "name": "testRG-531", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "60", + "Content-Type": "application/json", + "traceparent": "00-37dcd012a7e731b33e7b3bc8b1aec322-429c63f46c02e526-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a499e1b501f5e13efa688bd24460280e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "location": "eastus", + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "423", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a499e1b501f5e13efa688bd24460280e", + "x-ms-correlation-request-id": "6187418e-b9e5-4195-aecc-ffbd53426268", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;231,Microsoft.Compute/PutVM30Min;1191", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "6f10b217-63e9-492c-9cd4-f3f992b67101", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092721Z:6187418e-b9e5-4195-aecc-ffbd53426268" + }, + "ResponseBody": { + "name": "aset-9423", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3 + }, + "sku": { + "name": "Classic" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-065a22c0a41e5befc30bc86e5d21590c-976ede50b6cc6a53-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "055c8581e4406119f10bb58cfce1b022", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f148e6f3-379b-433e-a100-ef9455a67f93", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "f148e6f3-379b-433e-a100-ef9455a67f93", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092722Z:f148e6f3-379b-433e-a100-ef9455a67f93" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-065a22c0a41e5befc30bc86e5d21590c-f2eab300e873693a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5b6f0fb0af7bf8658343f44dab396df3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:27:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6221e410-4474-4c4e-b9c7-ec5b315803f1", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "6221e410-4474-4c4e-b9c7-ec5b315803f1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092724Z:6221e410-4474-4c4e-b9c7-ec5b315803f1" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-065a22c0a41e5befc30bc86e5d21590c-9fbe2a7feb83cd91-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "342169b7ccf0d193206381fcefccb6b7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "260", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c1dddcb2-c6b9-4e7b-a592-0080baf5c696", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "c1dddcb2-c6b9-4e7b-a592-0080baf5c696", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092724Z:c1dddcb2-c6b9-4e7b-a592-0080baf5c696" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-065a22c0a41e5befc30bc86e5d21590c-c96071bf08048661-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8171c19ea70d3103ed9e9443fd7cacd1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "273", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cc943538-dff6-46c3-b353-c6f15a9560c2", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "cc943538-dff6-46c3-b353-c6f15a9560c2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092726Z:cc943538-dff6-46c3-b353-c6f15a9560c2" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-065a22c0a41e5befc30bc86e5d21590c-0584aa213fc57904-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8b4bfb8164400f0b65f04751384fd4a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "451", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8b4bfb8164400f0b65f04751384fd4a3", + "x-ms-correlation-request-id": "3e6a5681-c40e-4fbe-824c-962dfa25ad9b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "74939655-0069-47ab-837d-ce510d0d1c27", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092727Z:3e6a5681-c40e-4fbe-824c-962dfa25ad9b" + }, + "ResponseBody": { + "name": "aset-9423", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-531/providers/Microsoft.Compute/availabilitySets/aset-9423", + "type": "Microsoft.Compute/availabilitySets", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 3, + "virtualMachines": [] + }, + "sku": { + "name": "Classic" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1532608241", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False).json new file mode 100644 index 0000000000000..f6efe8598f53e --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False).json @@ -0,0 +1,264 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f5219320f7891c426d2b751f76756a44-71428fc4ad57cc51-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3359d57df73547bcfd06caabd56d13da", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "165ae56d-f9b1-4276-b5b6-1488c01e4438", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "165ae56d-f9b1-4276-b5b6-1488c01e4438", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092820Z:165ae56d-f9b1-4276-b5b6-1488c01e4438" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5921?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-b666aef2c20a661730a09f788370cb51-b539892f1e370bcb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8b4233866780d72cffbfd745b97ddd65", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f1063e74-1e6c-4168-85a4-babeb7cb1918", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-request-id": "f1063e74-1e6c-4168-85a4-babeb7cb1918", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092821Z:f1063e74-1e6c-4168-85a4-babeb7cb1918" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5921", + "name": "testRG-5921", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5921/providers/Microsoft.Compute/hostGroups/testDHG-4749?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-fe789c162799927dd05864591fbb6160-a3bb6127f62302f9-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ad70c354a1892e4575517512eefc18d9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ad70c354a1892e4575517512eefc18d9", + "x-ms-correlation-request-id": "2d11eb80-83d7-4caa-8213-4fb0c6efcb77", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;113,Microsoft.Compute/PutDeleteDedicatedHost30Min;593", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-request-id": "cd9c858b-6a61-494d-b71c-a82f245c3626", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092822Z:2d11eb80-83d7-4caa-8213-4fb0c6efcb77" + }, + "ResponseBody": { + "name": "testDHG-4749", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5921/providers/Microsoft.Compute/hostGroups/testDHG-4749", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5921/providers/Microsoft.Compute/hostGroups/testDHG-4749?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0f745c110558089fbfd16563db80708e-b65cca3e8368f684-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "97cce04ef164f154065df8fd6fb84d4d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "97cce04ef164f154065df8fd6fb84d4d", + "x-ms-correlation-request-id": "aa595ba1-6d34-4521-8f4c-b189ab73ffc0", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost30Min;997", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "78542e9c-bfe2-46d7-9bb5-b5cbd0eddaee", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092823Z:aa595ba1-6d34-4521-8f4c-b189ab73ffc0" + }, + "ResponseBody": { + "name": "testDHG-4749", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5921/providers/Microsoft.Compute/hostGroups/testDHG-4749", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5921/providers/Microsoft.Compute/hostGroups/testDHG-4749?api-version=2023-03-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-0f745c110558089fbfd16563db80708e-7d6723546e353aeb-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "501970ced669e529ed14162ff219e803", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "381", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "501970ced669e529ed14162ff219e803", + "x-ms-correlation-request-id": "586dd5b5-989f-4080-9590-5a0b98412aa6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;112,Microsoft.Compute/PutDeleteDedicatedHost30Min;592", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-request-id": "aed4e11a-3697-4db5-a92e-c595ca926fca", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092824Z:586dd5b5-989f-4080-9590-5a0b98412aa6" + }, + "ResponseBody": { + "name": "testDHG-4749", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5921/providers/Microsoft.Compute/hostGroups/testDHG-4749", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "532647942", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False)Async.json new file mode 100644 index 0000000000000..478f1b49914e2 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(False)Async.json @@ -0,0 +1,264 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0effb7dfdc185b7fed274e0a7c120bcb-f419392e9fc1fcef-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b2d54332c590bbe5f7a10069981df5a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "77c17394-f54c-463a-9f70-777d430bb447", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "77c17394-f54c-463a-9f70-777d430bb447", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092855Z:77c17394-f54c-463a-9f70-777d430bb447" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7137?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-f95114988030d5f1419e2a6231061df9-afb4d15627823303-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4ed9f67cf58abde1cfc84f29b42d9ae3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "978e13f0-41c5-4700-85a8-59e9a18d3f00", + "x-ms-ratelimit-remaining-subscription-writes": "1175", + "x-ms-request-id": "978e13f0-41c5-4700-85a8-59e9a18d3f00", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092855Z:978e13f0-41c5-4700-85a8-59e9a18d3f00" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7137", + "name": "testRG-7137", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7137/providers/Microsoft.Compute/hostGroups/testDHG-7624?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-aee3b9f76a3fda2fe64c25802afa6440-1e0fcd6e1492291a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1f7aabfabbcdfe599c1fddbbafd18b3d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1f7aabfabbcdfe599c1fddbbafd18b3d", + "x-ms-correlation-request-id": "10ce462f-7daa-45a4-9daa-64b7c4d783d6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;105,Microsoft.Compute/PutDeleteDedicatedHost30Min;585", + "x-ms-ratelimit-remaining-subscription-writes": "1174", + "x-ms-request-id": "05591016-0619-46a3-b078-66dd092718a9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092857Z:10ce462f-7daa-45a4-9daa-64b7c4d783d6" + }, + "ResponseBody": { + "name": "testDHG-7624", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7137/providers/Microsoft.Compute/hostGroups/testDHG-7624", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7137/providers/Microsoft.Compute/hostGroups/testDHG-7624?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-972b9a05c7721b6f5324cacb815b9908-890efab59bf1eadc-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9eea641de4e7e0b8d0d2f61c6cceecd2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9eea641de4e7e0b8d0d2f61c6cceecd2", + "x-ms-correlation-request-id": "0431bbb0-f25b-4572-b2cd-092f9e6fedbe", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost30Min;993", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "ee107b65-8230-4ae1-9058-186a7ffc27af", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092857Z:0431bbb0-f25b-4572-b2cd-092f9e6fedbe" + }, + "ResponseBody": { + "name": "testDHG-7624", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7137/providers/Microsoft.Compute/hostGroups/testDHG-7624", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7137/providers/Microsoft.Compute/hostGroups/testDHG-7624?api-version=2023-03-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-972b9a05c7721b6f5324cacb815b9908-f5275cdeab170c3a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4922b4cfd92dc1739ddab16b17260dfd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "381", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4922b4cfd92dc1739ddab16b17260dfd", + "x-ms-correlation-request-id": "8e09d13b-2009-4b43-ba5b-6cf9596b2644", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;104,Microsoft.Compute/PutDeleteDedicatedHost30Min;584", + "x-ms-ratelimit-remaining-subscription-writes": "1173", + "x-ms-request-id": "b64aaed1-4c36-47e9-af17-db80c08ce935", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092859Z:8e09d13b-2009-4b43-ba5b-6cf9596b2644" + }, + "ResponseBody": { + "name": "testDHG-7624", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7137/providers/Microsoft.Compute/hostGroups/testDHG-7624", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "2119043856", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True).json new file mode 100644 index 0000000000000..48c66f1d17e42 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True).json @@ -0,0 +1,322 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c6a2d8732a660c3ad86cc0fc9f87e07c-1ddf2972c445d49b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "36728a7f4603875899e647123616e993", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8472a2b0-c146-489b-9ea5-f2169b5905cd", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "8472a2b0-c146-489b-9ea5-f2169b5905cd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092810Z:8472a2b0-c146-489b-9ea5-f2169b5905cd" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-1104?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-fb57b6b8fba5e4a2b62037bc7f021729-1ecde0695aecb186-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fd21026643c10ae08d516c801d0f8f0d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ab204e74-bb1d-4e0d-b224-3eff10ab773e", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-request-id": "ab204e74-bb1d-4e0d-b224-3eff10ab773e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092810Z:ab204e74-bb1d-4e0d-b224-3eff10ab773e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1104", + "name": "testRG-1104", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-c6fee89209d12c3b578524b23e89d061-166c348187bc8abf-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e1ee1bfa607de1adeae6ef282a2cdae4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e1ee1bfa607de1adeae6ef282a2cdae4", + "x-ms-correlation-request-id": "14a9e0c3-eece-4876-af6b-9b399bc76718", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;116,Microsoft.Compute/PutDeleteDedicatedHost30Min;596", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "e6c80ac0-0df5-4a74-916b-1ab2af52320b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092812Z:14a9e0c3-eece-4876-af6b-9b399bc76718" + }, + "ResponseBody": { + "name": "testDHG-7704", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e91629c0f67500338647b5e3a3942e13-51379a9675ede112-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "36404b8782fb2ec856f8b9071b19c938", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:28:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0e2f6ec6-53b4-415d-8389-14c6bd37029a", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "0e2f6ec6-53b4-415d-8389-14c6bd37029a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092813Z:0e2f6ec6-53b4-415d-8389-14c6bd37029a" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e91629c0f67500338647b5e3a3942e13-b0530110554410e6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d2f8877759ce781152bf8b84a6a5c6d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "91544251-c87a-4c6b-a6c8-2eb1b194da37", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "91544251-c87a-4c6b-a6c8-2eb1b194da37", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092813Z:91544251-c87a-4c6b-a6c8-2eb1b194da37" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-e91629c0f67500338647b5e3a3942e13-908d5ac5504f9acd-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "01a5b61c0c10653ffd3ae1bb6fedda9d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "271", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c313805d-8a44-4d60-a013-57aed34274c8", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-request-id": "c313805d-8a44-4d60-a013-57aed34274c8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092815Z:c313805d-8a44-4d60-a013-57aed34274c8" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e91629c0f67500338647b5e3a3942e13-1e3e4de6cd207cbd-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9dbe417ade126a504893d49477560865", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "381", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9dbe417ade126a504893d49477560865", + "x-ms-correlation-request-id": "c6ec0ed7-9587-4250-9f0c-34ac50c5e259", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost30Min;998", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "7b392692-c026-4171-9deb-41c10ea8a076", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092816Z:c6ec0ed7-9587-4250-9f0c-34ac50c5e259" + }, + "ResponseBody": { + "name": "testDHG-7704", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-1104/providers/Microsoft.Compute/hostGroups/testDHG-7704", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "2013661460", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True)Async.json new file mode 100644 index 0000000000000..cd8e6d1c5a232 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(True)Async.json @@ -0,0 +1,322 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1ec4b97cd0e94bceeb4936679ebcd711-fd3223f5b8b3a5df-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a90d240613be7d4b4d690bb71085bce0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "071b21b5-fa9b-4baf-9c89-935d87f06322", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "071b21b5-fa9b-4baf-9c89-935d87f06322", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092844Z:071b21b5-fa9b-4baf-9c89-935d87f06322" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-6173?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-e0efc5ee8539d8d4b5ab23157ec96f8d-5c35af095ec85ace-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cffae7cd6ec5ebee5511930e7adb9912", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "800758f6-7478-4593-9d1d-0538ae70e65f", + "x-ms-ratelimit-remaining-subscription-writes": "1178", + "x-ms-request-id": "800758f6-7478-4593-9d1d-0538ae70e65f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092845Z:800758f6-7478-4593-9d1d-0538ae70e65f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6173", + "name": "testRG-6173", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-902ac43bca93ae0825d02582e98d3a08-9074b00d157700c8-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "aab19539c6d8a834e4c93acdfd8b5291", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "aab19539c6d8a834e4c93acdfd8b5291", + "x-ms-correlation-request-id": "b38f8d3e-b5c4-4608-b5fa-37b08e25b7d6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;108,Microsoft.Compute/PutDeleteDedicatedHost30Min;588", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-request-id": "836ade34-97bc-4a68-af37-5f1a3a87d308", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092846Z:b38f8d3e-b5c4-4608-b5fa-37b08e25b7d6" + }, + "ResponseBody": { + "name": "testDHG-340", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-bd64c23b47d8996c416e8a17f91bee7e-c7ed194514e6b44e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2ccbb65f36a99f5ebbd2bd39e93eef30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:28:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0dc0fdf5-a15f-4b0a-8ba1-0c8840b27caf", + "x-ms-ratelimit-remaining-subscription-deletes": "14994", + "x-ms-request-id": "0dc0fdf5-a15f-4b0a-8ba1-0c8840b27caf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092847Z:0dc0fdf5-a15f-4b0a-8ba1-0c8840b27caf" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-bd64c23b47d8996c416e8a17f91bee7e-3be65590ab6799e7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c3af01be6d0f02683711ef0508fbbea5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "257", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "424a8c09-11b0-4c0d-85cb-9daee5b86a79", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "424a8c09-11b0-4c0d-85cb-9daee5b86a79", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092847Z:424a8c09-11b0-4c0d-85cb-9daee5b86a79" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-bd64c23b47d8996c416e8a17f91bee7e-fadbc6d9a345a271-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "00af09da2b3f43623fc479584b626a9b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "270", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "900242b4-8d1e-484f-a723-1e2a7601df4b", + "x-ms-ratelimit-remaining-subscription-writes": "1176", + "x-ms-request-id": "900242b4-8d1e-484f-a723-1e2a7601df4b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092849Z:900242b4-8d1e-484f-a723-1e2a7601df4b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-bd64c23b47d8996c416e8a17f91bee7e-44f98f87ba38fcc8-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2a214592ec7193899e6b834af310b6d4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:49 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2a214592ec7193899e6b834af310b6d4", + "x-ms-correlation-request-id": "7a32950a-26fc-4cd5-8241-c0971a611b9b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost30Min;994", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "e5774778-9374-4a5f-8657-b6c6112c53f4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092850Z:7a32950a-26fc-4cd5-8241-c0971a611b9b" + }, + "ResponseBody": { + "name": "testDHG-340", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6173/providers/Microsoft.Compute/hostGroups/testDHG-340", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "2018881731", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null).json new file mode 100644 index 0000000000000..ea24be97c12a4 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null).json @@ -0,0 +1,1736 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d7058794ebce10976cb5117a4e2c878a-b26cb5fc0c177739-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ac78649b343bc048bbb6f82ce92371ab", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "404e6f3f-248c-47ae-8fb6-70331f76fc67", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "404e6f3f-248c-47ae-8fb6-70331f76fc67", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092757Z:404e6f3f-248c-47ae-8fb6-70331f76fc67" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-9006?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-c03d2bc8410f4f56e5b17c6318e92af2-ea355d31d046aeb5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b69ffbf26e88c2c84a5f1772b6bac8a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d885157f-9a25-49d6-ab59-f039cbbdec28", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "d885157f-9a25-49d6-ab59-f039cbbdec28", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092758Z:d885157f-9a25-49d6-ab59-f039cbbdec28" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9006", + "name": "testRG-9006", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-293352d16eab029ab23a16e39a3cbcf9-c67fd80737dbc882-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0266492cb8434c6f9b162ec0ac53d77d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0266492cb8434c6f9b162ec0ac53d77d", + "x-ms-correlation-request-id": "efd89560-5208-46b7-8be1-edd8ac5901a8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;599", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "a757ba6d-2f06-41e1-b436-d20cfef66512", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092759Z:efd89560-5208-46b7-8be1-edd8ac5901a8" + }, + "ResponseBody": { + "name": "testDHG-7305", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b36e2fdab46954776f45e807609d272f-e2f17a0affcf6de4-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f55eef81e4290adbe478e9e9a949003e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:27:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4489d7a8-3ab5-426f-9b6e-79c76be01da5", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "4489d7a8-3ab5-426f-9b6e-79c76be01da5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092759Z:4489d7a8-3ab5-426f-9b6e-79c76be01da5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b36e2fdab46954776f45e807609d272f-109ace548f8d64fb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "27f642645d4539108b531b71400715f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:28:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2e2a8d2a-4922-4daa-8c5c-a84b3b2c11ad", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "2e2a8d2a-4922-4daa-8c5c-a84b3b2c11ad", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092800Z:2e2a8d2a-4922-4daa-8c5c-a84b3b2c11ad" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b36e2fdab46954776f45e807609d272f-8bdb93efd97a73a7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6a5cef16af5c2438df2469d6c86ac9dd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e8f08709-31d4-4323-a574-52cfd8e4b600", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "e8f08709-31d4-4323-a574-52cfd8e4b600", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092801Z:e8f08709-31d4-4323-a574-52cfd8e4b600" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-b36e2fdab46954776f45e807609d272f-bb03d941610d30de-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0f61f263395891e2c6adbae83f456b05", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "271", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "dc33b505-9d41-4182-872f-a91bf5ec7678", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-request-id": "dc33b505-9d41-4182-872f-a91bf5ec7678", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092803Z:dc33b505-9d41-4182-872f-a91bf5ec7678" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b36e2fdab46954776f45e807609d272f-01e52ba29f23ff1d-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "db673f929324dcf90dcba3aff54fe49a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "381", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "db673f929324dcf90dcba3aff54fe49a", + "x-ms-correlation-request-id": "ce8fa1ef-a0a4-41b4-8014-540a5b48ba58", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost30Min;999", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "f2abb3e3-ab8b-4f4e-95d6-4e5dc51392ac", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092803Z:ce8fa1ef-a0a4-41b4-8014-540a5b48ba58" + }, + "ResponseBody": { + "name": "testDHG-7305", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9006/providers/Microsoft.Compute/hostGroups/testDHG-7305", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1129860102", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null)Async.json new file mode 100644 index 0000000000000..1e7e661c1cd1c --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostGroupOperationsTests/SetTags(null)Async.json @@ -0,0 +1,1736 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-6f624ab7b8bc6c6b53000c767c93793c-8acdd0b3efcfd03c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2c9f68a1954f43beb14c74f25de27844", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "79d7ff3f-e2b8-4b98-ab0c-0d7c6f2bd43b", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "79d7ff3f-e2b8-4b98-ab0c-0d7c6f2bd43b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092832Z:79d7ff3f-e2b8-4b98-ab0c-0d7c6f2bd43b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5774?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-b555a06591496544e6d2b1eab8234e23-66a831b01d91db05-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "24e02b17e84decd819309b85a107a1d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "01a0d882-6c10-428e-ba85-658a2136f5cd", + "x-ms-ratelimit-remaining-subscription-writes": "1181", + "x-ms-request-id": "01a0d882-6c10-428e-ba85-658a2136f5cd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092833Z:01a0d882-6c10-428e-ba85-658a2136f5cd" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5774", + "name": "testRG-5774", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-7a05af07866d7ac2b1f4d3c08c649385-de647a4d40483f62-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8b50cf40c6ba3b98da5be559b429f57a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8b50cf40c6ba3b98da5be559b429f57a", + "x-ms-correlation-request-id": "714ebf65-a923-4e47-9e50-112997edc3aa", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;111,Microsoft.Compute/PutDeleteDedicatedHost30Min;591", + "x-ms-ratelimit-remaining-subscription-writes": "1180", + "x-ms-request-id": "a71b0054-580b-4101-8dc8-0a6e26c2bcfa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092834Z:714ebf65-a923-4e47-9e50-112997edc3aa" + }, + "ResponseBody": { + "name": "testDHG-680", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-324d9b9b3dbc6ddd27522c69c32ba8b9-7d06df0000b85a07-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b8fb961a7d99b61b53637b8da72baa6c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5827a402-16e1-4828-85cd-9ae481b1df91", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "5827a402-16e1-4828-85cd-9ae481b1df91", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092834Z:5827a402-16e1-4828-85cd-9ae481b1df91" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-324d9b9b3dbc6ddd27522c69c32ba8b9-b2af77754ecabdac-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a9a18b5151f350fe93a549f1037f38f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:28:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "59381381-d935-4b08-9ae4-b20848636bf8", + "x-ms-ratelimit-remaining-subscription-deletes": "14995", + "x-ms-request-id": "59381381-d935-4b08-9ae4-b20848636bf8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092835Z:59381381-d935-4b08-9ae4-b20848636bf8" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-324d9b9b3dbc6ddd27522c69c32ba8b9-acb37eb60422f8ed-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "280778b04c88c88698aa25f33429b2d4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "257", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "42c61bee-fe5e-4424-93d1-5d4833ed5d7f", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "42c61bee-fe5e-4424-93d1-5d4833ed5d7f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092835Z:42c61bee-fe5e-4424-93d1-5d4833ed5d7f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-324d9b9b3dbc6ddd27522c69c32ba8b9-ce66c502e06f0cfd-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "86538b2ba0bf686053def55819a70688", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "270", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4801ddc1-6742-4384-998a-227a95130bae", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-request-id": "4801ddc1-6742-4384-998a-227a95130bae", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092837Z:4801ddc1-6742-4384-998a-227a95130bae" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-324d9b9b3dbc6ddd27522c69c32ba8b9-57d4f7217394e8f0-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "be2b63e70cb70fef179ed4aa572daef1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:28:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "be2b63e70cb70fef179ed4aa572daef1", + "x-ms-correlation-request-id": "898819a5-1d1c-43bc-8784-f6a2a2bd82de", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost30Min;996", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "6314e1a0-0dff-49e7-963c-15b0cb52c50d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092838Z:898819a5-1d1c-43bc-8784-f6a2a2bd82de" + }, + "ResponseBody": { + "name": "testDHG-680", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-5774/providers/Microsoft.Compute/hostGroups/testDHG-680", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1424272042", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False).json new file mode 100644 index 0000000000000..4f38d0b658820 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False).json @@ -0,0 +1,490 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-34095f4eea6861462eee3d2102c62a34-2b07083f56adb0e6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "81785633f34cf42181309164a3d102cd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:35:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "baf87cf4-dcca-4e35-a945-c5e15e968df4", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "baf87cf4-dcca-4e35-a945-c5e15e968df4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093556Z:baf87cf4-dcca-4e35-a945-c5e15e968df4" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7853?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-0094f1f5fea28469d09e0d108e2c3edd-60c0ff92838716f3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5cce20a1c395e772e89ad57963fbb509", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a6fd3b67-eb2f-40b1-958c-7979cb2ebd90", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "a6fd3b67-eb2f-40b1-958c-7979cb2ebd90", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093600Z:a6fd3b67-eb2f-40b1-958c-7979cb2ebd90" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7853", + "name": "testRG-7853", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-ec1dfa2f210b624ad9f249425e76ba2b-3c0f978babb41ee3-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b0cb5085e9bc372948b3f7676bbcbe6a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b0cb5085e9bc372948b3f7676bbcbe6a", + "x-ms-correlation-request-id": "8815a2fc-69da-49f1-b75f-55997f4bfe5f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;538", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "41f81903-2fb3-4066-8ae6-c53ba4d8af6c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093603Z:8815a2fc-69da-49f1-b75f-55997f4bfe5f" + }, + "ResponseBody": { + "name": "testDHG-4172", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "98", + "Content-Type": "application/json", + "traceparent": "00-5e5d4dbdde1eefaf1b6ff8373927f613-c712d7f271ce89c8-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cbe8106ef965bde3da0c385aabb62d69", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "DSv3-Type1" + }, + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomain": 0 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/2514c074-db24-4cc6-b81b-fac9daca78de?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "567", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "cbe8106ef965bde3da0c385aabb62d69", + "x-ms-correlation-request-id": "a0dad87d-fb92-4b13-8221-db461e28fa18", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;537", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "2514c074-db24-4cc6-b81b-fac9daca78de", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093604Z:a0dad87d-fb92-4b13-8221-db461e28fa18" + }, + "ResponseBody": { + "name": "testHost-1673", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "5a07d631-82fc-4ea7-b3d1-32c1d8ef8794", + "provisioningState": "Creating", + "timeCreated": "2023-05-23T09:36:04.4530811\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/2514c074-db24-4cc6-b81b-fac9daca78de?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5e5d4dbdde1eefaf1b6ff8373927f613-6a05cd9087fa02ea-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "530a6bdbe9138ba36d0ed5b0b0ce8b91", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "182", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "530a6bdbe9138ba36d0ed5b0b0ce8b91", + "x-ms-correlation-request-id": "ce7e525f-4056-4d09-898e-6fb45ec757e7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29989", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "c8de8d03-f512-4ec7-952a-d376f0625261", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093605Z:ce7e525f-4056-4d09-898e-6fb45ec757e7" + }, + "ResponseBody": { + "startTime": "2023-05-23T09:36:04.39058\u002B00:00", + "endTime": "2023-05-23T09:36:04.9218231\u002B00:00", + "status": "Succeeded", + "name": "2514c074-db24-4cc6-b81b-fac9daca78de" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5e5d4dbdde1eefaf1b6ff8373927f613-dbefc6197c9e8d44-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a2798e85413faef18930d4cee501f1d0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "658", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a2798e85413faef18930d4cee501f1d0", + "x-ms-correlation-request-id": "f834ca83-e8ae-400d-b482-92a25b7f459c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;198,Microsoft.Compute/GetDedicatedHost30Min;959", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "872afaa7-f289-40dc-a128-679f3415b247", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093606Z:f834ca83-e8ae-400d-b482-92a25b7f459c" + }, + "ResponseBody": { + "name": "testHost-1673", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "5a07d631-82fc-4ea7-b3d1-32c1d8ef8794", + "virtualMachines": [], + "provisioningTime": "2023-05-23T09:36:04.8124482\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-23T09:36:04.4530811\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-30cd6b3fba0f701001760e270965930e-c9b95281917a6cba-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "407f0c8fdaac045624f10f6aead70728", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "658", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "407f0c8fdaac045624f10f6aead70728", + "x-ms-correlation-request-id": "9b19d088-a86d-4158-baa3-f8657dd83f43", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;197,Microsoft.Compute/GetDedicatedHost30Min;958", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "e6f1ba68-7874-472b-ba79-65d65c48ab53", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093607Z:9b19d088-a86d-4158-baa3-f8657dd83f43" + }, + "ResponseBody": { + "name": "testHost-1673", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "5a07d631-82fc-4ea7-b3d1-32c1d8ef8794", + "virtualMachines": [], + "provisioningTime": "2023-05-23T09:36:04.8124482\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-23T09:36:04.4530811\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673?api-version=2023-03-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-30cd6b3fba0f701001760e270965930e-fb62fa6ea97e089c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3d5b820bd99099ed795ccae314d5a56b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/2b3f5fed-82cd-4512-8bdb-b6ed6d460f6f?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "653", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3d5b820bd99099ed795ccae314d5a56b", + "x-ms-correlation-request-id": "fe9aad8e-3b32-448e-b9e2-57cd9c028914", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;117,Microsoft.Compute/PutDeleteDedicatedHost30Min;536", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "2b3f5fed-82cd-4512-8bdb-b6ed6d460f6f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093608Z:fe9aad8e-3b32-448e-b9e2-57cd9c028914" + }, + "ResponseBody": { + "name": "testHost-1673", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "5a07d631-82fc-4ea7-b3d1-32c1d8ef8794", + "provisioningTime": "2023-05-23T09:36:04.8124482\u002B00:00", + "provisioningState": "Updating", + "timeCreated": "2023-05-23T09:36:04.4530811\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-30cd6b3fba0f701001760e270965930e-8325002861d3ac56-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "62c3ac28b4a6b63f1fe6c6501072f04f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "682", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:36:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "62c3ac28b4a6b63f1fe6c6501072f04f", + "x-ms-correlation-request-id": "7cef61ee-8bb7-43f4-bae3-a190738ea0bf", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;196,Microsoft.Compute/GetDedicatedHost30Min;957", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "732166ca-4a8f-4da8-b610-25fee0203416", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093609Z:7cef61ee-8bb7-43f4-bae3-a190738ea0bf" + }, + "ResponseBody": { + "name": "testHost-1673", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7853/providers/Microsoft.Compute/hostGroups/testDHG-4172/hosts/testHost-1673", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "5a07d631-82fc-4ea7-b3d1-32c1d8ef8794", + "virtualMachines": [], + "provisioningTime": "2023-05-23T09:36:04.8124482\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-23T09:36:04.4530811\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1874947718", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False)Async.json new file mode 100644 index 0000000000000..0c10a764b1046 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(False)Async.json @@ -0,0 +1,490 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e7772120ec9cef55742691e12098613a-17c2cbbd333c8e7b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cd33c7cf631cd4e409b0b0af7f5e7339", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:30:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c02f3d89-845c-4061-a907-d304909b1b2d", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "c02f3d89-845c-4061-a907-d304909b1b2d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023052Z:c02f3d89-845c-4061-a907-d304909b1b2d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-9500?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-1d7d6c1ee96d07d572fba8b190ceb2a4-b381b446c8e639da-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1ea225ce9dc6cd00001bd812cd075db1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:30:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c38a80cc-8b2c-4a4a-9733-3dd0aeca00b8", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "c38a80cc-8b2c-4a4a-9733-3dd0aeca00b8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023057Z:c38a80cc-8b2c-4a4a-9733-3dd0aeca00b8" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9500", + "name": "testRG-9500", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-8ed260d303d99c04059d59637f4138b6-299569d880bb0114-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "aaa7cb67416fac9d248409944b17e310", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:31:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "aaa7cb67416fac9d248409944b17e310", + "x-ms-correlation-request-id": "8a210705-2307-4add-b473-9b48ea70be76", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;599", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "077df62f-112f-442d-a31f-afe02fd7e2a1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023102Z:8a210705-2307-4add-b473-9b48ea70be76" + }, + "ResponseBody": { + "name": "testDHG-4800", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "98", + "Content-Type": "application/json", + "traceparent": "00-9d5c85768befc9df176b3e77b74d1e11-316f5b9b719aae6f-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6b726212a92c306d1c96e3b8309ee3a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "DSv3-Type1" + }, + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomain": 0 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/05c98b60-3bb5-4ed1-b7e6-abdfb46080bf?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "567", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:31:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6b726212a92c306d1c96e3b8309ee3a8", + "x-ms-correlation-request-id": "cd3b0a87-f253-4dc9-8fb6-9754443a25a3", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;598", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "05c98b60-3bb5-4ed1-b7e6-abdfb46080bf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023107Z:cd3b0a87-f253-4dc9-8fb6-9754443a25a3" + }, + "ResponseBody": { + "name": "testHost-3949", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "51f978e9-14cd-481b-92ed-00a81dc4f163", + "provisioningState": "Creating", + "timeCreated": "2023-05-25T02:31:06.0430849\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/05c98b60-3bb5-4ed1-b7e6-abdfb46080bf?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9d5c85768befc9df176b3e77b74d1e11-b33daadf2bb62e63-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6a00c738f194be845e778ed95de47b86", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "184", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:31:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6a00c738f194be845e778ed95de47b86", + "x-ms-correlation-request-id": "5eb690e8-1f81-4d9c-b8ac-3be361c55cf5", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "e38cd389-381f-4bd0-b81e-cd223f89aeb3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023107Z:5eb690e8-1f81-4d9c-b8ac-3be361c55cf5" + }, + "ResponseBody": { + "startTime": "2023-05-25T02:31:05.9649594\u002B00:00", + "endTime": "2023-05-25T02:31:07.1368198\u002B00:00", + "status": "Succeeded", + "name": "05c98b60-3bb5-4ed1-b7e6-abdfb46080bf" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9d5c85768befc9df176b3e77b74d1e11-4945d37348b49bc9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9e7260a0750bb75c4be4e337af2a9baf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "657", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:31:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9e7260a0750bb75c4be4e337af2a9baf", + "x-ms-correlation-request-id": "93d2aa89-1637-4028-8f94-05d3e368e7c7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;199,Microsoft.Compute/GetDedicatedHost30Min;999", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "a00e0b4a-fb6b-4589-ab63-b725c8938db3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023108Z:93d2aa89-1637-4028-8f94-05d3e368e7c7" + }, + "ResponseBody": { + "name": "testHost-3949", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "51f978e9-14cd-481b-92ed-00a81dc4f163", + "virtualMachines": [], + "provisioningTime": "2023-05-25T02:31:06.574328\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-25T02:31:06.0430849\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f6d9c4b4120541acdc2b9ca59d826bb7-08db3f62bf45a074-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6980fa14789d3013294d0f3ccc3d2fa3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "657", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:31:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6980fa14789d3013294d0f3ccc3d2fa3", + "x-ms-correlation-request-id": "772ad94c-e912-441e-9b75-2315bdba0229", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;198,Microsoft.Compute/GetDedicatedHost30Min;998", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "05e8119a-f16e-41ed-b2a7-82092e5fe01f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023109Z:772ad94c-e912-441e-9b75-2315bdba0229" + }, + "ResponseBody": { + "name": "testHost-3949", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "51f978e9-14cd-481b-92ed-00a81dc4f163", + "virtualMachines": [], + "provisioningTime": "2023-05-25T02:31:06.574328\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-25T02:31:06.0430849\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949?api-version=2023-03-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-f6d9c4b4120541acdc2b9ca59d826bb7-92666491b3c8ef81-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "33a17279e3f9c3de6a481fb00e4c0e33", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/8733d986-8d2f-4eed-bf20-b003736fe2a5?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "652", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:31:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "33a17279e3f9c3de6a481fb00e4c0e33", + "x-ms-correlation-request-id": "840d4542-6853-4edc-88ae-e16f96c847cc", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;117,Microsoft.Compute/PutDeleteDedicatedHost30Min;597", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "8733d986-8d2f-4eed-bf20-b003736fe2a5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023112Z:840d4542-6853-4edc-88ae-e16f96c847cc" + }, + "ResponseBody": { + "name": "testHost-3949", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "51f978e9-14cd-481b-92ed-00a81dc4f163", + "provisioningTime": "2023-05-25T02:31:06.574328\u002B00:00", + "provisioningState": "Updating", + "timeCreated": "2023-05-25T02:31:06.0430849\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f6d9c4b4120541acdc2b9ca59d826bb7-edfe913d9aa548d6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3cbe40b5688831b51cbcfe54596322dc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "681", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:31:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3cbe40b5688831b51cbcfe54596322dc", + "x-ms-correlation-request-id": "a8a9be97-3a91-490f-ab03-39c11956a524", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;196,Microsoft.Compute/GetDedicatedHost30Min;996", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "5de9be8f-3c8e-48c1-97aa-e399e5e1f75c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023113Z:a8a9be97-3a91-490f-ab03-39c11956a524" + }, + "ResponseBody": { + "name": "testHost-3949", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-9500/providers/Microsoft.Compute/hostGroups/testDHG-4800/hosts/testHost-3949", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "51f978e9-14cd-481b-92ed-00a81dc4f163", + "virtualMachines": [], + "provisioningTime": "2023-05-25T02:31:06.574328\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-25T02:31:06.0430849\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "415836336", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True).json new file mode 100644 index 0000000000000..0c22aad93ef23 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True).json @@ -0,0 +1,485 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1f5a6834cb15f6315435ada291fb4977-557fba2b6bd42b97-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8a09f4d33af3e215320477b6b1364eb0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "24aa8304-367a-42a1-a971-eacae054691a", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "24aa8304-367a-42a1-a971-eacae054691a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093119Z:24aa8304-367a-42a1-a971-eacae054691a" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-6390?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-f15a5489e517df9781e3c4a5bb0c0f2e-49e07f949ddbdd5c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "09cf13258027aa8752ef9ac8859df657", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2e729620-d6eb-418b-9514-b0bab1de8ef8", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "2e729620-d6eb-418b-9514-b0bab1de8ef8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093121Z:2e729620-d6eb-418b-9514-b0bab1de8ef8" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6390", + "name": "testRG-6390", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-2a71daa075e795af8db87ed72336968c-ea99a82cdb89e90c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "080e47eab0fd869cfed6377b0d9565d2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "355", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "080e47eab0fd869cfed6377b0d9565d2", + "x-ms-correlation-request-id": "fbdbf189-76c2-48d4-b5b9-6665a675260a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;84,Microsoft.Compute/PutDeleteDedicatedHost30Min;556", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "2bb5f449-9cb1-4a07-8c58-361b91b9987e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093124Z:fbdbf189-76c2-48d4-b5b9-6665a675260a" + }, + "ResponseBody": { + "name": "testDHG-186", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "98", + "Content-Type": "application/json", + "traceparent": "00-c58ccb20fe136c0380a3192e770d0e1e-7a70c7511ea32553-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f3cd4f35ea0409e26c8fc3f2973bf119", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "DSv3-Type1" + }, + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomain": 0 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/8565a363-decc-4145-94af-a43156743835?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f3cd4f35ea0409e26c8fc3f2973bf119", + "x-ms-correlation-request-id": "35361b30-a6b8-4168-87d7-6de259f943f8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;83,Microsoft.Compute/PutDeleteDedicatedHost30Min;555", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "8565a363-decc-4145-94af-a43156743835", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093125Z:35361b30-a6b8-4168-87d7-6de259f943f8" + }, + "ResponseBody": { + "name": "testHost-1767", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "cf2afd6e-3d43-4f84-8867-bdecf32a0b1c", + "provisioningState": "Creating", + "timeCreated": "2023-05-23T09:31:25.409341\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/8565a363-decc-4145-94af-a43156743835?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c58ccb20fe136c0380a3192e770d0e1e-ea9039e67b001f07-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3693c88a02cfff5365059b6dedaaeec3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "183", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3693c88a02cfff5365059b6dedaaeec3", + "x-ms-correlation-request-id": "7300688f-d516-480c-927c-c02459bcdadf", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29994", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "aeea4294-7a08-483a-8514-1cf2e48ec2f2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093126Z:7300688f-d516-480c-927c-c02459bcdadf" + }, + "ResponseBody": { + "startTime": "2023-05-23T09:31:25.362464\u002B00:00", + "endTime": "2023-05-23T09:31:25.9874606\u002B00:00", + "status": "Succeeded", + "name": "8565a363-decc-4145-94af-a43156743835" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c58ccb20fe136c0380a3192e770d0e1e-acfada25c50bddf0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2ec01ee4fc321226ff577cbadf91c061", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "656", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2ec01ee4fc321226ff577cbadf91c061", + "x-ms-correlation-request-id": "2de5b48c-6c44-4dc2-bccc-d6e3bb890ecd", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;192,Microsoft.Compute/GetDedicatedHost30Min;974", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "73897e93-625b-4630-bb3f-ffcc0a3e1d42", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093126Z:2de5b48c-6c44-4dc2-bccc-d6e3bb890ecd" + }, + "ResponseBody": { + "name": "testHost-1767", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "cf2afd6e-3d43-4f84-8867-bdecf32a0b1c", + "virtualMachines": [], + "provisioningTime": "2023-05-23T09:31:25.9093311\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-23T09:31:25.409341\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-16b28663814dbc4d6cacfe75447ee968-0deb564afe914014-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cf6806f3bba7b8498c6303a787e188cc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:31:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "92fe0584-a4a9-4839-b842-e6668320cb01", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "92fe0584-a4a9-4839-b842-e6668320cb01", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093127Z:92fe0584-a4a9-4839-b842-e6668320cb01" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-16b28663814dbc4d6cacfe75447ee968-0fb33a6ce05ed624-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e67a3a441f41291bd407a1cef87f8a1d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "277", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d41e5f2c-2972-4e24-8bd5-46d28acbd6c6", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "d41e5f2c-2972-4e24-8bd5-46d28acbd6c6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093128Z:d41e5f2c-2972-4e24-8bd5-46d28acbd6c6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-16b28663814dbc4d6cacfe75447ee968-c6b4f711aee90519-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9860b0cf942584157cda2d2684d232f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ce04a7cb-fa22-414d-aebd-7bfd432dd707", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "ce04a7cb-fa22-414d-aebd-7bfd432dd707", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093130Z:ce04a7cb-fa22-414d-aebd-7bfd432dd707" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-16b28663814dbc4d6cacfe75447ee968-f53953e51ae13bfb-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d5a819f68737b0ae24f66a66f1f5a402", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "680", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:31:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d5a819f68737b0ae24f66a66f1f5a402", + "x-ms-correlation-request-id": "611504d7-d753-494f-b9eb-f4fce728caee", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;190,Microsoft.Compute/GetDedicatedHost30Min;970", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "ff243735-3408-4913-ad6d-70de3d250372", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T093132Z:611504d7-d753-494f-b9eb-f4fce728caee" + }, + "ResponseBody": { + "name": "testHost-1767", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-6390/providers/Microsoft.Compute/hostGroups/testDHG-186/hosts/testHost-1767", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "cf2afd6e-3d43-4f84-8867-bdecf32a0b1c", + "virtualMachines": [], + "provisioningTime": "2023-05-23T09:31:25.9093311\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-23T09:31:25.409341\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "850999785", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True)Async.json new file mode 100644 index 0000000000000..91860a5c3502e --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(True)Async.json @@ -0,0 +1,523 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-5321a9b5547f83ff52a2a5e844fe7f67-3c9c943783b4bcf3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7ac5cc2f2077015e4655c5503aeb9165", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "53f3321a-a187-49a9-b581-ce97afaa622e", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "53f3321a-a187-49a9-b581-ce97afaa622e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024229Z:53f3321a-a187-49a9-b581-ce97afaa622e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-472?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-89894eccb9e11929681396514a643a13-21b9835cc0683e1b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "49a7c595ce18b619d8fa2b9720594ca9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "37e7c0b8-e966-491e-9eb6-2ecf8b6c4340", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "37e7c0b8-e966-491e-9eb6-2ecf8b6c4340", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024233Z:37e7c0b8-e966-491e-9eb6-2ecf8b6c4340" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-472", + "name": "testRG-472", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-8f58d86ed5403824209efac943870406-aa07b87ae93e1ab1-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "342ad1d1ef4534dee73b304fbd702d15", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "356", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "342ad1d1ef4534dee73b304fbd702d15", + "x-ms-correlation-request-id": "45ddc067-45d8-46bb-a5fa-8ccccc55c101", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;119,Microsoft.Compute/PutDeleteDedicatedHost30Min;582", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "023b04ef-d074-4102-8597-62d0f543f7f1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024239Z:45ddc067-45d8-46bb-a5fa-8ccccc55c101" + }, + "ResponseBody": { + "name": "testDHG-8184", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "98", + "Content-Type": "application/json", + "traceparent": "00-d75c27bac431894ff070338df13adb46-ddc6e5568a4750eb-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "35e27a658387abad5d6985071bbea4f6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "DSv3-Type1" + }, + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomain": 0 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/3fe6f80b-b59b-4c34-a73c-e16f1f4f9d17?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "35e27a658387abad5d6985071bbea4f6", + "x-ms-correlation-request-id": "9b2f090d-03f4-4afc-805d-389abbeb14f4", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;581", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "3fe6f80b-b59b-4c34-a73c-e16f1f4f9d17", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024243Z:9b2f090d-03f4-4afc-805d-389abbeb14f4" + }, + "ResponseBody": { + "name": "testHost-2358", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "f9dee079-8ac6-4fc7-930a-e04aa1bbd666", + "provisioningState": "Creating", + "timeCreated": "2023-05-25T02:42:42.144701\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/3fe6f80b-b59b-4c34-a73c-e16f1f4f9d17?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d75c27bac431894ff070338df13adb46-f1ab2858fc8d015c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a63215cc16764e21237ed6dc6ad61929", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a63215cc16764e21237ed6dc6ad61929", + "x-ms-correlation-request-id": "8cee2336-0d81-48e7-a607-179d15733546", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29990", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "2c9b2482-8cc1-48d1-ba99-8881f8e32789", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024243Z:8cee2336-0d81-48e7-a607-179d15733546" + }, + "ResponseBody": { + "startTime": "2023-05-25T02:42:42.0509505\u002B00:00", + "status": "InProgress", + "name": "3fe6f80b-b59b-4c34-a73c-e16f1f4f9d17" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/3fe6f80b-b59b-4c34-a73c-e16f1f4f9d17?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d75c27bac431894ff070338df13adb46-7eea282d6a3a169d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7a613a9798b0efebed3c4d1420d10d94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "184", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7a613a9798b0efebed3c4d1420d10d94", + "x-ms-correlation-request-id": "4f5f146f-ae20-4376-a697-fd7e0b0d4d67", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29989", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "aed8b814-f4c9-4921-b569-193cb6ff2d89", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024245Z:4f5f146f-ae20-4376-a697-fd7e0b0d4d67" + }, + "ResponseBody": { + "startTime": "2023-05-25T02:42:42.0509505\u002B00:00", + "endTime": "2023-05-25T02:42:44.1603029\u002B00:00", + "status": "Succeeded", + "name": "3fe6f80b-b59b-4c34-a73c-e16f1f4f9d17" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d75c27bac431894ff070338df13adb46-1a40c167e4a25a9e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "053a1c6ffe8bd77f207071ab9fb03b11", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "656", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "053a1c6ffe8bd77f207071ab9fb03b11", + "x-ms-correlation-request-id": "b2e9c9a7-5a5b-4057-b342-e2e1784efbce", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;198,Microsoft.Compute/GetDedicatedHost30Min;976", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "0389e6f1-9067-4cbd-985d-a7312e551485", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024245Z:b2e9c9a7-5a5b-4057-b342-e2e1784efbce" + }, + "ResponseBody": { + "name": "testHost-2358", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "f9dee079-8ac6-4fc7-930a-e04aa1bbd666", + "virtualMachines": [], + "provisioningTime": "2023-05-25T02:42:42.5821986\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-25T02:42:42.144701\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4ec73fdd522b38d94f5d4551a73dcb23-105b8ecb894ab6c3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "634438597e6734b82a42b83ac80d2e52", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Thu, 25 May 2023 02:42:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "abfaa13a-79f1-42f6-8d88-84e71e8d0078", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "abfaa13a-79f1-42f6-8d88-84e71e8d0078", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024247Z:abfaa13a-79f1-42f6-8d88-84e71e8d0078" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4ec73fdd522b38d94f5d4551a73dcb23-ee87f2af98b2992b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e7ba3c01a98cf12c6406db4845450f12", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "277", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "17f57265-e436-41da-955f-9ad4c270f9c6", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "17f57265-e436-41da-955f-9ad4c270f9c6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024248Z:17f57265-e436-41da-955f-9ad4c270f9c6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-4ec73fdd522b38d94f5d4551a73dcb23-176aeb52382106e7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5d3b1f42ed4446769baca9dd24780dea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1d895dcd-1750-48e3-b980-dc30782f4f70", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "1d895dcd-1750-48e3-b980-dc30782f4f70", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024250Z:1d895dcd-1750-48e3-b980-dc30782f4f70" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4ec73fdd522b38d94f5d4551a73dcb23-c003c33667e76c73-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "08fc477af10413f8c6744ce0004eccec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "680", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:42:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "08fc477af10413f8c6744ce0004eccec", + "x-ms-correlation-request-id": "f2041b13-3409-4a3c-8800-bd709be466a8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;195,Microsoft.Compute/GetDedicatedHost30Min;973", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "29fbcd82-0ab3-4a0c-a235-03182532abd7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T024251Z:f2041b13-3409-4a3c-8800-bd709be466a8" + }, + "ResponseBody": { + "name": "testHost-2358", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-472/providers/Microsoft.Compute/hostGroups/testDHG-8184/hosts/testHost-2358", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "f9dee079-8ac6-4fc7-930a-e04aa1bbd666", + "virtualMachines": [], + "provisioningTime": "2023-05-25T02:42:42.5821986\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-25T02:42:42.144701\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "2098173319", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null).json new file mode 100644 index 0000000000000..332a06e2eb489 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null).json @@ -0,0 +1,1899 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-39150d647532b0dc7cb47626e270ab24-e717565a128216ea-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "eaa882a651538f54b895a02025ff0ad3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "05bffedd-9ad9-4f58-8be6-f9d18f642573", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "05bffedd-9ad9-4f58-8be6-f9d18f642573", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092904Z:05bffedd-9ad9-4f58-8be6-f9d18f642573" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-7955?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-e26cfd994b4edd84b6e5e1554d34c4bc-bb398c330c24073f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b08e6be582a8291dcfab0a652a1aa1e8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "80fa189d-5211-4663-bf4f-b1c6a54008b9", + "x-ms-ratelimit-remaining-subscription-writes": "1172", + "x-ms-request-id": "80fa189d-5211-4663-bf4f-b1c6a54008b9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092904Z:80fa189d-5211-4663-bf4f-b1c6a54008b9" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7955", + "name": "testRG-7955", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-a6e4646b5699013a430c88fb1213bf4c-2f779369aee87538-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "69e51ab819741a26f1ec4b37d0f90d2d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "69e51ab819741a26f1ec4b37d0f90d2d", + "x-ms-correlation-request-id": "a8623cd6-7069-450b-a7d0-93c8806dc4aa", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;103,Microsoft.Compute/PutDeleteDedicatedHost30Min;583", + "x-ms-ratelimit-remaining-subscription-writes": "1171", + "x-ms-request-id": "eaf4bb93-00d7-4a7c-ab4b-ef698ae3fb1b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092906Z:a8623cd6-7069-450b-a7d0-93c8806dc4aa" + }, + "ResponseBody": { + "name": "testDHG-1507", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "98", + "Content-Type": "application/json", + "traceparent": "00-ce4602fedab44a03e5dac7e6a05314a9-8a989f70006739d0-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2eccaf3dd11867ff352785e3ad307506", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "DSv3-Type1" + }, + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomain": 0 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/acee58d8-a393-4e58-bde0-7e2fd4453cb4?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2eccaf3dd11867ff352785e3ad307506", + "x-ms-correlation-request-id": "13305a26-f5e9-4539-b676-9b06e4fdd053", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;102,Microsoft.Compute/PutDeleteDedicatedHost30Min;582", + "x-ms-ratelimit-remaining-subscription-writes": "1170", + "x-ms-request-id": "acee58d8-a393-4e58-bde0-7e2fd4453cb4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092907Z:13305a26-f5e9-4539-b676-9b06e4fdd053" + }, + "ResponseBody": { + "name": "testHost-889", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "6604493d-0efd-4038-893f-a2ba40fde863", + "provisioningState": "Creating", + "timeCreated": "2023-05-23T09:29:07.4109443\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/acee58d8-a393-4e58-bde0-7e2fd4453cb4?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ce4602fedab44a03e5dac7e6a05314a9-e4d47eab81be3114-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7a28dc9e724de6cf1a7d334c93426cc1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "184", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7a28dc9e724de6cf1a7d334c93426cc1", + "x-ms-correlation-request-id": "ab86dc6b-5eaf-4ad1-b643-7d14d008d4db", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "f6f7f18b-5df5-4962-ae89-3e7dd22671b1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092908Z:ab86dc6b-5eaf-4ad1-b643-7d14d008d4db" + }, + "ResponseBody": { + "startTime": "2023-05-23T09:29:07.3171879\u002B00:00", + "endTime": "2023-05-23T09:29:08.0203065\u002B00:00", + "status": "Succeeded", + "name": "acee58d8-a393-4e58-bde0-7e2fd4453cb4" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ce4602fedab44a03e5dac7e6a05314a9-91d03268b19eca49-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b9b2457653a7575b8b00e9a31243304e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "655", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b9b2457653a7575b8b00e9a31243304e", + "x-ms-correlation-request-id": "8489a331-bc15-4ed6-81ff-90a7db169f01", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;199,Microsoft.Compute/GetDedicatedHost30Min;992", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "fb3f79b1-e486-473b-877e-39194bf12afe", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092908Z:8489a331-bc15-4ed6-81ff-90a7db169f01" + }, + "ResponseBody": { + "name": "testHost-889", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "6604493d-0efd-4038-893f-a2ba40fde863", + "virtualMachines": [], + "provisioningTime": "2023-05-23T09:29:07.926556\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-23T09:29:07.4109443\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7548a2606543ad8559479c988138e38-89759d59d54e522e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d144b0cefa0711b8476b9f54b1d63802", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fb2d6257-664b-4da2-b7a8-1dc5431908bd", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "fb2d6257-664b-4da2-b7a8-1dc5431908bd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092908Z:fb2d6257-664b-4da2-b7a8-1dc5431908bd" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7548a2606543ad8559479c988138e38-82da5109194cd8e0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f245fd079f344b2d80d0ef4d882bd3d6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Tue, 23 May 2023 09:29:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cdc50e0a-bfeb-413f-9a98-02dd8d84a0d3", + "x-ms-ratelimit-remaining-subscription-deletes": "14993", + "x-ms-request-id": "cdc50e0a-bfeb-413f-9a98-02dd8d84a0d3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092909Z:cdc50e0a-bfeb-413f-9a98-02dd8d84a0d3" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7548a2606543ad8559479c988138e38-cb3231874ac11c0e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "149ce7c73dfd2e1a82f950370b6b881b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "277", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1513ada7-1970-4f30-a58d-23d3daa01982", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "1513ada7-1970-4f30-a58d-23d3daa01982", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092910Z:1513ada7-1970-4f30-a58d-23d3daa01982" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-a7548a2606543ad8559479c988138e38-4cd5d754bac2a032-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cc06c89754586b0444c965932ef19779", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "290", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "013f8be9-8df2-496d-be66-ef9b40463622", + "x-ms-ratelimit-remaining-subscription-writes": "1169", + "x-ms-request-id": "013f8be9-8df2-496d-be66-ef9b40463622", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092912Z:013f8be9-8df2-496d-be66-ef9b40463622" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a7548a2606543ad8559479c988138e38-6d4334fcba0481e8-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "eba55518d901725ce230d033d7870091", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "679", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 23 May 2023 09:29:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "eba55518d901725ce230d033d7870091", + "x-ms-correlation-request-id": "cc66d8fc-794b-4b57-b6f9-83a5cf906a9b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;198,Microsoft.Compute/GetDedicatedHost30Min;991", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "00712ed4-3f6d-43e2-9c49-ac6a5c7419d1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230523T092912Z:cc66d8fc-794b-4b57-b6f9-83a5cf906a9b" + }, + "ResponseBody": { + "name": "testHost-889", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-7955/providers/Microsoft.Compute/hostGroups/testDHG-1507/hosts/testHost-889", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "6604493d-0efd-4038-893f-a2ba40fde863", + "virtualMachines": [], + "provisioningTime": "2023-05-23T09:29:07.926556\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-23T09:29:07.4109443\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "2042489472", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null)Async.json new file mode 100644 index 0000000000000..1398b73886569 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DedicatedHostOperationsTests/SetTags(null)Async.json @@ -0,0 +1,1899 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d51a6b6827def761a6c1e9981c32aaf1-ba970f46eb45db07-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e5dfa2f691f9dab82e3152d9a6dc53bc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fec1b59f-532c-46c8-9268-57f8ff059fbf", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "fec1b59f-532c-46c8-9268-57f8ff059fbf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023407Z:fec1b59f-532c-46c8-9268-57f8ff059fbf" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-4699?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-195cb6246a19829acd8b9922cf58d40b-0c2582d94da64182-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cb7bb8814eb4a576eb5ec27eecf0ed4a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "eab86a85-63fa-4fc8-a10b-4f4f54de7527", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "eab86a85-63fa-4fc8-a10b-4f4f54de7527", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023411Z:eab86a85-63fa-4fc8-a10b-4f4f54de7527" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4699", + "name": "testRG-4699", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "75", + "Content-Type": "application/json", + "traceparent": "00-ee8cb213706d372a9835975abd4bb270-7dd64349ecbc444c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f2597c225c6e2a1314109291fb423759", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomainCount": 2 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "357", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f2597c225c6e2a1314109291fb423759", + "x-ms-correlation-request-id": "d9496ec0-ab0b-4670-a6df-cd9f92039b38", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;114,Microsoft.Compute/PutDeleteDedicatedHost30Min;591", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "c0580277-e7d1-412f-aca6-d05639a296a0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023418Z:d9496ec0-ab0b-4670-a6df-cd9f92039b38" + }, + "ResponseBody": { + "name": "testDHG-1715", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715", + "type": "Microsoft.Compute/hostGroups", + "location": "eastus", + "tags": {}, + "properties": { + "platformFaultDomainCount": 2, + "supportAutomaticPlacement": false + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059?api-version=2023-03-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "98", + "Content-Type": "application/json", + "traceparent": "00-f262642d2d551646b99e012e2ce7174c-d7aa09c591a4994f-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ab079bd5d67b962a83ebcd7c6bb366e9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "DSv3-Type1" + }, + "tags": {}, + "location": "eastus", + "properties": { + "platformFaultDomain": 0 + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Azure-AsyncNotification": "Enabled", + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/3a68fc54-14de-494d-b25d-1a10da36446d?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "Cache-Control": "no-cache", + "Content-Length": "567", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ab079bd5d67b962a83ebcd7c6bb366e9", + "x-ms-correlation-request-id": "5892e740-3ba0-4565-a70d-90dee8e2a661", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutDeleteDedicatedHost3Min;113,Microsoft.Compute/PutDeleteDedicatedHost30Min;590", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "3a68fc54-14de-494d-b25d-1a10da36446d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023422Z:5892e740-3ba0-4565-a70d-90dee8e2a661" + }, + "ResponseBody": { + "name": "testHost-4059", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "e57effa0-f519-4573-b62b-39099c3108fd", + "provisioningState": "Creating", + "timeCreated": "2023-05-25T02:34:21.0252904\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/operations/3a68fc54-14de-494d-b25d-1a10da36446d?p=6a5473bf-f845-44a5-b675-411600120563\u0026api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f262642d2d551646b99e012e2ce7174c-4191a17f7008dea7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "51a8682741e84bcf51c26e838f97be61", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "184", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "51a8682741e84bcf51c26e838f97be61", + "x-ms-correlation-request-id": "38cce4cc-4a7e-4024-9f7c-b2057e11dc15", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29995", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "d0c40adb-8d74-4510-815d-14c011c5e58a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023422Z:38cce4cc-4a7e-4024-9f7c-b2057e11dc15" + }, + "ResponseBody": { + "startTime": "2023-05-25T02:34:20.9159132\u002B00:00", + "endTime": "2023-05-25T02:34:21.9627746\u002B00:00", + "status": "Succeeded", + "name": "3a68fc54-14de-494d-b25d-1a10da36446d" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f262642d2d551646b99e012e2ce7174c-d6d1a23c8c181f99-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "69d8a8aaf7119aca70e3072a1f87da9f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "658", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "69d8a8aaf7119aca70e3072a1f87da9f", + "x-ms-correlation-request-id": "e3e4a861-2f22-43ae-8ddb-15d87d62e6d8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;196,Microsoft.Compute/GetDedicatedHost30Min;989", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "18f3290a-4b18-4fdc-b69f-e489018e7816", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023423Z:e3e4a861-2f22-43ae-8ddb-15d87d62e6d8" + }, + "ResponseBody": { + "name": "testHost-4059", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": {}, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "e57effa0-f519-4573-b62b-39099c3108fd", + "virtualMachines": [], + "provisioningTime": "2023-05-25T02:34:21.4002819\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-25T02:34:21.0252904\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0b5eaa20da69b77bc9257e2f7ee61f87-e3043c987e449545-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "03542342150a7701c2e5edcdcca7940c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a0d7bb5c-500b-4e8b-a23a-5386ac0e0608", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "a0d7bb5c-500b-4e8b-a23a-5386ac0e0608", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023424Z:a0d7bb5c-500b-4e8b-a23a-5386ac0e0608" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0b5eaa20da69b77bc9257e2f7ee61f87-d76457f5930319b8-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "13f955913f0c2f989d0ee0053aa52bca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Thu, 25 May 2023 02:34:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e6dbe543-b332-4c7c-bf8d-9dd764ab2131", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "e6dbe543-b332-4c7c-bf8d-9dd764ab2131", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023426Z:e6dbe543-b332-4c7c-bf8d-9dd764ab2131" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0b5eaa20da69b77bc9257e2f7ee61f87-3e6b0d3e2fc86c92-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ca98fb4ec78e02928b2465fc34fb3d1d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "278", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "859236ff-9e93-4e40-a1bb-c590abca9085", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "859236ff-9e93-4e40-a1bb-c590abca9085", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023427Z:859236ff-9e93-4e40-a1bb-c590abca9085" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-0b5eaa20da69b77bc9257e2f7ee61f87-d34d638dddf9e0e6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fde623b92866d6c9fe646bab986b25a0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "291", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6577a002-2f87-4a84-aa3c-ed1896d24f3e", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "6577a002-2f87-4a84-aa3c-ed1896d24f3e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023430Z:6577a002-2f87-4a84-aa3c-ed1896d24f3e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": { + "key": "value" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059?api-version=2023-03-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0b5eaa20da69b77bc9257e2f7ee61f87-bbde90d9ccd5c0a9-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230523.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e6738923d016256231c2cb2a5be7691f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "682", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 25 May 2023 02:34:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e6738923d016256231c2cb2a5be7691f", + "x-ms-correlation-request-id": "223ae3fe-05bb-4ca1-8a5e-9a679dc88e7e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetDedicatedHost3Min;194,Microsoft.Compute/GetDedicatedHost30Min;987", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "da57ddb9-df4a-4eee-be37-cd977e23d0dc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230525T023431Z:223ae3fe-05bb-4ca1-8a5e-9a679dc88e7e" + }, + "ResponseBody": { + "name": "testHost-4059", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/TESTRG-4699/providers/Microsoft.Compute/hostGroups/testDHG-1715/hosts/testHost-4059", + "type": "Microsoft.Compute/hostGroups/hosts", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "DSv3-Type1" + }, + "properties": { + "platformFaultDomain": 0, + "autoReplaceOnFailure": true, + "hostId": "e57effa0-f519-4573-b62b-39099c3108fd", + "virtualMachines": [], + "provisioningTime": "2023-05-25T02:34:21.4002819\u002B00:00", + "provisioningState": "Succeeded", + "timeCreated": "2023-05-25T02:34:21.0252904\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1740502562", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False).json new file mode 100644 index 0000000000000..b103e1034ea4f --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False).json @@ -0,0 +1,500 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3690191f5c666b30c4eb15dede1de559-3b250cc9ae982973-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "66f835b7b4991e7093ba021b5faf4cf9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e5308011-0cc1-4a5e-aa3b-370870631ce0", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "e5308011-0cc1-4a5e-aa3b-370870631ce0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033621Z:e5308011-0cc1-4a5e-aa3b-370870631ce0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-1335?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-fdaaa073a5fc2c87d0b3cc47282d077b-847bc483ea40e3a1-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ba51c47c3c6f0aeb113a01b339207c48", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d3f8b11b-9b14-4198-8a4c-5d333919734e", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "d3f8b11b-9b14-4198-8a4c-5d333919734e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033622Z:d3f8b11b-9b14-4198-8a4c-5d333919734e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335", + "name": "testRG-1335", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json", + "traceparent": "00-ae190e085e58efb58e6ad097a827ad65-6f64519cb6147bc7-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5a8133e86ee8b36ec4a443d12f77bdc0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/673a2921-f50a-4001-8cab-21b64a8429cd?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:24 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/673a2921-f50a-4001-8cab-21b64a8429cd?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5a8133e86ee8b36ec4a443d12f77bdc0", + "x-ms-correlation-request-id": "ca541eb2-5513-4856-971e-235e89f77e0d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;93,Microsoft.Compute/HighCostDiskAccess30Min;293", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "673a2921-f50a-4001-8cab-21b64a8429cd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033624Z:ca541eb2-5513-4856-971e-235e89f77e0d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-7002", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/673a2921-f50a-4001-8cab-21b64a8429cd?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ae190e085e58efb58e6ad097a827ad65-2a4f5b1734aebfa0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "19c7169e71780e3e559df5cbf91ada9a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "19c7169e71780e3e559df5cbf91ada9a", + "x-ms-correlation-request-id": "a469e218-66fd-4bb4-a993-d4eb375a8dc6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49987,Microsoft.Compute/GetOperation30Min;399987", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "b72c786e-18f6-40ec-a561-823bcaa5fc16", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033625Z:a469e218-66fd-4bb4-a993-d4eb375a8dc6", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:24.7719509\u002B00:00", + "status": "InProgress", + "name": "673a2921-f50a-4001-8cab-21b64a8429cd" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/673a2921-f50a-4001-8cab-21b64a8429cd?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ae190e085e58efb58e6ad097a827ad65-e3de5b8386892d46-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5486407c2e6eebab6dc5df59cb3896e4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "602", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5486407c2e6eebab6dc5df59cb3896e4", + "x-ms-correlation-request-id": "bb0a9719-5113-4ad4-b98b-2d7d9ce157f5", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49985,Microsoft.Compute/GetOperation30Min;399985", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "bd4fe0d7-39f2-4032-a6db-ded575df147f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033626Z:bb0a9719-5113-4ad4-b98b-2d7d9ce157f5", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:24.7719509\u002B00:00", + "endTime": "2023-05-15T03:36:25.709459\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-7002", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:24.7719509\u002B00:00" + } + } + }, + "name": "673a2921-f50a-4001-8cab-21b64a8429cd" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ae190e085e58efb58e6ad097a827ad65-a18ad78fa95ea353-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "19336123a4b0bb48a7a4f90007fbc260", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "19336123a4b0bb48a7a4f90007fbc260", + "x-ms-correlation-request-id": "55bc2cb0-638b-4b03-85d9-6e0ff7bcd4b6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;990,Microsoft.Compute/LowCostDiskAccessGet30Min;4990", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "d7fc12e8-c170-48ea-8987-de01c842cbf5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033627Z:55bc2cb0-638b-4b03-85d9-6e0ff7bcd4b6", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-7002", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:24.7719509\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-9c855c84d3e6baeba3f3dd935a080db1-1a42607066a8643c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dbb908b32c5970736adbabb291e4421d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "dbb908b32c5970736adbabb291e4421d", + "x-ms-correlation-request-id": "0387eadb-53e8-4290-a822-0e038853c692", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;989,Microsoft.Compute/LowCostDiskAccessGet30Min;4989", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "8222d4fe-7791-4bd0-9e0e-788c52d271cb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033627Z:0387eadb-53e8-4290-a822-0e038853c692", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-7002", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:24.7719509\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002?api-version=2022-07-02", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "24", + "Content-Type": "application/json", + "traceparent": "00-9c855c84d3e6baeba3f3dd935a080db1-346270a5512c86ef-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "97a71006c0e7d8e9f8cbacca34abe372", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/17ef3160-3477-4e4b-ada2-8e111206738d?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:28 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/17ef3160-3477-4e4b-ada2-8e111206738d?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "97a71006c0e7d8e9f8cbacca34abe372", + "x-ms-correlation-request-id": "cdc4b564-3e4c-448c-bf54-a2b63b9c9423", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;92,Microsoft.Compute/HighCostDiskAccess30Min;292", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "17ef3160-3477-4e4b-ada2-8e111206738d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033629Z:cdc4b564-3e4c-448c-bf54-a2b63b9c9423", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-7002", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/17ef3160-3477-4e4b-ada2-8e111206738d?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9c855c84d3e6baeba3f3dd935a080db1-e9adf7c75d9e036b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f7f9dc612a53f2791ee0e38e80a83bbf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "627", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f7f9dc612a53f2791ee0e38e80a83bbf", + "x-ms-correlation-request-id": "62a6062a-ee4a-4dd1-88a3-d2ee0fbfccae", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49982,Microsoft.Compute/GetOperation30Min;399982", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "fa060378-52a6-414f-8075-777ac61e10e1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033629Z:62a6062a-ee4a-4dd1-88a3-d2ee0fbfccae", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:28.9594524\u002B00:00", + "endTime": "2023-05-15T03:36:29.0219594\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-7002", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:24.7719509\u002B00:00" + } + } + }, + "name": "17ef3160-3477-4e4b-ada2-8e111206738d" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9c855c84d3e6baeba3f3dd935a080db1-9742e519b35b48f2-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "13af39f77e3d4b9d85b0a9241114e062", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "13af39f77e3d4b9d85b0a9241114e062", + "x-ms-correlation-request-id": "d6fe1207-9dff-40b2-8a37-90a24a6500fa", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;986,Microsoft.Compute/LowCostDiskAccessGet30Min;4986", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "8ef186b8-adb4-403c-a01d-85753f810cc6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033629Z:d6fe1207-9dff-40b2-8a37-90a24a6500fa", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-7002", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1335/providers/Microsoft.Compute/diskAccesses/testDA-7002", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:24.7719509\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1047546184", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False)Async.json new file mode 100644 index 0000000000000..2c0bfb65068fe --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(False)Async.json @@ -0,0 +1,500 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f063be1b3068aaa5b03b9cad3428697e-c7887528a1d9a505-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0aa679050768d11d7a0bbaf54772a487", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a0f20927-e1e2-4bf1-b039-8b5ddfa5b802", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-request-id": "a0f20927-e1e2-4bf1-b039-8b5ddfa5b802", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033658Z:a0f20927-e1e2-4bf1-b039-8b5ddfa5b802" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-9215?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-e2e8b64a608059338b28019fc7e99ede-2984859c00891430-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "69c3e1bd978fa08315ba46a9067601e8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5a1bd188-f8da-4b44-ad1a-f6c837517b4c", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-request-id": "5a1bd188-f8da-4b44-ad1a-f6c837517b4c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033659Z:5a1bd188-f8da-4b44-ad1a-f6c837517b4c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215", + "name": "testRG-9215", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json", + "traceparent": "00-c34ee5cc81e9812f1cc191d018fe0252-b9b600574359b4ef-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9aaf6e3fab5b9f3476c3da6c752a89e6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4a6de84f-7a32-4449-b09c-afdd018a93a4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4a6de84f-7a32-4449-b09c-afdd018a93a4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9aaf6e3fab5b9f3476c3da6c752a89e6", + "x-ms-correlation-request-id": "fe86eb44-e994-49df-b916-ff892ca937b6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;85,Microsoft.Compute/HighCostDiskAccess30Min;285", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-request-id": "4a6de84f-7a32-4449-b09c-afdd018a93a4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033701Z:fe86eb44-e994-49df-b916-ff892ca937b6", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-4774", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4a6de84f-7a32-4449-b09c-afdd018a93a4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c34ee5cc81e9812f1cc191d018fe0252-416c89639a993d16-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "35325ef409d7115cac23f2ccbd172aeb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "133", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "35325ef409d7115cac23f2ccbd172aeb", + "x-ms-correlation-request-id": "0d257a2c-7d91-4566-979a-aea9597ccb9c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49952,Microsoft.Compute/GetOperation30Min;399952", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-request-id": "01d0b841-798b-468e-89b8-bf5e03fe4626", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033701Z:0d257a2c-7d91-4566-979a-aea9597ccb9c", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:37:01.413036\u002B00:00", + "status": "InProgress", + "name": "4a6de84f-7a32-4449-b09c-afdd018a93a4" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4a6de84f-7a32-4449-b09c-afdd018a93a4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c34ee5cc81e9812f1cc191d018fe0252-919bf707be2dfd77-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "13475f31b17fa39884a01393b9d114a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "599", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "13475f31b17fa39884a01393b9d114a6", + "x-ms-correlation-request-id": "691535c1-1ff6-4572-9da0-f948e028f53e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49951,Microsoft.Compute/GetOperation30Min;399951", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-request-id": "450cedb8-dca3-4b04-bb1b-f3770214c881", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033703Z:691535c1-1ff6-4572-9da0-f948e028f53e", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:37:01.413036\u002B00:00", + "endTime": "2023-05-15T03:37:02.08491\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-4774", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:37:01.413036\u002B00:00" + } + } + }, + "name": "4a6de84f-7a32-4449-b09c-afdd018a93a4" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c34ee5cc81e9812f1cc191d018fe0252-38fccfa523c72743-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "177795be53f7580e97e5a32da91d516f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "377", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "177795be53f7580e97e5a32da91d516f", + "x-ms-correlation-request-id": "7e0a8bf6-80dd-46bd-b94d-fe8151e479da", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;960,Microsoft.Compute/LowCostDiskAccessGet30Min;4960", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-request-id": "ae9acd64-070a-400d-bccb-85e6e8d9e9f9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033703Z:7e0a8bf6-80dd-46bd-b94d-fe8151e479da", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-4774", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:37:01.413036\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-fe5e3d75cbc3da0adc0a20a8d1035761-90b03e62f33fd68b-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2b30069cf18843c5c68eb037f5c858da", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "377", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2b30069cf18843c5c68eb037f5c858da", + "x-ms-correlation-request-id": "18e7c46f-67a1-4018-a3cf-3ed2f1aeb85f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;959,Microsoft.Compute/LowCostDiskAccessGet30Min;4959", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-request-id": "47640c72-ab8d-4196-b99d-7025622c7f71", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033704Z:18e7c46f-67a1-4018-a3cf-3ed2f1aeb85f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-4774", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:37:01.413036\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774?api-version=2022-07-02", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "24", + "Content-Type": "application/json", + "traceparent": "00-fe5e3d75cbc3da0adc0a20a8d1035761-a686f8c22ed8cd4f-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "270d4c0e139fdef351ef7b990d6bfa67", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6b4fbb79-aa62-4ae1-9dbf-e14af862f04b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "282", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:05 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6b4fbb79-aa62-4ae1-9dbf-e14af862f04b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "270d4c0e139fdef351ef7b990d6bfa67", + "x-ms-correlation-request-id": "5d1af2bc-4886-4957-8fee-a25df9e1a375", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;83,Microsoft.Compute/HighCostDiskAccess30Min;283", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-request-id": "6b4fbb79-aa62-4ae1-9dbf-e14af862f04b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033705Z:5d1af2bc-4886-4957-8fee-a25df9e1a375", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-4774", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6b4fbb79-aa62-4ae1-9dbf-e14af862f04b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fe5e3d75cbc3da0adc0a20a8d1035761-40aa6d8801da6a27-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5c1ec88c290f88d01252da99762b355a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "626", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5c1ec88c290f88d01252da99762b355a", + "x-ms-correlation-request-id": "1da2efc8-7cd3-413b-85aa-ec5b6bac4693", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49950,Microsoft.Compute/GetOperation30Min;399950", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-request-id": "035109b2-70b7-4d70-b5bc-30bcb68e5fa7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033705Z:1da2efc8-7cd3-413b-85aa-ec5b6bac4693", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:37:05.0849006\u002B00:00", + "endTime": "2023-05-15T03:37:05.1474081\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-4774", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:37:01.413036\u002B00:00" + } + } + }, + "name": "6b4fbb79-aa62-4ae1-9dbf-e14af862f04b" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fe5e3d75cbc3da0adc0a20a8d1035761-847f5cd8dffa4acb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "52e84994a5d125392e40576bc28a3b7a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:37:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "52e84994a5d125392e40576bc28a3b7a", + "x-ms-correlation-request-id": "c1985e25-dafd-43a6-9c76-079efeb83d44", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;958,Microsoft.Compute/LowCostDiskAccessGet30Min;4958", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-request-id": "4442a710-9eeb-4080-bf3f-ae0cb4163b3a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033706Z:c1985e25-dafd-43a6-9c76-079efeb83d44", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-4774", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9215/providers/Microsoft.Compute/diskAccesses/testDA-4774", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:37:01.413036\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1642857104", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True).json new file mode 100644 index 0000000000000..0df9a102045f0 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True).json @@ -0,0 +1,542 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0fee949c009078e9b9d2729b1676af7f-4ece3d2bd95bcf2f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "09d1134ac8d24ea821766973264bf741", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "38a324e6-1469-42d3-914a-8be20508ef86", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "38a324e6-1469-42d3-914a-8be20508ef86", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033606Z:38a324e6-1469-42d3-914a-8be20508ef86" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-4686?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-6fae6164a10c88e57554fc6734dd279a-9d8184d6d36ffd0b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7946dae6801177497f407ea9fa67d859", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "29cd7bf4-f394-422e-924a-cb6a4af609f1", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "29cd7bf4-f394-422e-924a-cb6a4af609f1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033607Z:29cd7bf4-f394-422e-924a-cb6a4af609f1" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686", + "name": "testRG-4686", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json", + "traceparent": "00-5ff9ea9549b91dd2b394977be67c46b3-b754294620617cda-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6b20065310e294d8e8be06f8b08a04d4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6e5c43f6-4d85-4679-87b6-985a3dbdcace?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6e5c43f6-4d85-4679-87b6-985a3dbdcace?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6b20065310e294d8e8be06f8b08a04d4", + "x-ms-correlation-request-id": "29c17c29-6b0d-43c5-9186-68ce30ee21fe", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;96,Microsoft.Compute/HighCostDiskAccess30Min;296", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "6e5c43f6-4d85-4679-87b6-985a3dbdcace", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033610Z:29c17c29-6b0d-43c5-9186-68ce30ee21fe", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6447", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6e5c43f6-4d85-4679-87b6-985a3dbdcace?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5ff9ea9549b91dd2b394977be67c46b3-283ed943a5cc8f30-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f0f7cc9aa420d60f01b191527950c6f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f0f7cc9aa420d60f01b191527950c6f4", + "x-ms-correlation-request-id": "503c20f7-b103-41d0-bb72-2c26454b9c9b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49994,Microsoft.Compute/GetOperation30Min;399994", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "dacafa3b-d2a7-4116-b25b-a725d104fc6d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033610Z:503c20f7-b103-41d0-bb72-2c26454b9c9b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:10.2094876\u002B00:00", + "status": "InProgress", + "name": "6e5c43f6-4d85-4679-87b6-985a3dbdcace" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6e5c43f6-4d85-4679-87b6-985a3dbdcace?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5ff9ea9549b91dd2b394977be67c46b3-0fe06b0212b6d12f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "44f6a93c0d7d83e903cfac86c770c470", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "603", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "44f6a93c0d7d83e903cfac86c770c470", + "x-ms-correlation-request-id": "5279add1-5f3e-4390-bba0-3dcc3a4eac3a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49993,Microsoft.Compute/GetOperation30Min;399993", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "13f337b4-8d4a-4102-8d03-5995cb23f338", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033611Z:5279add1-5f3e-4390-bba0-3dcc3a4eac3a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:10.2094876\u002B00:00", + "endTime": "2023-05-15T03:36:10.9125854\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-6447", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:10.2094876\u002B00:00" + } + } + }, + "name": "6e5c43f6-4d85-4679-87b6-985a3dbdcace" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5ff9ea9549b91dd2b394977be67c46b3-877d2ae0a185bec0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e35e034113930eb4a613c9bf3fafd76f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e35e034113930eb4a613c9bf3fafd76f", + "x-ms-correlation-request-id": "f3fe9357-098e-47ca-8dd6-55d2c72d7420", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;996,Microsoft.Compute/LowCostDiskAccessGet30Min;4996", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "69519b9c-032d-4305-bca5-be0320bbe642", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033612Z:f3fe9357-098e-47ca-8dd6-55d2c72d7420", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6447", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:10.2094876\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b9cdd0b9fc93724e0514030d1632ff74-4ea6a4965db929ff-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "272b549438828c85e374ec51f8880e90", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:36:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/097def73-4449-4337-ad05-53a5eb36f149?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0d4adf2b-8b14-4399-b2e4-c6e1e2c86f5c", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "0d4adf2b-8b14-4399-b2e4-c6e1e2c86f5c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033613Z:0d4adf2b-8b14-4399-b2e4-c6e1e2c86f5c" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/097def73-4449-4337-ad05-53a5eb36f149?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b9cdd0b9fc93724e0514030d1632ff74-ecda892d7b431d54-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "72f13cf89c4509ed7ed1001f2662151d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "72f13cf89c4509ed7ed1001f2662151d", + "x-ms-correlation-request-id": "d3c21ed6-d7d5-41ed-9264-5292453b2f65", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49991,Microsoft.Compute/GetOperation30Min;399991", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "94caf98b-7674-4340-8b49-0722d46ff2c8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033613Z:d3c21ed6-d7d5-41ed-9264-5292453b2f65", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6447", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:10.2094876\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b9cdd0b9fc93724e0514030d1632ff74-fa31ca2d47c7543e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1dd13804619eb17cf302329a9a1b48b8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "259", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "641ee364-9401-47fa-800d-0d38700ceaa5", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "641ee364-9401-47fa-800d-0d38700ceaa5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033614Z:641ee364-9401-47fa-800d-0d38700ceaa5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-b9cdd0b9fc93724e0514030d1632ff74-d2f9c045ab09903e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bb5998309b96504b3307f721e2420292", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:36:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/477cd440-6a35-4533-ad6c-b852b442c51f?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c0094263-b5db-4e29-a65e-60652b0322a2", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "c0094263-b5db-4e29-a65e-60652b0322a2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033615Z:c0094263-b5db-4e29-a65e-60652b0322a2" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/477cd440-6a35-4533-ad6c-b852b442c51f?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b9cdd0b9fc93724e0514030d1632ff74-92ff2063b8d11685-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8dee47885a086986ed81ea976a5bceb0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8dee47885a086986ed81ea976a5bceb0", + "x-ms-correlation-request-id": "8f851344-0411-47ca-b8b4-4584c7716d2b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49989,Microsoft.Compute/GetOperation30Min;399989", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "d4155ec8-d099-440a-b415-1c335191ece8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033615Z:8f851344-0411-47ca-b8b4-4584c7716d2b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6447", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:10.2094876\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b9cdd0b9fc93724e0514030d1632ff74-5fc3a545c136f31a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1ac89f003cb70a60e3c2fb561c08e5df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1ac89f003cb70a60e3c2fb561c08e5df", + "x-ms-correlation-request-id": "d9b7f23a-ae74-4ff3-bb0e-975d9051340f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;993,Microsoft.Compute/LowCostDiskAccessGet30Min;4993", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "cdeb6e7f-0990-4b14-9677-7ffdad802922", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033616Z:d9b7f23a-ae74-4ff3-bb0e-975d9051340f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6447", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4686/providers/Microsoft.Compute/diskAccesses/testDA-6447", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:10.2094876\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "438113515", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True)Async.json new file mode 100644 index 0000000000000..f073691e51f4f --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(True)Async.json @@ -0,0 +1,542 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c80e7873ce48701e93b6519f7bb3a03b-5edb072643a461e7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7e7da5612083a2d1fd97e46e7f32d886", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c851682b-15bd-47d3-bd1f-754114ae6c92", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "c851682b-15bd-47d3-bd1f-754114ae6c92", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033647Z:c851682b-15bd-47d3-bd1f-754114ae6c92" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-1951?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-4bbdaece6eff4b071ffbd2f12179a1bc-96cf945d71229a15-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2c41ecb1faa7095e6dfe3e9a8857ff19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d8fbf28f-547e-47be-b364-b683bd42d85f", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-request-id": "d8fbf28f-547e-47be-b364-b683bd42d85f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033648Z:d8fbf28f-547e-47be-b364-b683bd42d85f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951", + "name": "testRG-1951", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json", + "traceparent": "00-95bd7659b57183f6a46809223c9af1fa-d4267f5031920b71-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c56cc13315ca39cfde243332a3a717d7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/7f80e61b-c502-453e-a3a1-241603a925e5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/7f80e61b-c502-453e-a3a1-241603a925e5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c56cc13315ca39cfde243332a3a717d7", + "x-ms-correlation-request-id": "ca2feb3b-0cff-4410-96ec-c95e66adbb83", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;88,Microsoft.Compute/HighCostDiskAccess30Min;288", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "7f80e61b-c502-453e-a3a1-241603a925e5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033650Z:ca2feb3b-0cff-4410-96ec-c95e66adbb83", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-5131", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/7f80e61b-c502-453e-a3a1-241603a925e5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95bd7659b57183f6a46809223c9af1fa-595ee3f2401c2a3d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "16ff666f251a9cc21d084e82c62c65c6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "16ff666f251a9cc21d084e82c62c65c6", + "x-ms-correlation-request-id": "0721186a-382c-4b6c-aaca-fc6eab3a86a2", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49967,Microsoft.Compute/GetOperation30Min;399967", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-request-id": "81de2249-69aa-4d12-97ed-1d89f4c7ab50", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033651Z:0721186a-382c-4b6c-aaca-fc6eab3a86a2", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:50.7719578\u002B00:00", + "status": "InProgress", + "name": "7f80e61b-c502-453e-a3a1-241603a925e5" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/7f80e61b-c502-453e-a3a1-241603a925e5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95bd7659b57183f6a46809223c9af1fa-7ebce10255f83320-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a5fc66e6df3cfe7cc3eaa65062fcd57b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "603", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a5fc66e6df3cfe7cc3eaa65062fcd57b", + "x-ms-correlation-request-id": "a57317e2-8055-4840-adbc-b77d1e66628b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49966,Microsoft.Compute/GetOperation30Min;399966", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-request-id": "94f0d4d6-fdad-4966-a4e3-d5eaefca5bdd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033652Z:a57317e2-8055-4840-adbc-b77d1e66628b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:50.7719578\u002B00:00", + "endTime": "2023-05-15T03:36:51.4594504\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-5131", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:50.7719578\u002B00:00" + } + } + }, + "name": "7f80e61b-c502-453e-a3a1-241603a925e5" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95bd7659b57183f6a46809223c9af1fa-c965e0258dc6131d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3dc3a61501a877bd207e0294e77bbbf3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3dc3a61501a877bd207e0294e77bbbf3", + "x-ms-correlation-request-id": "2f7bb40d-84ef-4d46-8393-2d81a57a09fe", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;973,Microsoft.Compute/LowCostDiskAccessGet30Min;4973", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-request-id": "84ef2219-ed3e-43b5-9d78-f2d9559654e5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033653Z:2f7bb40d-84ef-4d46-8393-2d81a57a09fe", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-5131", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:50.7719578\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b4b4ba926d29f48c8103c28231a5b1a7-3d1f0576614ccb3e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fdecec1469668f51e90053307f713920", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:36:53 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/5ff2e94e-4e1e-488f-bee6-c54990307346?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fddd99a1-f334-4e61-9b48-9cfb7e088383", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "fddd99a1-f334-4e61-9b48-9cfb7e088383", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033654Z:fddd99a1-f334-4e61-9b48-9cfb7e088383" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/5ff2e94e-4e1e-488f-bee6-c54990307346?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b4b4ba926d29f48c8103c28231a5b1a7-9efc3c38d6bebdbc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "763cb22ed70fab14553454a7ad8df7af", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "763cb22ed70fab14553454a7ad8df7af", + "x-ms-correlation-request-id": "29653528-ad84-4237-934e-aa4c2fed993d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49964,Microsoft.Compute/GetOperation30Min;399964", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-request-id": "f052a99f-bf91-48ab-9124-711693259f05", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033654Z:29653528-ad84-4237-934e-aa4c2fed993d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-5131", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:50.7719578\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b4b4ba926d29f48c8103c28231a5b1a7-dc07ad0bc0e96b8c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1460e2459b0deb8bce0755e1e593b200", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "259", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e4bc7c8c-8f2a-490f-a11f-ddc1ef307642", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-request-id": "e4bc7c8c-8f2a-490f-a11f-ddc1ef307642", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033654Z:e4bc7c8c-8f2a-490f-a11f-ddc1ef307642" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-b4b4ba926d29f48c8103c28231a5b1a7-4628bbd6af4a6420-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cc010be8c2345c10bec1ca33d376371a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:36:54 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/385eb8e8-7faf-44e5-a264-32985931c937?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "46c40d0b-5a11-4ce4-91be-8ffd413f418d", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-request-id": "46c40d0b-5a11-4ce4-91be-8ffd413f418d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033655Z:46c40d0b-5a11-4ce4-91be-8ffd413f418d" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/385eb8e8-7faf-44e5-a264-32985931c937?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b4b4ba926d29f48c8103c28231a5b1a7-4b685c4da362d84a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a2bf54822b8b827ad104564cd1571858", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a2bf54822b8b827ad104564cd1571858", + "x-ms-correlation-request-id": "21372b22-bcdc-4ba2-8263-1184d4fe5f36", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49962,Microsoft.Compute/GetOperation30Min;399962", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-request-id": "10f9cfa5-3077-433f-8c28-7ab453d0ead0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033655Z:21372b22-bcdc-4ba2-8263-1184d4fe5f36", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-5131", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:50.7719578\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b4b4ba926d29f48c8103c28231a5b1a7-86fb74d4028731fd-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "10533ad0b61ce578d16fa5e41b08d98a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "10533ad0b61ce578d16fa5e41b08d98a", + "x-ms-correlation-request-id": "42e1c555-f078-4bbc-9664-eff79837dc07", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;969,Microsoft.Compute/LowCostDiskAccessGet30Min;4969", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-request-id": "9d271e89-c572-46ec-a3ab-02f709664b64", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033656Z:42e1c555-f078-4bbc-9664-eff79837dc07", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-5131", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1951/providers/Microsoft.Compute/diskAccesses/testDA-5131", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:50.7719578\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1105111574", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null).json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null).json new file mode 100644 index 0000000000000..9127be0f25abf --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null).json @@ -0,0 +1,1956 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-df9825718fe4a1066cf6702fa67a84f8-c51e004c438ee05c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f76dda082ccc4f7995cd52d327adbdb9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d6a046de-b820-4dff-a590-edbdb0c789af", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "d6a046de-b820-4dff-a590-edbdb0c789af", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033544Z:d6a046de-b820-4dff-a590-edbdb0c789af" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-9181?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-f5266ecb26d1a504f8f8fdddbf103801-79bd7c053516c5fc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d9631155d11d269d65aabc2ef4ccc241", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a7a7bb99-61b5-43e6-a66d-2f1ef739ece6", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "a7a7bb99-61b5-43e6-a66d-2f1ef739ece6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033548Z:a7a7bb99-61b5-43e6-a66d-2f1ef739ece6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181", + "name": "testRG-9181", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json", + "traceparent": "00-d437d78fe427f7b876d4576b9a1badb3-41775d553725a60a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b211535e13fec9d1918d8b1ea7188225", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a1674fb6-5a7d-4137-ad55-76a08c1fa2df?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "279", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a1674fb6-5a7d-4137-ad55-76a08c1fa2df?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b211535e13fec9d1918d8b1ea7188225", + "x-ms-correlation-request-id": "1d09134d-c777-4938-8db7-8d57c950937a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;99,Microsoft.Compute/HighCostDiskAccess30Min;299", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "a1674fb6-5a7d-4137-ad55-76a08c1fa2df", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033552Z:1d09134d-c777-4938-8db7-8d57c950937a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6796", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a1674fb6-5a7d-4137-ad55-76a08c1fa2df?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d437d78fe427f7b876d4576b9a1badb3-886e236a7daa326b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6a4ee5119ca84162409a4890467e7e4c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6a4ee5119ca84162409a4890467e7e4c", + "x-ms-correlation-request-id": "49832aeb-4180-483d-8f2d-bad352860752", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "87642af5-31ea-41f7-b336-76e5d59da7f6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033552Z:49832aeb-4180-483d-8f2d-bad352860752", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:35:51.8188373\u002B00:00", + "status": "InProgress", + "name": "a1674fb6-5a7d-4137-ad55-76a08c1fa2df" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a1674fb6-5a7d-4137-ad55-76a08c1fa2df?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d437d78fe427f7b876d4576b9a1badb3-29cd857073693924-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4c9d962723a62f14967558584c02352a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "603", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4c9d962723a62f14967558584c02352a", + "x-ms-correlation-request-id": "a6a188eb-b06d-4e3e-8c80-0e14133a96e7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399998", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "c3358891-1562-4810-9542-4f09a9269903", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033553Z:a6a188eb-b06d-4e3e-8c80-0e14133a96e7", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:35:51.8188373\u002B00:00", + "endTime": "2023-05-15T03:35:52.8188345\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-6796", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:35:51.8500783\u002B00:00" + } + } + }, + "name": "a1674fb6-5a7d-4137-ad55-76a08c1fa2df" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d437d78fe427f7b876d4576b9a1badb3-3037eb717c3672e6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c20d05b418caf47d44e45e92e72c55dc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c20d05b418caf47d44e45e92e72c55dc", + "x-ms-correlation-request-id": "0039b66e-2658-4418-8429-b403944f6ab2", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;999,Microsoft.Compute/LowCostDiskAccessGet30Min;4999", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "3d2667eb-f828-4280-becf-52e281f7ea92", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033554Z:0039b66e-2658-4418-8429-b403944f6ab2", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6796", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:35:51.8500783\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c7fdaa907cc4dd9de1bc55bf812146db-9edbbb0a01257697-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fca77a278cc9eddfd11fd432440af53e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "586ead18-0e7f-494b-92e2-c6e856274e3c", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "586ead18-0e7f-494b-92e2-c6e856274e3c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033555Z:586ead18-0e7f-494b-92e2-c6e856274e3c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c7fdaa907cc4dd9de1bc55bf812146db-f12234cc9d4f7eca-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "40db1e64bc700f8219a808c1c5814869", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:35:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/eba82200-7ab6-4242-91a6-7fcb65987826?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ad4be876-cf50-4ddc-b0d4-8a70d05351fb", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "ad4be876-cf50-4ddc-b0d4-8a70d05351fb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033556Z:ad4be876-cf50-4ddc-b0d4-8a70d05351fb" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/eba82200-7ab6-4242-91a6-7fcb65987826?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c7fdaa907cc4dd9de1bc55bf812146db-ffbf955979b9ee29-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c92d20ef15516a6bf897e321841d284f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "378", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c92d20ef15516a6bf897e321841d284f", + "x-ms-correlation-request-id": "fde726e6-bb90-4a3e-899b-eee36ffbbc08", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399997", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "f1f32ce2-71e7-47b3-8d65-ec425276f0e2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033556Z:fde726e6-bb90-4a3e-899b-eee36ffbbc08", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6796", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:35:51.8500783\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c7fdaa907cc4dd9de1bc55bf812146db-f63a310b72d83340-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c8136ad623d92be2bdb31950cbd7cbce", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "259", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d91b0c87-82d0-4832-8283-28ba95336aaa", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "d91b0c87-82d0-4832-8283-28ba95336aaa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033556Z:d91b0c87-82d0-4832-8283-28ba95336aaa" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-c7fdaa907cc4dd9de1bc55bf812146db-77a2dca4d50b2ab7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a5d2cdf77f530a1810c5d9c3563ea309", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:35:57 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a0d75ecb-f591-41c6-a19b-3863db25226c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f873043e-a2b0-4d58-bd25-c64241636bd7", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "f873043e-a2b0-4d58-bd25-c64241636bd7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033557Z:f873043e-a2b0-4d58-bd25-c64241636bd7" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a0d75ecb-f591-41c6-a19b-3863db25226c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c7fdaa907cc4dd9de1bc55bf812146db-4040c2c4f9d1e106-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b62914cb824b57fb5208b713491fd47e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b62914cb824b57fb5208b713491fd47e", + "x-ms-correlation-request-id": "8e9932cf-bc73-4045-87c0-77dbb3069665", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49996,Microsoft.Compute/GetOperation30Min;399996", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "bdfdb719-1c2b-43ac-a68f-ac4d38e01739", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033558Z:8e9932cf-bc73-4045-87c0-77dbb3069665", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6796", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:35:51.8500783\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c7fdaa907cc4dd9de1bc55bf812146db-67a97651bfcb7464-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2a58100ff2030f976c076751737a0ef5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "402", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:35:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2a58100ff2030f976c076751737a0ef5", + "x-ms-correlation-request-id": "23f8c785-9e0b-4714-8220-c67382d85ab9", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;998,Microsoft.Compute/LowCostDiskAccessGet30Min;4998", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "715136ea-e44e-4248-9b6f-c6a0f61ef48c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033558Z:23f8c785-9e0b-4714-8220-c67382d85ab9", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-6796", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9181/providers/Microsoft.Compute/diskAccesses/testDA-6796", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:35:51.8500783\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "690511930", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null)Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null)Async.json new file mode 100644 index 0000000000000..1bd3601184b69 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/DiskAccessOperationsTests/SetTags(null)Async.json @@ -0,0 +1,1956 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f34635d87631820bd397b16e35cd3ef0-c8b8b9115c29ae76-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4047b2b7c1595438adaeb4027a83c90b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a820062f-5682-461e-ab4f-542dde320f60", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "a820062f-5682-461e-ab4f-542dde320f60", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033635Z:a820062f-5682-461e-ab4f-542dde320f60" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-372?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-74f985865b8029a69682a57d0c044859-5bae6239375a12f3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7cb8f2e48071a90cd6dc4b521c853117", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c3e40f22-740d-4ed7-aaba-7ac15133d88e", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "c3e40f22-740d-4ed7-aaba-7ac15133d88e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033636Z:c3e40f22-740d-4ed7-aaba-7ac15133d88e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372", + "name": "testRG-372", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "47", + "Content-Type": "application/json", + "traceparent": "00-850928f31741b362b0790f184500e057-0498e5d0b48377f1-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f86488f204070017cdacb8624073f7f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "eastus", + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/10c5f476-02f0-4e19-98ab-4c254f09666e?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "278", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:38 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/10c5f476-02f0-4e19-98ab-4c254f09666e?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f86488f204070017cdacb8624073f7f3", + "x-ms-correlation-request-id": "34164344-e3fc-4b89-bc61-754f82541287", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/HighCostDiskAccess3Min;91,Microsoft.Compute/HighCostDiskAccess30Min;291", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "10c5f476-02f0-4e19-98ab-4c254f09666e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033638Z:34164344-e3fc-4b89-bc61-754f82541287", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-1110", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/10c5f476-02f0-4e19-98ab-4c254f09666e?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-850928f31741b362b0790f184500e057-bae9a1f1bc779e33-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "409162d1b6a7dfe5dab7aec4c8aa6862", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "134", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "409162d1b6a7dfe5dab7aec4c8aa6862", + "x-ms-correlation-request-id": "7a6c62d7-0bde-4f5e-99d8-1b19175c7766", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49978,Microsoft.Compute/GetOperation30Min;399978", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "2da067a8-8bf7-4930-a27f-0c963fe4d843", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033638Z:7a6c62d7-0bde-4f5e-99d8-1b19175c7766", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:38.2719717\u002B00:00", + "status": "InProgress", + "name": "10c5f476-02f0-4e19-98ab-4c254f09666e" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/10c5f476-02f0-4e19-98ab-4c254f09666e?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-850928f31741b362b0790f184500e057-90a0b92d66346b53-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "633957e579ebb78f479dc55719bcf672", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "602", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "633957e579ebb78f479dc55719bcf672", + "x-ms-correlation-request-id": "9602d11d-c0cf-4b88-8dbd-28ebce6118f9", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49977,Microsoft.Compute/GetOperation30Min;399977", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "660f9009-bbbc-457e-a6d4-76bc630b59f4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033640Z:9602d11d-c0cf-4b88-8dbd-28ebce6118f9", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:36:38.2719717\u002B00:00", + "endTime": "2023-05-15T03:36:39.0063274\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDA-1110", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:38.2875769\u002B00:00" + } + } + }, + "name": "10c5f476-02f0-4e19-98ab-4c254f09666e" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-850928f31741b362b0790f184500e057-b233ca1db8f3e0bd-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "de91881ab6e2634cd4b9ddd08c7cfe89", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "377", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "de91881ab6e2634cd4b9ddd08c7cfe89", + "x-ms-correlation-request-id": "c8140744-d2fb-4d23-b959-8d4aa6b61d9f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;982,Microsoft.Compute/LowCostDiskAccessGet30Min;4982", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "819920ba-c3ff-41b3-80d0-ec5108ef7358", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033640Z:c8140744-d2fb-4d23-b959-8d4aa6b61d9f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-1110", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:38.2875769\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-36cc985f0c1214a79de87d544f3bb1d6-da8066cb6dc5ca1a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b27688482e215843d2daf90af18dc61e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b8450c2a-0ae9-4f59-9bfd-c6cf2794c289", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "b8450c2a-0ae9-4f59-9bfd-c6cf2794c289", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033640Z:b8450c2a-0ae9-4f59-9bfd-c6cf2794c289" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-36cc985f0c1214a79de87d544f3bb1d6-c67dc9d5b409aecf-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3faa3cc089182e800bd68e329cbe2bcb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:36:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/39b66d53-d323-43f2-b089-74b0c47dcd11?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "218cdeef-c6ff-4654-9b11-df1286a50332", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "218cdeef-c6ff-4654-9b11-df1286a50332", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033641Z:218cdeef-c6ff-4654-9b11-df1286a50332" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/39b66d53-d323-43f2-b089-74b0c47dcd11?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-36cc985f0c1214a79de87d544f3bb1d6-4f47f6843c1ac3d5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "500fbef3bfd2bf700847a74b9f11bc14", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "377", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "500fbef3bfd2bf700847a74b9f11bc14", + "x-ms-correlation-request-id": "9c2b71a4-08d6-4d1d-a3ae-5285a63f4efd", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49974,Microsoft.Compute/GetOperation30Min;399974", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "e86fb3d6-bc3f-4fde-83ed-a3684a2babbb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033642Z:9c2b71a4-08d6-4d1d-a3ae-5285a63f4efd", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-1110", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:38.2875769\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-36cc985f0c1214a79de87d544f3bb1d6-d13df414938c9869-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b56c2eaf347f7cd9eabefadf7d7871c9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "258", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a468fccc-36ce-46e3-84e1-f4166a26b5df", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "a468fccc-36ce-46e3-84e1-f4166a26b5df", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033642Z:a468fccc-36ce-46e3-84e1-f4166a26b5df" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-36cc985f0c1214a79de87d544f3bb1d6-c5edbbf341c7cf00-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dd3e4864dbaedff8ca4f89fd9d064c32", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:36:42 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c0267806-d8fb-4b81-945f-c4550c120b4a?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9c07e672-fccd-40c4-91af-634b2cda0b5c", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-request-id": "9c07e672-fccd-40c4-91af-634b2cda0b5c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033643Z:9c07e672-fccd-40c4-91af-634b2cda0b5c" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c0267806-d8fb-4b81-945f-c4550c120b4a?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-36cc985f0c1214a79de87d544f3bb1d6-56d693d9cf28b0f0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "57e6ddd5ded3d366358ceb30abdbdfe4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "57e6ddd5ded3d366358ceb30abdbdfe4", + "x-ms-correlation-request-id": "abc10545-ec13-48a8-acb0-dc6d9306041f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49972,Microsoft.Compute/GetOperation30Min;399972", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "f26cd25e-cb08-430a-896f-4ec3fc9ea437", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033643Z:abc10545-ec13-48a8-acb0-dc6d9306041f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-1110", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:38.2875769\u002B00:00" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-36cc985f0c1214a79de87d544f3bb1d6-f2e314984269e762-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8662c771e31ea8f4817ff81a75e51a39", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "401", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:36:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8662c771e31ea8f4817ff81a75e51a39", + "x-ms-correlation-request-id": "a32aaee3-4401-4bc7-8b9a-cd9c5cb65dd0", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostDiskAccessGet3Min;978,Microsoft.Compute/LowCostDiskAccessGet30Min;4978", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "28ae4671-8b71-47aa-af01-94677f1a29d1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T033644Z:a32aaee3-4401-4bc7-8b9a-cd9c5cb65dd0", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDA-1110", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-372/providers/Microsoft.Compute/diskAccesses/testDA-1110", + "type": "Microsoft.Compute/diskAccesses", + "location": "eastus", + "tags": { + "key": "value" + }, + "properties": { + "provisioningState": "Succeeded", + "timeCreated": "2023-05-15T03:36:38.2875769\u002B00:00" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "2002119928", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01].json new file mode 100644 index 0000000000000..c0db5f892187e --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01].json @@ -0,0 +1,572 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-db64245a66a2a0c6b248f37203769afb-d51edb52888e35b6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d6d07a77c4151708c71f1b34f0c50fa8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "58c4b960-d430-410b-bfe4-424f9c72f342", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "58c4b960-d430-410b-bfe4-424f9c72f342", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034639Z:58c4b960-d430-410b-bfe4-424f9c72f342" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-8694?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-d7d5356d67581864e8fe6df2ea3eb458-e8bdd111f9b53a31-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "51c187345c7ae01d03e4d36d206c946c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "63d62264-bc1d-4ba6-b1de-fb09d59f7746", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "63d62264-bc1d-4ba6-b1de-fb09d59f7746", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034640Z:63d62264-bc1d-4ba6-b1de-fb09d59f7746" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694", + "name": "testRG-8694", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156?api-version=2019-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-004b5420f555218c439f2bd3f853485b-f2c68d2ff6422d71-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1baacb9f14f8ee532240be441dc0f3d4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/fbcfd3dc-02f1-455e-900e-ac7a05f33241?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/fbcfd3dc-02f1-455e-900e-ac7a05f33241?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1baacb9f14f8ee532240be441dc0f3d4", + "x-ms-correlation-request-id": "690149a6-bb97-483d-ae42-63e308cc91dd", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2993,Microsoft.Compute/CreateUpdateDisks30Min;24993", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "fbcfd3dc-02f1-455e-900e-ac7a05f33241", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034642Z:690149a6-bb97-483d-ae42-63e308cc91dd", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-2156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/fbcfd3dc-02f1-455e-900e-ac7a05f33241?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-004b5420f555218c439f2bd3f853485b-33e3ff0d3983e231-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "432684a07ffe1f9734d32e399ed8c243", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "432684a07ffe1f9734d32e399ed8c243", + "x-ms-correlation-request-id": "5686a477-071d-4928-bc41-053063f28f2a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49983,Microsoft.Compute/GetOperation30Min;399895", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "38a227dd-df6d-4bb5-8841-86109f2f1b5e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034642Z:5686a477-071d-4928-bc41-053063f28f2a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:46:42.3818061\u002B00:00", + "endTime": "2023-05-15T03:46:42.4755568\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-2156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:42.3818061\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "798dbed1-d0c0-4b1f-aeca-96d23e94fe5b" + } + } + }, + "name": "fbcfd3dc-02f1-455e-900e-ac7a05f33241" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-004b5420f555218c439f2bd3f853485b-6a26e5f10ba63a6a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bb24fff12ea9791ecb3662c3522faac9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "785", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "bb24fff12ea9791ecb3662c3522faac9", + "x-ms-correlation-request-id": "87322cfb-74d4-4c82-a6b7-fbbca2481c20", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14983,Microsoft.Compute/LowCostGet30Min;119983", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "ec42bf66-e6bf-45fe-96cb-ae1ebc7cc43f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034643Z:87322cfb-74d4-4c82-a6b7-fbbca2481c20", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-2156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:42.3818061\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "798dbed1-d0c0-4b1f-aeca-96d23e94fe5b" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a76354522e7892e1ca2d7d83ca7cfd3f-49fc9343b4115c7d-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "99a30f41af99c9d6cda33179f7c6d5e0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "785", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "99a30f41af99c9d6cda33179f7c6d5e0", + "x-ms-correlation-request-id": "d6d2ae13-90b1-4e6b-b16c-317cc3744f04", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14981,Microsoft.Compute/LowCostGet30Min;119981", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "1d33daaa-3029-43a1-839e-02b739a1472f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034644Z:d6d2ae13-90b1-4e6b-b16c-317cc3744f04", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-2156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:42.3818061\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "798dbed1-d0c0-4b1f-aeca-96d23e94fe5b" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156?api-version=2019-07-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-a76354522e7892e1ca2d7d83ca7cfd3f-7b689aa1c67445c9-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "44317e734435720565ac78c71cd4cc04", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/f3b33ea1-195d-4036-a585-6bba9c68a2e8?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "489", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:44 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/f3b33ea1-195d-4036-a585-6bba9c68a2e8?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "44317e734435720565ac78c71cd4cc04", + "x-ms-correlation-request-id": "9f600fb2-9e77-4621-b1a7-2d74bec3dcd9", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2992,Microsoft.Compute/CreateUpdateDisks30Min;24992", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "f3b33ea1-195d-4036-a585-6bba9c68a2e8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034645Z:9f600fb2-9e77-4621-b1a7-2d74bec3dcd9", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-2156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/f3b33ea1-195d-4036-a585-6bba9c68a2e8?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a76354522e7892e1ca2d7d83ca7cfd3f-082c1d0bd92fb5a6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d450816166fefd93093133ed360eadf8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1033", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d450816166fefd93093133ed360eadf8", + "x-ms-correlation-request-id": "a15121ba-46c7-4857-9469-b43fb356790b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49979,Microsoft.Compute/GetOperation30Min;399891", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "4877ae32-02ee-475a-ace6-ab78ef8ab04b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034645Z:a15121ba-46c7-4857-9469-b43fb356790b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:46:45.3193076\u002B00:00", + "endTime": "2023-05-15T03:46:45.397425\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-2156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:42.3818061\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "798dbed1-d0c0-4b1f-aeca-96d23e94fe5b" + } + } + }, + "name": "f3b33ea1-195d-4036-a585-6bba9c68a2e8" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a76354522e7892e1ca2d7d83ca7cfd3f-ede8dc5930a60e75-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "91502cd646ce49abd5ef1bdb56ff76c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "809", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "91502cd646ce49abd5ef1bdb56ff76c0", + "x-ms-correlation-request-id": "5f5284e1-deff-42cd-b028-036e43593ad8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14978,Microsoft.Compute/LowCostGet30Min;119978", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "134f0131-9f54-4355-a785-e14e55ec5b9b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034646Z:5f5284e1-deff-42cd-b028-036e43593ad8", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-2156", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8694/providers/Microsoft.Compute/disks/testDisk-2156", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:42.3818061\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "798dbed1-d0c0-4b1f-aeca-96d23e94fe5b" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "854817476", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01]Async.json new file mode 100644 index 0000000000000..626db25147044 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2019-07-01]Async.json @@ -0,0 +1,572 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-7abbef89924441ab3d55e4726f742e41-75348ba1feafe711-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7f2fce147d6efc96f5cd6cc0a55de60a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3b78a755-b195-47db-8b2d-db9e670ee602", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "3b78a755-b195-47db-8b2d-db9e670ee602", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034820Z:3b78a755-b195-47db-8b2d-db9e670ee602" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-2261?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-037fb02663cdb3cbd59f0089c78b9100-f8ccbbd058031553-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "56b4a92d38496c1c5a7342406bb6d175", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e01a2bb3-d2b6-4d93-acab-179284921aba", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "e01a2bb3-d2b6-4d93-acab-179284921aba", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034820Z:e01a2bb3-d2b6-4d93-acab-179284921aba" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261", + "name": "testRG-2261", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232?api-version=2019-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-df5574d9425a2d0550f17fc82ab178f6-f56a320120a331c1-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5cadbe9bd2e66738d64c4e5fc780a09b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c01a1260-d269-4a40-8e30-5194712ca590?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c01a1260-d269-4a40-8e30-5194712ca590?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5cadbe9bd2e66738d64c4e5fc780a09b", + "x-ms-correlation-request-id": "bef0f85c-01b6-4a1a-90c6-13608d3af281", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2969,Microsoft.Compute/CreateUpdateDisks30Min;24969", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "c01a1260-d269-4a40-8e30-5194712ca590", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034822Z:bef0f85c-01b6-4a1a-90c6-13608d3af281", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8232", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c01a1260-d269-4a40-8e30-5194712ca590?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-df5574d9425a2d0550f17fc82ab178f6-332cbb1c7026406b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "28c12feeb25c5bad714c80fceabda4d9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "28c12feeb25c5bad714c80fceabda4d9", + "x-ms-correlation-request-id": "b87a89dd-49c0-4c31-8fe7-b6fe0666266c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49754,Microsoft.Compute/GetOperation30Min;399666", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "bf9af470-d8d9-45e0-bc66-79ee6177bafb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034823Z:b87a89dd-49c0-4c31-8fe7-b6fe0666266c", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:22.6006063\u002B00:00", + "endTime": "2023-05-15T03:48:22.6787702\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-8232", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:22.6006063\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "bf7c0a74-8020-4a64-bce2-eb20348daeb5" + } + } + }, + "name": "c01a1260-d269-4a40-8e30-5194712ca590" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-df5574d9425a2d0550f17fc82ab178f6-e1296cfd0ac11b50-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8566a7d3e502de8f38b6f9e3ae16ae22", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "785", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8566a7d3e502de8f38b6f9e3ae16ae22", + "x-ms-correlation-request-id": "5560cdbf-9100-4411-93c6-f37be2defd87", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14752,Microsoft.Compute/LowCostGet30Min;119752", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "34b352c7-27e9-484a-b084-90ad459f3c9b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034823Z:5560cdbf-9100-4411-93c6-f37be2defd87", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8232", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:22.6006063\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "bf7c0a74-8020-4a64-bce2-eb20348daeb5" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c455c1ed1bd2188566c5cc06a0041426-df87693f33da92a0-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "987097ea77be273e37587a993d880ca5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "785", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "987097ea77be273e37587a993d880ca5", + "x-ms-correlation-request-id": "ffcbbce7-adb4-4266-8353-5bb48f33553d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14747,Microsoft.Compute/LowCostGet30Min;119747", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "4383c180-78f7-4bc6-9dac-6880097e1d0d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034824Z:ffcbbce7-adb4-4266-8353-5bb48f33553d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8232", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:22.6006063\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "bf7c0a74-8020-4a64-bce2-eb20348daeb5" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232?api-version=2019-07-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-c455c1ed1bd2188566c5cc06a0041426-f61351e76a0696b4-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "124e495ddc4d09b39fe3efa6b8c9ac5a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/21ef2489-31f8-488a-8b0b-5be52134787c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "489", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/21ef2489-31f8-488a-8b0b-5be52134787c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "124e495ddc4d09b39fe3efa6b8c9ac5a", + "x-ms-correlation-request-id": "d1b17cf0-6c71-47a8-8ade-9c034ec65c61", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2968,Microsoft.Compute/CreateUpdateDisks30Min;24968", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "21ef2489-31f8-488a-8b0b-5be52134787c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034824Z:d1b17cf0-6c71-47a8-8ade-9c034ec65c61", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8232", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/21ef2489-31f8-488a-8b0b-5be52134787c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c455c1ed1bd2188566c5cc06a0041426-65895fda256da395-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "658653a99bc70ed4e366f8db88976f6d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1034", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "658653a99bc70ed4e366f8db88976f6d", + "x-ms-correlation-request-id": "951bca7a-20b4-43f3-9e06-e0b7b5bbed31", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49748,Microsoft.Compute/GetOperation30Min;399660", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "07d117fe-20c4-413d-9898-8c671077491e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034825Z:951bca7a-20b4-43f3-9e06-e0b7b5bbed31", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:24.8505868\u002B00:00", + "endTime": "2023-05-15T03:48:24.9130744\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-8232", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:22.6006063\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "bf7c0a74-8020-4a64-bce2-eb20348daeb5" + } + } + }, + "name": "21ef2489-31f8-488a-8b0b-5be52134787c" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c455c1ed1bd2188566c5cc06a0041426-d31597165271713b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dffa1fabb97751592ff3a90e8d089ea9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "809", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "dffa1fabb97751592ff3a90e8d089ea9", + "x-ms-correlation-request-id": "78eed9c0-5598-4eeb-8f3e-8584566a5139", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14745,Microsoft.Compute/LowCostGet30Min;119745", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "216f3307-8b99-4b7c-8723-f13acc629d41", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034825Z:78eed9c0-5598-4eeb-8f3e-8584566a5139", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8232", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2261/providers/Microsoft.Compute/disks/testDisk-8232", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:22.6006063\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "bf7c0a74-8020-4a64-bce2-eb20348daeb5" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "432292197", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01].json new file mode 100644 index 0000000000000..b0330d9cd83ac --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01].json @@ -0,0 +1,582 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-67bfe8981440a4e12f48d2112f772583-d85bb0555fe00142-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "20cae015ce803b21f7dcbe1204d64095", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c9bfaf98-d95c-4ae1-9de5-eeecd7eed967", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-request-id": "c9bfaf98-d95c-4ae1-9de5-eeecd7eed967", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034717Z:c9bfaf98-d95c-4ae1-9de5-eeecd7eed967" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-716?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-7b7f4aec612ec8c6c9bc97a8d78a74b0-1cd3459836d8a533-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "27755ba90174236fdc637049448b6d98", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1a887d34-c264-4e2e-88e1-4bc1caac3f02", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-request-id": "1a887d34-c264-4e2e-88e1-4bc1caac3f02", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034717Z:1a887d34-c264-4e2e-88e1-4bc1caac3f02" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716", + "name": "testRG-716", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-42a4b566a12a55d01eebafa134f06194-872fb4e3b039efa7-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b412d333de4e6663dded449ca05e6c62", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ce7c3421-a8e6-44a7-a36e-9c4378f0c6f5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "439", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:20 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ce7c3421-a8e6-44a7-a36e-9c4378f0c6f5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b412d333de4e6663dded449ca05e6c62", + "x-ms-correlation-request-id": "228f3c6a-574f-448d-9c5f-e7552069cab9", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2985,Microsoft.Compute/CreateUpdateDisks30Min;24985", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-request-id": "ce7c3421-a8e6-44a7-a36e-9c4378f0c6f5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034720Z:228f3c6a-574f-448d-9c5f-e7552069cab9", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-7761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ce7c3421-a8e6-44a7-a36e-9c4378f0c6f5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-42a4b566a12a55d01eebafa134f06194-d26078b463665fe7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6ca36ca45582cb66f70f4a86bcd2827d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1088", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6ca36ca45582cb66f70f4a86bcd2827d", + "x-ms-correlation-request-id": "f97d92e0-f9ec-4ff7-8317-ac6ef0b91c78", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49921,Microsoft.Compute/GetOperation30Min;399833", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-request-id": "f6a720ca-15dc-42f1-af55-e671e4f93e7c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034721Z:f97d92e0-f9ec-4ff7-8317-ac6ef0b91c78", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:47:20.5224291\u002B00:00", + "endTime": "2023-05-15T03:47:20.6161804\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-7761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:20.5380622\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "237c3c5c-4705-41e4-bafb-011e5ad27590" + } + } + }, + "name": "ce7c3421-a8e6-44a7-a36e-9c4378f0c6f5" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-42a4b566a12a55d01eebafa134f06194-5e5093ef703df363-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4fb70ef743bd4507674903f1eca69b30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "863", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4fb70ef743bd4507674903f1eca69b30", + "x-ms-correlation-request-id": "1b04beea-8ba1-4640-ba66-cc51af61811a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14918,Microsoft.Compute/LowCostGet30Min;119918", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-request-id": "1fe1ef05-c6ce-41d6-a6c7-3c275a67e440", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034721Z:1b04beea-8ba1-4640-ba66-cc51af61811a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-7761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:20.5380622\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "237c3c5c-4705-41e4-bafb-011e5ad27590" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f701af453d351792cefd1c323e4a4434-8e386819c52fb4d2-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "34f71055ffbb3cdf8e023381a4e50bdd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "863", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "34f71055ffbb3cdf8e023381a4e50bdd", + "x-ms-correlation-request-id": "5b52886f-465f-4ca4-9e3b-919691823cdb", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14915,Microsoft.Compute/LowCostGet30Min;119915", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-request-id": "b07df78d-315c-4930-a658-a7260c3fc38e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034722Z:5b52886f-465f-4ca4-9e3b-919691823cdb", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-7761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:20.5380622\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "237c3c5c-4705-41e4-bafb-011e5ad27590" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761?api-version=2021-04-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-f701af453d351792cefd1c323e4a4434-c1adb1f53433b8bc-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bbc674da48f56176655d05395175de51", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0841dc54-be6d-4906-bc3b-a4965e8ff21c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "488", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0841dc54-be6d-4906-bc3b-a4965e8ff21c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "bbc674da48f56176655d05395175de51", + "x-ms-correlation-request-id": "b389722a-01b2-435a-ae37-10d45cfe9120", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2984,Microsoft.Compute/CreateUpdateDisks30Min;24984", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-request-id": "0841dc54-be6d-4906-bc3b-a4965e8ff21c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034722Z:b389722a-01b2-435a-ae37-10d45cfe9120", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-7761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0841dc54-be6d-4906-bc3b-a4965e8ff21c?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f701af453d351792cefd1c323e4a4434-94221566790e9604-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7716263edfdf0d3a9a95ce5dfaa6ea19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1112", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7716263edfdf0d3a9a95ce5dfaa6ea19", + "x-ms-correlation-request-id": "5e39b114-2b5f-4f2d-bc9a-f18286dde921", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49915,Microsoft.Compute/GetOperation30Min;399827", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-request-id": "49a735d0-634a-409c-b1fc-94954477cfe0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034723Z:5e39b114-2b5f-4f2d-bc9a-f18286dde921", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:47:22.8036902\u002B00:00", + "endTime": "2023-05-15T03:47:22.8818129\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-7761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:20.5380622\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "237c3c5c-4705-41e4-bafb-011e5ad27590" + } + } + }, + "name": "0841dc54-be6d-4906-bc3b-a4965e8ff21c" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f701af453d351792cefd1c323e4a4434-5f06194d84414878-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8a0de1235fb48c02b2cf8d7987ba51df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8a0de1235fb48c02b2cf8d7987ba51df", + "x-ms-correlation-request-id": "b40714a8-2f23-4063-854a-6e4237e6000e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14913,Microsoft.Compute/LowCostGet30Min;119913", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-request-id": "fb9a25bf-5517-4c8e-9195-7d054a1122b0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034723Z:b40714a8-2f23-4063-854a-6e4237e6000e", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-7761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-716/providers/Microsoft.Compute/disks/testDisk-7761", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:20.5380622\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "237c3c5c-4705-41e4-bafb-011e5ad27590" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1363889545", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01]Async.json new file mode 100644 index 0000000000000..a22d1a7715210 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2021-04-01]Async.json @@ -0,0 +1,582 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-8d1dbde1b827ce23b714b469af7950d0-a6713aa641db07a9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5ae896e6a826e7dda71a724bd3e93a76", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "231dc7ef-3352-4d9a-aa49-60e72738b130", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-request-id": "231dc7ef-3352-4d9a-aa49-60e72738b130", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034848Z:231dc7ef-3352-4d9a-aa49-60e72738b130" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-2578?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-4b0b534f8e2f67112043fd50d02cb6d1-089e38db4ed107a4-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8e2d00ef19a1dd566824b9a0825bee25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:48 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e686fc0f-4c2a-4eac-9fc9-a6d5c4518b00", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-request-id": "e686fc0f-4c2a-4eac-9fc9-a6d5c4518b00", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034849Z:e686fc0f-4c2a-4eac-9fc9-a6d5c4518b00" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578", + "name": "testRG-2578", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-76bd99b9aa2bf6492b264467603c5ca6-b1e0223bbdbd315a-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0058120c6c4e3ae40f17d30c1c64d573", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/1ae28d98-2cac-48de-bedb-6d3f65adf16b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/1ae28d98-2cac-48de-bedb-6d3f65adf16b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0058120c6c4e3ae40f17d30c1c64d573", + "x-ms-correlation-request-id": "755b5fff-0cc0-43f7-a7df-743cf9faf553", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2961,Microsoft.Compute/CreateUpdateDisks30Min;24961", + "x-ms-ratelimit-remaining-subscription-writes": "1181", + "x-ms-request-id": "1ae28d98-2cac-48de-bedb-6d3f65adf16b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034851Z:755b5fff-0cc0-43f7-a7df-743cf9faf553", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6454", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/1ae28d98-2cac-48de-bedb-6d3f65adf16b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-76bd99b9aa2bf6492b264467603c5ca6-1e515f594c5aba64-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "27dcae5dfa1d82ef1bf27e8a4649c003", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "27dcae5dfa1d82ef1bf27e8a4649c003", + "x-ms-correlation-request-id": "6681727d-cd25-4eb4-97d5-9a30e0f7121d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49684,Microsoft.Compute/GetOperation30Min;399596", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-request-id": "d3f070e0-6993-4a07-9e31-677e99d435b6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034851Z:6681727d-cd25-4eb4-97d5-9a30e0f7121d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:51.0537063\u002B00:00", + "endTime": "2023-05-15T03:48:51.1318311\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-6454", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:51.0693388\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "686ca769-8137-414c-a3fb-26232848a9d1" + } + } + }, + "name": "1ae28d98-2cac-48de-bedb-6d3f65adf16b" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-76bd99b9aa2bf6492b264467603c5ca6-6932daf8d0ece76e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e9ba464e61ddb31d1d8afc062d2b0d08", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e9ba464e61ddb31d1d8afc062d2b0d08", + "x-ms-correlation-request-id": "579252a5-ca97-4f9c-83ef-30b17c54d37a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14681,Microsoft.Compute/LowCostGet30Min;119681", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-request-id": "c1081ed4-77ed-41be-ba72-85d3522acb65", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034852Z:579252a5-ca97-4f9c-83ef-30b17c54d37a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6454", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:51.0693388\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "686ca769-8137-414c-a3fb-26232848a9d1" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-394dad7bb1e51c1aa4ff27e832c08623-dc4c635f6283f869-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6eaebb7fae88ec55a9fb7114d96b87ba", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6eaebb7fae88ec55a9fb7114d96b87ba", + "x-ms-correlation-request-id": "bf486f07-b951-4121-a870-43caa0dea413", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14678,Microsoft.Compute/LowCostGet30Min;119678", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-request-id": "a4097812-1aa5-47b6-8169-9108b051eab7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034852Z:bf486f07-b951-4121-a870-43caa0dea413", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6454", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:51.0693388\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "686ca769-8137-414c-a3fb-26232848a9d1" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454?api-version=2021-04-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-394dad7bb1e51c1aa4ff27e832c08623-ee60536a422dabd5-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e66a3b87ad4cfb3a90280a93fee854ef", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4f1de138-d4c1-4a24-9cbf-547efdd222c4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "489", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:53 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4f1de138-d4c1-4a24-9cbf-547efdd222c4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e66a3b87ad4cfb3a90280a93fee854ef", + "x-ms-correlation-request-id": "2ddaa4a7-17d0-483f-b937-338076b1002b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2960,Microsoft.Compute/CreateUpdateDisks30Min;24960", + "x-ms-ratelimit-remaining-subscription-writes": "1180", + "x-ms-request-id": "4f1de138-d4c1-4a24-9cbf-547efdd222c4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034853Z:2ddaa4a7-17d0-483f-b937-338076b1002b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6454", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4f1de138-d4c1-4a24-9cbf-547efdd222c4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-394dad7bb1e51c1aa4ff27e832c08623-f1f4e75434e81234-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f17e410226c0d1bc80b3dd5fa3c2edc0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1112", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f17e410226c0d1bc80b3dd5fa3c2edc0", + "x-ms-correlation-request-id": "3e44319f-d57c-4718-a148-2421a5f08caa", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49679,Microsoft.Compute/GetOperation30Min;399591", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-request-id": "82bcf6fd-a910-477d-87fa-5dba49170eea", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034853Z:3e44319f-d57c-4718-a148-2421a5f08caa", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:53.3818332\u002B00:00", + "endTime": "2023-05-15T03:48:53.459958\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-6454", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:51.0693388\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "686ca769-8137-414c-a3fb-26232848a9d1" + } + } + }, + "name": "4f1de138-d4c1-4a24-9cbf-547efdd222c4" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-394dad7bb1e51c1aa4ff27e832c08623-d1f21c2ec86b6550-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "632f81a7fc603520c0caf67d6d590b88", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "632f81a7fc603520c0caf67d6d590b88", + "x-ms-correlation-request-id": "d19f7ba5-e1c7-40bf-b2b8-a36dfc59fae1", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14674,Microsoft.Compute/LowCostGet30Min;119674", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-request-id": "38cea3fe-d026-4307-bca2-5fbd5a806975", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034854Z:d19f7ba5-e1c7-40bf-b2b8-a36dfc59fae1", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6454", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2578/providers/Microsoft.Compute/disks/testDisk-6454", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:51.0693388\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "686ca769-8137-414c-a3fb-26232848a9d1" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1596083257", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02].json new file mode 100644 index 0000000000000..acf4a68d1cdca --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02].json @@ -0,0 +1,583 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a29091fbca69a2f6a1961586518e1aed-1ca1e7bb4959e6f5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0e30c3ebd64f5a75e63ad6bd426e42d5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "02ecf09f-edae-4a44-94d4-5f223380b548", + "x-ms-ratelimit-remaining-subscription-reads": "11942", + "x-ms-request-id": "02ecf09f-edae-4a44-94d4-5f223380b548", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034746Z:02ecf09f-edae-4a44-94d4-5f223380b548" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-3059?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-ecf8911eb78386b4bf5a5a9c2b70148b-1efa92271e0e2828-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b365cc56856dd777cd7f380a5c1cc05a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Connection": "close", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:46 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "354bafc3-60b0-4829-9a3d-9c7c374a6b8b", + "x-ms-ratelimit-remaining-subscription-writes": "1175", + "x-ms-request-id": "354bafc3-60b0-4829-9a3d-9c7c374a6b8b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034747Z:354bafc3-60b0-4829-9a3d-9c7c374a6b8b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059", + "name": "testRG-3059", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-f3ba84ff08ff2c957029df8768a71527-571f1286f1fe9a48-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e9fca83e9a16d2d0c543ad71eee39969", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/27c5ff0f-ca76-45f7-889b-64f4401b7af6?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:52 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/27c5ff0f-ca76-45f7-889b-64f4401b7af6?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e9fca83e9a16d2d0c543ad71eee39969", + "x-ms-correlation-request-id": "d34a1771-697d-4f49-9965-35e23fd2b40f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2977,Microsoft.Compute/CreateUpdateDisks30Min;24977", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "27c5ff0f-ca76-45f7-889b-64f4401b7af6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034752Z:d34a1771-697d-4f49-9965-35e23fd2b40f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8527", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/27c5ff0f-ca76-45f7-889b-64f4401b7af6?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f3ba84ff08ff2c957029df8768a71527-22ef7878511583e5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9a2fe7fd36d8bc08fb92ed2ad806e9e9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9a2fe7fd36d8bc08fb92ed2ad806e9e9", + "x-ms-correlation-request-id": "bb2d160f-b5a4-4e1c-82de-808efe922dde", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49834,Microsoft.Compute/GetOperation30Min;399746", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "eb18ec05-041e-46f5-9756-8a42d2bb79cb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034752Z:bb2d160f-b5a4-4e1c-82de-808efe922dde", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:47:52.3349391\u002B00:00", + "endTime": "2023-05-15T03:47:52.4130582\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-8527", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:52.3349391\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "7e4a4e26-3dee-447c-b937-4038052d965f" + } + } + }, + "name": "27c5ff0f-ca76-45f7-889b-64f4401b7af6" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f3ba84ff08ff2c957029df8768a71527-f6541a43e76cd3f8-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f086cfe6896206d85251529f92dbb1e9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f086cfe6896206d85251529f92dbb1e9", + "x-ms-correlation-request-id": "476bbcaa-5be6-4d19-938e-aee2816b4580", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14829,Microsoft.Compute/LowCostGet30Min;119829", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "40bbc4d3-2a69-4244-9894-3fdf125d8425", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034754Z:476bbcaa-5be6-4d19-938e-aee2816b4580", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8527", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:52.3349391\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "7e4a4e26-3dee-447c-b937-4038052d965f" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-621a6406978544feca7ed48a7d1416b0-d8a68ea436a76156-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0674f364feb44e9062fd3bef4a2bd291", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0674f364feb44e9062fd3bef4a2bd291", + "x-ms-correlation-request-id": "4ec75709-5745-40dc-b9e5-c42f8596d08f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14826,Microsoft.Compute/LowCostGet30Min;119826", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "442de158-ac78-48df-899c-32cfa72400c8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034755Z:4ec75709-5745-40dc-b9e5-c42f8596d08f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8527", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:52.3349391\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "7e4a4e26-3dee-447c-b937-4038052d965f" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527?api-version=2022-07-02", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-621a6406978544feca7ed48a7d1416b0-dfb24f0591eb59a1-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "520f1e8dee5573580f294787e3692a20", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/15d7043b-9a46-422f-ac32-9d9fa073f512?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "489", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/15d7043b-9a46-422f-ac32-9d9fa073f512?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "520f1e8dee5573580f294787e3692a20", + "x-ms-correlation-request-id": "87b1ac06-8afe-4d3f-869a-17bc9553cbeb", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2976,Microsoft.Compute/CreateUpdateDisks30Min;24976", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "15d7043b-9a46-422f-ac32-9d9fa073f512", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034755Z:87b1ac06-8afe-4d3f-869a-17bc9553cbeb", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8527", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/15d7043b-9a46-422f-ac32-9d9fa073f512?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-621a6406978544feca7ed48a7d1416b0-2837e4e16cfef31a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7311c17f5fcb76949b00f68bb7096af8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1113", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "7311c17f5fcb76949b00f68bb7096af8", + "x-ms-correlation-request-id": "4ed3b9bb-efe4-46fb-99c6-b814793af857", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49823,Microsoft.Compute/GetOperation30Min;399735", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "d8074560-c814-4519-82a7-c5f082422ea8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034756Z:4ed3b9bb-efe4-46fb-99c6-b814793af857", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:47:55.7411886\u002B00:00", + "endTime": "2023-05-15T03:47:55.8193071\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-8527", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:52.3349391\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "7e4a4e26-3dee-447c-b937-4038052d965f" + } + } + }, + "name": "15d7043b-9a46-422f-ac32-9d9fa073f512" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-621a6406978544feca7ed48a7d1416b0-2a183c6035770425-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "460e1bd3ed65aaffe927121d5ff32627", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "460e1bd3ed65aaffe927121d5ff32627", + "x-ms-correlation-request-id": "71916dda-9abc-4f36-8a71-0f055197cf82", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14820,Microsoft.Compute/LowCostGet30Min;119820", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "78f9ee38-705a-496a-950d-591ee9a6f347", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034756Z:71916dda-9abc-4f36-8a71-0f055197cf82", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8527", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3059/providers/Microsoft.Compute/disks/testDisk-8527", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:52.3349391\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "7e4a4e26-3dee-447c-b937-4038052d965f" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "839932967", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02]Async.json new file mode 100644 index 0000000000000..4d1fe6d03bb84 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(False)[2022-07-02]Async.json @@ -0,0 +1,582 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-ef7d7f0245b8f7745932ff39b630e983-c7d2f980887b7467-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b0eac024080383d921304bfa9a76d810", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "89051188-d122-43ef-81db-6810e2604376", + "x-ms-ratelimit-remaining-subscription-reads": "11937", + "x-ms-request-id": "89051188-d122-43ef-81db-6810e2604376", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034914Z:89051188-d122-43ef-81db-6810e2604376" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-3786?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-7fa085c4df03eba2d274d0d7a966aad1-700ad5cc45f3a2dc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4b706b0004356c404b756bfc1fd9104d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b844dfd6-77c2-4da6-a312-ed6bbf3c92f6", + "x-ms-ratelimit-remaining-subscription-writes": "1173", + "x-ms-request-id": "b844dfd6-77c2-4da6-a312-ed6bbf3c92f6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034915Z:b844dfd6-77c2-4da6-a312-ed6bbf3c92f6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786", + "name": "testRG-3786", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-d37d088f26adb78192d7a4452e12b7f3-3b0f2c0d334298e2-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5c8a321985c4f86350c6492c877a9944", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ba3800a1-f0a3-496b-9aed-3bacd6b4e542?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ba3800a1-f0a3-496b-9aed-3bacd6b4e542?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5c8a321985c4f86350c6492c877a9944", + "x-ms-correlation-request-id": "b8b1ab8e-08da-4b46-acb7-1946862d7313", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2956,Microsoft.Compute/CreateUpdateDisks30Min;24953", + "x-ms-ratelimit-remaining-subscription-writes": "1172", + "x-ms-request-id": "ba3800a1-f0a3-496b-9aed-3bacd6b4e542", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034917Z:b8b1ab8e-08da-4b46-acb7-1946862d7313", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3280", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ba3800a1-f0a3-496b-9aed-3bacd6b4e542?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d37d088f26adb78192d7a4452e12b7f3-acb9d2a85215f978-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a55c4de93e867a5d0878fa6ebb14e4d0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a55c4de93e867a5d0878fa6ebb14e4d0", + "x-ms-correlation-request-id": "24c882ad-8cab-4214-b48b-2f67a67e15b6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49613,Microsoft.Compute/GetOperation30Min;399519", + "x-ms-ratelimit-remaining-subscription-reads": "11936", + "x-ms-request-id": "5bb42ea2-3db5-437e-b246-99f37f13d715", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034917Z:24c882ad-8cab-4214-b48b-2f67a67e15b6", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:49:16.8818423\u002B00:00", + "endTime": "2023-05-15T03:49:16.9599619\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-3280", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:16.8818423\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2959e35f-8ae3-48a0-816c-096a5c220146" + } + } + }, + "name": "ba3800a1-f0a3-496b-9aed-3bacd6b4e542" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d37d088f26adb78192d7a4452e12b7f3-aa52081de136dec1-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "682727dbf84e4172a7a4ec2cc8fedf2b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "682727dbf84e4172a7a4ec2cc8fedf2b", + "x-ms-correlation-request-id": "06c387f1-d93d-4a78-a24b-676629d85f83", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14607,Microsoft.Compute/LowCostGet30Min;119600", + "x-ms-ratelimit-remaining-subscription-reads": "11935", + "x-ms-request-id": "842fbcd7-f28f-42c1-9959-bc1d2461b4fc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034917Z:06c387f1-d93d-4a78-a24b-676629d85f83", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3280", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:16.8818423\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2959e35f-8ae3-48a0-816c-096a5c220146" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b4040832e642c6662155d51e5d7f4bb3-7f7c18d8d63afa07-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3a42d7b5f41e96bd59101062dd1c2a5b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3a42d7b5f41e96bd59101062dd1c2a5b", + "x-ms-correlation-request-id": "14070690-3b56-41fe-b9d2-0d49f6e2b47c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14604,Microsoft.Compute/LowCostGet30Min;119597", + "x-ms-ratelimit-remaining-subscription-reads": "11934", + "x-ms-request-id": "db838bb5-429d-4116-a4bb-d9e06da8d7a1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034918Z:14070690-3b56-41fe-b9d2-0d49f6e2b47c", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3280", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:16.8818423\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2959e35f-8ae3-48a0-816c-096a5c220146" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280?api-version=2022-07-02", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "40", + "Content-Type": "application/json", + "traceparent": "00-b4040832e642c6662155d51e5d7f4bb3-09131faee33e263e-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f089ecb2a9fdf123db1bfee15230b109", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "key": "value" + }, + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/161799a7-6448-4ee8-b06a-5c447a5af6ea?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "489", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/161799a7-6448-4ee8-b06a-5c447a5af6ea?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f089ecb2a9fdf123db1bfee15230b109", + "x-ms-correlation-request-id": "1dc57dc7-7391-40d3-a74d-b1497723e71a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2955,Microsoft.Compute/CreateUpdateDisks30Min;24952", + "x-ms-ratelimit-remaining-subscription-writes": "1171", + "x-ms-request-id": "161799a7-6448-4ee8-b06a-5c447a5af6ea", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034919Z:1dc57dc7-7391-40d3-a74d-b1497723e71a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3280", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/161799a7-6448-4ee8-b06a-5c447a5af6ea?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b4040832e642c6662155d51e5d7f4bb3-8b7e8ebb921f84f0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dc7a907aee750b2eb3515e02f6dc4429", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1113", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "dc7a907aee750b2eb3515e02f6dc4429", + "x-ms-correlation-request-id": "39060159-43ef-4ace-817a-a396902b9a1e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49605,Microsoft.Compute/GetOperation30Min;399511", + "x-ms-ratelimit-remaining-subscription-reads": "11933", + "x-ms-request-id": "ce3ad286-114b-4e29-9029-08237d2e43ef", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034919Z:39060159-43ef-4ace-817a-a396902b9a1e", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:49:19.1162246\u002B00:00", + "endTime": "2023-05-15T03:49:19.1943695\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-3280", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:16.8818423\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2959e35f-8ae3-48a0-816c-096a5c220146" + } + } + }, + "name": "161799a7-6448-4ee8-b06a-5c447a5af6ea" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b4040832e642c6662155d51e5d7f4bb3-68e393f5fb19ef9c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0ec9075f4663088a3aa2876b9be609cb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0ec9075f4663088a3aa2876b9be609cb", + "x-ms-correlation-request-id": "651319ac-d23d-47f4-97b3-f0a4d44a7beb", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14598,Microsoft.Compute/LowCostGet30Min;119591", + "x-ms-ratelimit-remaining-subscription-reads": "11932", + "x-ms-request-id": "d8277be0-5276-4f59-9092-5bbf0236a16b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034920Z:651319ac-d23d-47f4-97b3-f0a4d44a7beb", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3280", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3786/providers/Microsoft.Compute/disks/testDisk-3280", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:16.8818423\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2959e35f-8ae3-48a0-816c-096a5c220146" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1310799004", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01].json new file mode 100644 index 0000000000000..c12f65d98865b --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01].json @@ -0,0 +1,605 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-08a2bdf776c867974cf96d172fa17e87-4c25c4ca30cf414d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "43e3c5832ef66b43326574ad8ececc66", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a6610adc-b5be-4038-b796-337379fd6da6", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "a6610adc-b5be-4038-b796-337379fd6da6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034626Z:a6610adc-b5be-4038-b796-337379fd6da6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-1189?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-26756a170aeaa46d47cdabb7f1b690a0-4feaf11f40028929-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "23f74a53628708b0f4b65c2142d9c3fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "662e8fb0-f83d-4719-b484-ed14795383cf", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "662e8fb0-f83d-4719-b484-ed14795383cf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034628Z:662e8fb0-f83d-4719-b484-ed14795383cf" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189", + "name": "testRG-1189", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972?api-version=2019-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-9e52ff16f525d3ba2468191c2c31f113-f8a9b8b761cf9b42-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "aec8770fa2d586e435f4724667661bd3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0ace5b61-e20c-4908-8a6f-b8aa38eacb44?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0ace5b61-e20c-4908-8a6f-b8aa38eacb44?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "aec8770fa2d586e435f4724667661bd3", + "x-ms-correlation-request-id": "a91891dd-ca36-4312-ab1b-78fcac35877a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2996,Microsoft.Compute/CreateUpdateDisks30Min;24996", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "0ace5b61-e20c-4908-8a6f-b8aa38eacb44", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034630Z:a91891dd-ca36-4312-ab1b-78fcac35877a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8972", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0ace5b61-e20c-4908-8a6f-b8aa38eacb44?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9e52ff16f525d3ba2468191c2c31f113-d18ad9829e4182d3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "55bf93eade9eb0476670ee93ef69a08d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1009", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "55bf93eade9eb0476670ee93ef69a08d", + "x-ms-correlation-request-id": "efd0480c-8079-4074-8837-06007cee3488", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49992,Microsoft.Compute/GetOperation30Min;399904", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "366a812b-9dc8-46e7-bf0e-dfa9240bec9c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034630Z:efd0480c-8079-4074-8837-06007cee3488", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:46:30.4130574\u002B00:00", + "endTime": "2023-05-15T03:46:30.491172\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-8972", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:30.4130574\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2f22dc59-9f98-4eb7-8b1f-d373eb4372d0" + } + } + }, + "name": "0ace5b61-e20c-4908-8a6f-b8aa38eacb44" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9e52ff16f525d3ba2468191c2c31f113-d7062f6df7e798a6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5833899bb250af6539461be768577724", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "785", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5833899bb250af6539461be768577724", + "x-ms-correlation-request-id": "44187e37-c615-4019-b511-a2c60cf8b45d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14991,Microsoft.Compute/LowCostGet30Min;119991", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "5f013e23-29c7-43b7-9502-bc28745cc4fc", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034631Z:44187e37-c615-4019-b511-a2c60cf8b45d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8972", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:30.4130574\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2f22dc59-9f98-4eb7-8b1f-d373eb4372d0" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-04c349127ecbd7e660c1994881313fa9-679092d4c50b55e3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d45cd8d1c5a70f35a2d8ab2571aa9128", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:46:32 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/822e3320-e199-43c7-baa4-7a5c6c2aa81f?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ea34674e-ae80-4fe9-9d23-71f1c2976eb4", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "ea34674e-ae80-4fe9-9d23-71f1c2976eb4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034632Z:ea34674e-ae80-4fe9-9d23-71f1c2976eb4" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/822e3320-e199-43c7-baa4-7a5c6c2aa81f?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-04c349127ecbd7e660c1994881313fa9-45f28a0297fabd8a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "16c1caf9cc0cd5e65423b678063f3e8e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "16c1caf9cc0cd5e65423b678063f3e8e", + "x-ms-correlation-request-id": "644bf0d0-6759-4f77-b6f4-73000463bc0c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49991,Microsoft.Compute/GetOperation30Min;399903", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "6e5d186b-9da0-49db-9704-e1983656bd53", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034632Z:644bf0d0-6759-4f77-b6f4-73000463bc0c", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8972", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:30.4130574\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2f22dc59-9f98-4eb7-8b1f-d373eb4372d0" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-04c349127ecbd7e660c1994881313fa9-c0a979c7b94f46f9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bb9bf3b5f26607468f24a697a9dd4c43", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d2b30b0a-201d-4a8a-a62f-1c7927b1b8ca", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "d2b30b0a-201d-4a8a-a62f-1c7927b1b8ca", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034633Z:d2b30b0a-201d-4a8a-a62f-1c7927b1b8ca" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-04c349127ecbd7e660c1994881313fa9-144fdf83dbb35ab3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a62c9c907ae9801bc61b31ba14d131ee", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:46:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0969f89f-6822-492b-af89-38b90b1a4612?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ec4d90cd-7eb0-47ea-a3eb-a6992bf33616", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "ec4d90cd-7eb0-47ea-a3eb-a6992bf33616", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034634Z:ec4d90cd-7eb0-47ea-a3eb-a6992bf33616" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0969f89f-6822-492b-af89-38b90b1a4612?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-04c349127ecbd7e660c1994881313fa9-32377cb8d9e1f05f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "69e772d698133ba5d71bf44bc08cf3be", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "69e772d698133ba5d71bf44bc08cf3be", + "x-ms-correlation-request-id": "74b4ead2-6979-48f7-814a-27e57ef6009b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49990,Microsoft.Compute/GetOperation30Min;399902", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "4cc8407a-185b-41c4-92c0-d083ad0e95f8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034634Z:74b4ead2-6979-48f7-814a-27e57ef6009b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8972", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:30.4130574\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2f22dc59-9f98-4eb7-8b1f-d373eb4372d0" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-04c349127ecbd7e660c1994881313fa9-62faba48708d291c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1bc6b7f37d3c037ff525222ef3335977", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "809", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1bc6b7f37d3c037ff525222ef3335977", + "x-ms-correlation-request-id": "7824ef94-9059-4f73-8e80-7fb26f3607a9", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14990,Microsoft.Compute/LowCostGet30Min;119990", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "c4a425c8-f7ef-4372-9361-e0a614634744", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034635Z:7824ef94-9059-4f73-8e80-7fb26f3607a9", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-8972", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1189/providers/Microsoft.Compute/disks/testDisk-8972", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:30.4130574\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "2f22dc59-9f98-4eb7-8b1f-d373eb4372d0" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1258283274", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01]Async.json new file mode 100644 index 0000000000000..d9c51362eaf03 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2019-07-01]Async.json @@ -0,0 +1,605 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-06cc45bec51af5af176ccfb3e417e131-cca7095c7151be6a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7eb86a48204ac79abe052f0b15ddef0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "78a1866b-4b8d-4c0b-abe0-e14072f87377", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "78a1866b-4b8d-4c0b-abe0-e14072f87377", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034810Z:78a1866b-4b8d-4c0b-abe0-e14072f87377" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-1218?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-62bf0d47390d8c2e81f6117749dbbee7-cc33f3bb968cf863-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1c8845d1a15477875b8f5ec49db44310", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "19a64fbb-34d4-4417-b22c-d4a9fc4edf14", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "19a64fbb-34d4-4417-b22c-d4a9fc4edf14", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034811Z:19a64fbb-34d4-4417-b22c-d4a9fc4edf14" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218", + "name": "testRG-1218", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803?api-version=2019-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-8bb08f77b9ccfe9f322da7a6df0df5e5-67e46f186633c67b-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9b74501ec9f09c1a4bc152d8c9d8c6b6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/34c3f5d6-2490-4010-b40f-d38abde79f5b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "438", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:13 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/34c3f5d6-2490-4010-b40f-d38abde79f5b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9b74501ec9f09c1a4bc152d8c9d8c6b6", + "x-ms-correlation-request-id": "118dfe09-1b23-4cdc-a271-7f5d3f9b4a32", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2972,Microsoft.Compute/CreateUpdateDisks30Min;24972", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "34c3f5d6-2490-4010-b40f-d38abde79f5b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034813Z:118dfe09-1b23-4cdc-a271-7f5d3f9b4a32", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/34c3f5d6-2490-4010-b40f-d38abde79f5b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8bb08f77b9ccfe9f322da7a6df0df5e5-b59154cf2fdf6bbd-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9ebe05c82b9708612aebd1934faeae82", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1008", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9ebe05c82b9708612aebd1934faeae82", + "x-ms-correlation-request-id": "82848494-39df-42d6-a7c5-05737592017b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49776,Microsoft.Compute/GetOperation30Min;399688", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "33ab791b-6952-426a-886d-1bb5e4b540d0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034814Z:82848494-39df-42d6-a7c5-05737592017b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:13.6630709\u002B00:00", + "endTime": "2023-05-15T03:48:13.7411941\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:13.6630709\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f64dbc9e-5369-4f78-9da6-8208f2ce8004" + } + } + }, + "name": "34c3f5d6-2490-4010-b40f-d38abde79f5b" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8bb08f77b9ccfe9f322da7a6df0df5e5-1e68a6d2bfa66665-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ea7aa7c91d64f28c3b5da51e030f3451", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "783", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ea7aa7c91d64f28c3b5da51e030f3451", + "x-ms-correlation-request-id": "bee2cef8-c9b7-4aa4-b8cc-6b7380dec476", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14773,Microsoft.Compute/LowCostGet30Min;119773", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "617d81c0-cea1-432f-8ba5-4d441445cb43", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034814Z:bee2cef8-c9b7-4aa4-b8cc-6b7380dec476", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:13.6630709\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f64dbc9e-5369-4f78-9da6-8208f2ce8004" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d7eef4f9d207299250a97952d3056c60-341cebd7a1ac2cf3-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c410d75827191e1e5147fb985a82c747", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:15 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/05a6fb0a-4082-4a1d-a9b0-90b81425e8fb?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8d098df0-b9ca-455c-8679-27574f9a2e91", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "8d098df0-b9ca-455c-8679-27574f9a2e91", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034815Z:8d098df0-b9ca-455c-8679-27574f9a2e91" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/05a6fb0a-4082-4a1d-a9b0-90b81425e8fb?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d7eef4f9d207299250a97952d3056c60-eaf83bba5611af1e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "783a7fb7e99ea168885b991c22f498b9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "862", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "783a7fb7e99ea168885b991c22f498b9", + "x-ms-correlation-request-id": "6f9f4baf-a67b-4ca0-a44b-9679e9f7b553", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49773,Microsoft.Compute/GetOperation30Min;399685", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "83e001d3-21af-41ae-a9b4-687838295573", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034816Z:6f9f4baf-a67b-4ca0-a44b-9679e9f7b553", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:13.6630709\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f64dbc9e-5369-4f78-9da6-8208f2ce8004" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d7eef4f9d207299250a97952d3056c60-63040291adb21643-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c0f95d9673cddbd2c0664b4dc3e4980d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "253", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "38c16d53-d8c1-439d-af6e-3aa44caeb229", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "38c16d53-d8c1-439d-af6e-3aa44caeb229", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034816Z:38c16d53-d8c1-439d-af6e-3aa44caeb229" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-d7eef4f9d207299250a97952d3056c60-00f970053dbc2658-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dae0df424f473aa9daa03823e3f98783", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/b93e8328-fb3c-4d80-af8b-8e97d2121375?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0f2323a7-7d9e-40d2-9a0e-f9510eb58d3b", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "0f2323a7-7d9e-40d2-9a0e-f9510eb58d3b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034817Z:0f2323a7-7d9e-40d2-9a0e-f9510eb58d3b" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/b93e8328-fb3c-4d80-af8b-8e97d2121375?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d7eef4f9d207299250a97952d3056c60-6c9deb4e5a2718d9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "43da8bc3bd144671b4bee62c3aaff8c6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "886", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:16 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "43da8bc3bd144671b4bee62c3aaff8c6", + "x-ms-correlation-request-id": "46a67616-36cd-4685-8bf4-5878f211e9c3", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49768,Microsoft.Compute/GetOperation30Min;399680", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "de6f35da-f1aa-42ee-bccd-3576f11c601f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034817Z:46a67616-36cd-4685-8bf4-5878f211e9c3", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:13.6630709\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f64dbc9e-5369-4f78-9da6-8208f2ce8004" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d7eef4f9d207299250a97952d3056c60-35c87f3911f32a28-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "191ac8de7040fec4919b2de897719dbf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "807", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "191ac8de7040fec4919b2de897719dbf", + "x-ms-correlation-request-id": "c855432a-0df4-4e39-8191-40f24c65fd6c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14764,Microsoft.Compute/LowCostGet30Min;119764", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "4f86e2f7-459e-4611-bd7e-b218649f0ec1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034818Z:c855432a-0df4-4e39-8191-40f24c65fd6c", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-803", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1218/providers/Microsoft.Compute/disks/testDisk-803", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:13.6630709\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f64dbc9e-5369-4f78-9da6-8208f2ce8004" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "75003780", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01].json new file mode 100644 index 0000000000000..75fb82d66a373 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01].json @@ -0,0 +1,611 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-ef6ad4436bbc8c74b496a4895dbbfa93-0c2c9371486f3a90-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4d586ba26f32d476f4725efb73ceaffd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c2698ef0-fe65-4616-a927-55985aa609e9", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "c2698ef0-fe65-4616-a927-55985aa609e9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034703Z:c2698ef0-fe65-4616-a927-55985aa609e9" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-9248?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-942e006ed37e6399b9c1b1c150e906ca-119cd96b866e5131-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e4c05300098339bdb17990396c79c815", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a6e8be8a-2b4e-47a3-8558-0a334c8bd12c", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-request-id": "a6e8be8a-2b4e-47a3-8558-0a334c8bd12c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034704Z:a6e8be8a-2b4e-47a3-8558-0a334c8bd12c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248", + "name": "testRG-9248", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-eb202256b3ff10d35db4f66964ff1cfa-a9ce8724e1f9caa0-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "27e7bbe4db0548122d966090d3ca241d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a8af546d-757d-4b0f-b3ea-324faf74e9a2?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a8af546d-757d-4b0f-b3ea-324faf74e9a2?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "27e7bbe4db0548122d966090d3ca241d", + "x-ms-correlation-request-id": "2726a231-f331-4688-ada2-17f66e8ba732", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2988,Microsoft.Compute/CreateUpdateDisks30Min;24988", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "a8af546d-757d-4b0f-b3ea-324faf74e9a2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034707Z:2726a231-f331-4688-ada2-17f66e8ba732", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-4251", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a8af546d-757d-4b0f-b3ea-324faf74e9a2?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-eb202256b3ff10d35db4f66964ff1cfa-dc2bf825460891ca-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f4e95d330d1625df4177b7eda82c65e7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f4e95d330d1625df4177b7eda82c65e7", + "x-ms-correlation-request-id": "1095dc7a-a4dc-4560-bdca-29c4cbb13765", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49949,Microsoft.Compute/GetOperation30Min;399861", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "12d5b5e4-04c7-4409-8194-cd4ee2134661", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034707Z:1095dc7a-a4dc-4560-bdca-29c4cbb13765", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:47:06.8193037\u002B00:00", + "endTime": "2023-05-15T03:47:06.9130612\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-4251", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:06.8193037\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "80c3f515-542b-4a63-b810-db6cff085ad0" + } + } + }, + "name": "a8af546d-757d-4b0f-b3ea-324faf74e9a2" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-eb202256b3ff10d35db4f66964ff1cfa-e568c1adfaa2f6f1-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "898072540a47267ed498970c1d150372", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "898072540a47267ed498970c1d150372", + "x-ms-correlation-request-id": "47b37ef5-b26d-4f5e-8b38-6185f5a029e0", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14948,Microsoft.Compute/LowCostGet30Min;119948", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "b78efc84-6b4c-4b15-8c39-4501fd4b2224", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034707Z:47b37ef5-b26d-4f5e-8b38-6185f5a029e0", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-4251", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:06.8193037\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "80c3f515-542b-4a63-b810-db6cff085ad0" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-7ea31c29872fec062d9760b6231ec392-7a792af6af0b6859-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "755d7b9030e0ac07030c7c1f06f9a663", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:47:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/232a38d9-216a-414a-89a9-f5e651492c82?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "27c8e39e-17f6-4f60-be4d-e54ea6ed3627", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "27c8e39e-17f6-4f60-be4d-e54ea6ed3627", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034709Z:27c8e39e-17f6-4f60-be4d-e54ea6ed3627" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/232a38d9-216a-414a-89a9-f5e651492c82?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ea31c29872fec062d9760b6231ec392-b3947486d674144a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2d5c4474efcf24066bd3853b8d5f1fda", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "2d5c4474efcf24066bd3853b8d5f1fda", + "x-ms-correlation-request-id": "5621da0e-cd0c-4ce8-a8b8-70c050cfd1b0", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49947,Microsoft.Compute/GetOperation30Min;399859", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "09dd9364-2c76-4c30-aaf3-932a8ec75803", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034709Z:5621da0e-cd0c-4ce8-a8b8-70c050cfd1b0", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-4251", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:06.8193037\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "80c3f515-542b-4a63-b810-db6cff085ad0" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-7ea31c29872fec062d9760b6231ec392-e82c93175f08f192-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "477933f1316c1437dd33971d0f893630", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0e4a6233-b343-4515-8b56-e2e3f79af0b8", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "0e4a6233-b343-4515-8b56-e2e3f79af0b8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034709Z:0e4a6233-b343-4515-8b56-e2e3f79af0b8" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-7ea31c29872fec062d9760b6231ec392-f75b846e93b9df2c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c2aa5104789ca393cf846666f6629c7e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:47:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/d347d95e-6281-43a4-8d2b-ca12c3180e00?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3bef2c3b-69b2-4fe7-9845-cee9ca1f9009", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-request-id": "3bef2c3b-69b2-4fe7-9845-cee9ca1f9009", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034710Z:3bef2c3b-69b2-4fe7-9845-cee9ca1f9009" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/d347d95e-6281-43a4-8d2b-ca12c3180e00?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ea31c29872fec062d9760b6231ec392-66de8e21a9a28e8c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3b36549d5db5783da0d677e8cbd11d7b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3b36549d5db5783da0d677e8cbd11d7b", + "x-ms-correlation-request-id": "0e031f32-7340-4e27-986d-30a099eb0971", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49942,Microsoft.Compute/GetOperation30Min;399854", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-request-id": "c695c420-e3a7-45da-9f42-234b9cde3b19", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034711Z:0e031f32-7340-4e27-986d-30a099eb0971", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-4251", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:06.8193037\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "80c3f515-542b-4a63-b810-db6cff085ad0" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-7ea31c29872fec062d9760b6231ec392-0e4e51abbd12e765-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c9791897f4fc43d79268b55428f74ae6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c9791897f4fc43d79268b55428f74ae6", + "x-ms-correlation-request-id": "f2577a4f-6d07-4bf3-b11d-6f536084fb60", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14941,Microsoft.Compute/LowCostGet30Min;119941", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-request-id": "21350402-175d-483b-8aaf-d2cf3e198c4c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034711Z:f2577a4f-6d07-4bf3-b11d-6f536084fb60", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-4251", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9248/providers/Microsoft.Compute/disks/testDisk-4251", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:06.8193037\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "80c3f515-542b-4a63-b810-db6cff085ad0" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1463521190", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01]Async.json new file mode 100644 index 0000000000000..34fa33e4af704 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2021-04-01]Async.json @@ -0,0 +1,611 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-7fdcd9f4017a1b9b09cf44a8a2fb136d-b8f4feb979bbf3c6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "98b50f482405196ad2047b3263503dba", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "89c349d7-c533-44b4-b449-3cf2fecfa4f0", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-request-id": "89c349d7-c533-44b4-b449-3cf2fecfa4f0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034839Z:89c349d7-c533-44b4-b449-3cf2fecfa4f0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-9108?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-1b48263a32857cc9fd44134ba65d22f5-5d13a9b573865e92-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b3565b556abe703e16b742d7f2989d52", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:39 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4e63b56a-845e-40ed-912c-1ba836e45c28", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-request-id": "4e63b56a-845e-40ed-912c-1ba836e45c28", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034839Z:4e63b56a-845e-40ed-912c-1ba836e45c28" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108", + "name": "testRG-9108", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-5e2a52780b706125fdbc14fdc51c30ba-945787210b011abe-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4ab092eceacf8ad038eddf8c9abdab40", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/55ccd7f4-d884-4892-ac0b-7d976edd2bbf?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/55ccd7f4-d884-4892-ac0b-7d976edd2bbf?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "4ab092eceacf8ad038eddf8c9abdab40", + "x-ms-correlation-request-id": "7fe88f50-32af-413e-8468-bc887ed21a0d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2964,Microsoft.Compute/CreateUpdateDisks30Min;24964", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-request-id": "55ccd7f4-d884-4892-ac0b-7d976edd2bbf", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034841Z:7fe88f50-32af-413e-8468-bc887ed21a0d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3344", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/55ccd7f4-d884-4892-ac0b-7d976edd2bbf?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5e2a52780b706125fdbc14fdc51c30ba-66b83be8203eece1-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ab6411954a0a6b468bcb7ad08ab1d659", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1087", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ab6411954a0a6b468bcb7ad08ab1d659", + "x-ms-correlation-request-id": "709885cc-a422-443a-9fa2-3d75fe3febf7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49707,Microsoft.Compute/GetOperation30Min;399619", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-request-id": "c9f19649-9250-4c5e-a66e-98bc5cf1bf6c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034841Z:709885cc-a422-443a-9fa2-3d75fe3febf7", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:41.475588\u002B00:00", + "endTime": "2023-05-15T03:48:41.5380868\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-3344", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:41.475588\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "c05573af-c3c7-4e6c-9825-8c7ade94e0eb" + } + } + }, + "name": "55ccd7f4-d884-4892-ac0b-7d976edd2bbf" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5e2a52780b706125fdbc14fdc51c30ba-8e28ae718342abd7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e6f9010cc00b57204164ef3adc1db33d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "863", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e6f9010cc00b57204164ef3adc1db33d", + "x-ms-correlation-request-id": "4aec5e9e-3428-489e-8a73-c6e46f222b4f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14703,Microsoft.Compute/LowCostGet30Min;119703", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-request-id": "0a6cdea4-6dd0-4b2d-93bb-b72c06bf7457", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034842Z:4aec5e9e-3428-489e-8a73-c6e46f222b4f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3344", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:41.475588\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "c05573af-c3c7-4e6c-9825-8c7ade94e0eb" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-26ebdc9a7e03648745272f0c518a2b02-895aada1623af9ce-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "89f6fcdcff589335c52251651a80c0a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:43 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/29b1c499-1d0f-4fa9-b66b-d0f684ee9820?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bf60e71c-fb57-4d01-a752-8513e92d2d47", + "x-ms-ratelimit-remaining-subscription-deletes": "14996", + "x-ms-request-id": "bf60e71c-fb57-4d01-a752-8513e92d2d47", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034843Z:bf60e71c-fb57-4d01-a752-8513e92d2d47" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/29b1c499-1d0f-4fa9-b66b-d0f684ee9820?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-26ebdc9a7e03648745272f0c518a2b02-7645a8dcf8ed3b8c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8ef43c184cbb0d00cc6521e86eba3cc1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "863", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8ef43c184cbb0d00cc6521e86eba3cc1", + "x-ms-correlation-request-id": "f6d0b547-53f6-40b1-a14c-8d0f797529ea", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49702,Microsoft.Compute/GetOperation30Min;399614", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-request-id": "6796a946-4379-49cf-b801-5e62d34f8215", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034844Z:f6d0b547-53f6-40b1-a14c-8d0f797529ea", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3344", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:41.475588\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "c05573af-c3c7-4e6c-9825-8c7ade94e0eb" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-26ebdc9a7e03648745272f0c518a2b02-9003e8b82dc1b1b7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "277b46a3de77b13c2421984b958f38b8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ec6199a5-e9bf-4d48-bcd9-05474dad5c16", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-request-id": "ec6199a5-e9bf-4d48-bcd9-05474dad5c16", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034844Z:ec6199a5-e9bf-4d48-bcd9-05474dad5c16" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-26ebdc9a7e03648745272f0c518a2b02-6f34043417a30788-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dd4de492328b71edb498099b08ef6635", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:44 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/14ef24d8-23c2-484b-90cd-becb070338f5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "63ad5a04-56e8-4e0e-9d7c-2fce648f8308", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-request-id": "63ad5a04-56e8-4e0e-9d7c-2fce648f8308", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034845Z:63ad5a04-56e8-4e0e-9d7c-2fce648f8308" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/14ef24d8-23c2-484b-90cd-becb070338f5?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-26ebdc9a7e03648745272f0c518a2b02-ab57da6189732dcb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8a56692c5e6d7135580972dfd5a0a835", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8a56692c5e6d7135580972dfd5a0a835", + "x-ms-correlation-request-id": "095357d9-e77e-4f75-b912-b61a5e48be74", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49699,Microsoft.Compute/GetOperation30Min;399611", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-request-id": "1307aff9-d7c8-4b06-8cd9-481b7ff52f6d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034845Z:095357d9-e77e-4f75-b912-b61a5e48be74", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3344", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:41.475588\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "c05573af-c3c7-4e6c-9825-8c7ade94e0eb" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-26ebdc9a7e03648745272f0c518a2b02-a9c361372286701b-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ec7a62ba248d2a27ee13dd48c854bdff", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ec7a62ba248d2a27ee13dd48c854bdff", + "x-ms-correlation-request-id": "cd00cbf6-9764-4126-947b-70b2a7d9cc17", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14696,Microsoft.Compute/LowCostGet30Min;119696", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-request-id": "7c8b142e-28da-4ef8-9cc3-954956c562c0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034846Z:cd00cbf6-9764-4126-947b-70b2a7d9cc17", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3344", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9108/providers/Microsoft.Compute/disks/testDisk-3344", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:41.475588\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "c05573af-c3c7-4e6c-9825-8c7ade94e0eb" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "309570802", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02].json new file mode 100644 index 0000000000000..8e98c33e125da --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02].json @@ -0,0 +1,611 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e1c665a962e56abc8c46a0ebd655ce39-b465e0f74b9621b9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8a3f60d02c47eaa3c9756ad6ee82ed65", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "015eca8e-fc45-49ac-893d-00a31cecf601", + "x-ms-ratelimit-remaining-subscription-reads": "11949", + "x-ms-request-id": "015eca8e-fc45-49ac-893d-00a31cecf601", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034737Z:015eca8e-fc45-49ac-893d-00a31cecf601" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-360?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-319df40644da97bd02abfff06bf538a0-00794e57b52939d8-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "61fac58533611fc90cde61fb6c5ec1c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "239", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5d7325c9-12f0-40c7-ba7c-b059a472bcab", + "x-ms-ratelimit-remaining-subscription-writes": "1178", + "x-ms-request-id": "5d7325c9-12f0-40c7-ba7c-b059a472bcab", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034738Z:5d7325c9-12f0-40c7-ba7c-b059a472bcab" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360", + "name": "testRG-360", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-e7c295fb72ff3c297cff91f53402cfb6-60480c7d0842bc83-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0c2378b7d75de66ea9b6e741aec3d28c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4f8c2edf-c059-43d4-ac54-ccf709636c50?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "439", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:39 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4f8c2edf-c059-43d4-ac54-ccf709636c50?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "0c2378b7d75de66ea9b6e741aec3d28c", + "x-ms-correlation-request-id": "728573bb-b15a-4147-a075-bca626deaa23", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2980,Microsoft.Compute/CreateUpdateDisks30Min;24980", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-request-id": "4f8c2edf-c059-43d4-ac54-ccf709636c50", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034739Z:728573bb-b15a-4147-a075-bca626deaa23", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9843", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/4f8c2edf-c059-43d4-ac54-ccf709636c50?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e7c295fb72ff3c297cff91f53402cfb6-3bb4639d29364f49-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "75ca2e140942ad5c5613b7aa4c887048", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1088", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "75ca2e140942ad5c5613b7aa4c887048", + "x-ms-correlation-request-id": "a6604269-b7f0-4f40-b11b-66a5640ff8ba", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49869,Microsoft.Compute/GetOperation30Min;399781", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-request-id": "393831a8-efaa-474c-a0ea-ced31ddb3e7a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034740Z:a6604269-b7f0-4f40-b11b-66a5640ff8ba", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:47:39.6786814\u002B00:00", + "endTime": "2023-05-15T03:47:39.7724302\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-9843", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:39.6943075\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f4821270-a9e1-4b1d-b01f-b20ee7bd9b23" + } + } + }, + "name": "4f8c2edf-c059-43d4-ac54-ccf709636c50" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e7c295fb72ff3c297cff91f53402cfb6-8b5dabb9ae15328b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f04ed50c03fd472b79174b35b7a95edb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "863", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f04ed50c03fd472b79174b35b7a95edb", + "x-ms-correlation-request-id": "617dca71-a9f0-48f1-902c-941f6cba94d0", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14868,Microsoft.Compute/LowCostGet30Min;119868", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-request-id": "ebfd5c74-09d7-42c3-ac7f-ddb06aaffed4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034740Z:617dca71-a9f0-48f1-902c-941f6cba94d0", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9843", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:39.6943075\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f4821270-a9e1-4b1d-b01f-b20ee7bd9b23" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e53043299c1b4a2f7ae35db793e06a1c-b07091066c7ed12c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "802cdcad5cf9a34a1fb36781b854bf38", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:47:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6e6ec82f-01ae-4fc5-9091-7dac7eb22f4d?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6503eec8-285e-4ea3-bd2e-a2f56efc419a", + "x-ms-ratelimit-remaining-subscription-deletes": "14994", + "x-ms-request-id": "6503eec8-285e-4ea3-bd2e-a2f56efc419a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034741Z:6503eec8-285e-4ea3-bd2e-a2f56efc419a" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6e6ec82f-01ae-4fc5-9091-7dac7eb22f4d?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e53043299c1b4a2f7ae35db793e06a1c-6a06d1327fa30ee9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "70fcdbb5f05baf4f8aaad14a9ca98e24", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "863", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "70fcdbb5f05baf4f8aaad14a9ca98e24", + "x-ms-correlation-request-id": "83458698-c7d9-4163-bbb2-15bc0d6746cb", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49865,Microsoft.Compute/GetOperation30Min;399777", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-request-id": "d0522ff9-1f7a-45ef-a341-c6ecea7b4aa7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034742Z:83458698-c7d9-4163-bbb2-15bc0d6746cb", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9843", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:39.6943075\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f4821270-a9e1-4b1d-b01f-b20ee7bd9b23" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e53043299c1b4a2f7ae35db793e06a1c-dddb9e225abd007a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e07e1258aaf1955ace1b7d76601fe5f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "253", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:42 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "eb518971-5dd2-409b-9d6f-1b87300746be", + "x-ms-ratelimit-remaining-subscription-reads": "11945", + "x-ms-request-id": "eb518971-5dd2-409b-9d6f-1b87300746be", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034742Z:eb518971-5dd2-409b-9d6f-1b87300746be" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-e53043299c1b4a2f7ae35db793e06a1c-988d5f6d1483c30e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dcccbabd4e57c7dc870829d646c37358", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:47:43 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/47d13f67-5bcd-405a-9c1d-2f7ed3aa4c07?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ffe912ac-9204-4fbb-b265-4c755b82db6c", + "x-ms-ratelimit-remaining-subscription-writes": "1176", + "x-ms-request-id": "ffe912ac-9204-4fbb-b265-4c755b82db6c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034743Z:ffe912ac-9204-4fbb-b265-4c755b82db6c" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/47d13f67-5bcd-405a-9c1d-2f7ed3aa4c07?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e53043299c1b4a2f7ae35db793e06a1c-7b2593559812123e-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e28dd9c4b1dd09cd36b758e981844e0a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "e28dd9c4b1dd09cd36b758e981844e0a", + "x-ms-correlation-request-id": "38a2e115-2242-49ce-994c-7a2a8b9b0851", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49859,Microsoft.Compute/GetOperation30Min;399771", + "x-ms-ratelimit-remaining-subscription-reads": "11944", + "x-ms-request-id": "9759dc3e-c446-4f0e-b3ab-87d118189294", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034743Z:38a2e115-2242-49ce-994c-7a2a8b9b0851", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9843", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:39.6943075\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f4821270-a9e1-4b1d-b01f-b20ee7bd9b23" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e53043299c1b4a2f7ae35db793e06a1c-2a0a5aa174c52345-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "898125a73a4ca74fffc15cf0ac9c54ae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "887", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "898125a73a4ca74fffc15cf0ac9c54ae", + "x-ms-correlation-request-id": "e036aa80-84f3-4531-8de6-14905b557491", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14858,Microsoft.Compute/LowCostGet30Min;119858", + "x-ms-ratelimit-remaining-subscription-reads": "11943", + "x-ms-request-id": "0dd3ba82-8beb-4699-859c-ebdb5b80a8be", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034744Z:e036aa80-84f3-4531-8de6-14905b557491", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9843", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-360/providers/Microsoft.Compute/disks/testDisk-9843", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:39.6943075\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f4821270-a9e1-4b1d-b01f-b20ee7bd9b23" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1066266159", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02]Async.json new file mode 100644 index 0000000000000..70253c8d51c0f --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(True)[2022-07-02]Async.json @@ -0,0 +1,611 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e29c0a628ce94e907457c9e81045b08a-e1c6986b6abbd81a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a0086fbb54a54027605b35629270eb3f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6878363c-75fb-4139-a01d-fcb84d5c86c5", + "x-ms-ratelimit-remaining-subscription-reads": "11944", + "x-ms-request-id": "6878363c-75fb-4139-a01d-fcb84d5c86c5", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034905Z:6878363c-75fb-4139-a01d-fcb84d5c86c5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-3692?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-02c37781539bdcf0f879bd045d0e939c-10dc0e08efd10763-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e73540db688b0d7189dc18dcc975929d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d43f27d0-e5ad-4314-9d36-26378e5675c9", + "x-ms-ratelimit-remaining-subscription-writes": "1176", + "x-ms-request-id": "d43f27d0-e5ad-4314-9d36-26378e5675c9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034906Z:d43f27d0-e5ad-4314-9d36-26378e5675c9" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692", + "name": "testRG-3692", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-3e5891278666ffa354904927a6b52798-61c704c9da657601-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "844f11ef131a669fd9a31b119683a8ed", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/f4c32fbe-e805-4667-8322-c83a3d07b62f?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/f4c32fbe-e805-4667-8322-c83a3d07b62f?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "844f11ef131a669fd9a31b119683a8ed", + "x-ms-correlation-request-id": "9322e85c-dd6a-41bb-8341-e0d3c31e35a8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2959,Microsoft.Compute/CreateUpdateDisks30Min;24956", + "x-ms-ratelimit-remaining-subscription-writes": "1175", + "x-ms-request-id": "f4c32fbe-e805-4667-8322-c83a3d07b62f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034908Z:9322e85c-dd6a-41bb-8341-e0d3c31e35a8", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3522", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/f4c32fbe-e805-4667-8322-c83a3d07b62f?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3e5891278666ffa354904927a6b52798-84703789d95f8159-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "da80f4cf74f0c8d9a1cf0ee74d607705", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "da80f4cf74f0c8d9a1cf0ee74d607705", + "x-ms-correlation-request-id": "f1fdcf0b-8d82-4e94-86a8-c7060458c64e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49642,Microsoft.Compute/GetOperation30Min;399548", + "x-ms-ratelimit-remaining-subscription-reads": "11943", + "x-ms-request-id": "eb83d11b-97a9-4fe6-ada6-e62950e63476", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034908Z:f1fdcf0b-8d82-4e94-86a8-c7060458c64e", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:49:07.9443338\u002B00:00", + "endTime": "2023-05-15T03:49:08.0224591\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-3522", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:07.9443338\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "ea8220f2-426a-47cf-891c-20fcaef2aecc" + } + } + }, + "name": "f4c32fbe-e805-4667-8322-c83a3d07b62f" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3e5891278666ffa354904927a6b52798-5fc3664661a3f155-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "19992b3304c71b9e2caf558348533e55", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "19992b3304c71b9e2caf558348533e55", + "x-ms-correlation-request-id": "0b131b26-c1b3-4d5a-a011-eae938e6dd42", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14636,Microsoft.Compute/LowCostGet30Min;119629", + "x-ms-ratelimit-remaining-subscription-reads": "11942", + "x-ms-request-id": "cd76a8e2-b456-4971-b66f-f6f04375d7f0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034908Z:0b131b26-c1b3-4d5a-a011-eae938e6dd42", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3522", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:07.9443338\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "ea8220f2-426a-47cf-891c-20fcaef2aecc" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-6d305e7efd74e4aab949f905c2ccc6ac-65bcac572954ea57-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a1415b10ce02cefdd5e5ec2ec6fc52cd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:49:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/fecf626b-519a-43dd-b546-ab7592d0190d?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ca796126-9c52-419e-a059-98c91423a688", + "x-ms-ratelimit-remaining-subscription-deletes": "14994", + "x-ms-request-id": "ca796126-9c52-419e-a059-98c91423a688", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034910Z:ca796126-9c52-419e-a059-98c91423a688" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/fecf626b-519a-43dd-b546-ab7592d0190d?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6d305e7efd74e4aab949f905c2ccc6ac-4deb6bc72e68516a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f1d7b891d61f65032ecb44e1176f5530", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f1d7b891d61f65032ecb44e1176f5530", + "x-ms-correlation-request-id": "f81161ac-790b-41db-8e92-49ed1e382a35", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49635,Microsoft.Compute/GetOperation30Min;399541", + "x-ms-ratelimit-remaining-subscription-reads": "11941", + "x-ms-request-id": "e63a67c0-35f7-46ee-8394-6e2c5b64943b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034910Z:f81161ac-790b-41db-8e92-49ed1e382a35", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3522", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:07.9443338\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "ea8220f2-426a-47cf-891c-20fcaef2aecc" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-6d305e7efd74e4aab949f905c2ccc6ac-ad52dd9b033d39f1-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8263875c423b976b64764a9d20bcaf7f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:10 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7c41b688-af82-4ca3-817b-1e0e9386017f", + "x-ms-ratelimit-remaining-subscription-reads": "11940", + "x-ms-request-id": "7c41b688-af82-4ca3-817b-1e0e9386017f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034910Z:7c41b688-af82-4ca3-817b-1e0e9386017f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-6d305e7efd74e4aab949f905c2ccc6ac-5c09b6972f6a6998-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0d9d9f65612548aec2b2cd1f3416b4e6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:49:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c54480bf-cdb8-412f-b120-a02184248e08?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9a15561f-60cd-4e2b-84ed-85bfe288d00a", + "x-ms-ratelimit-remaining-subscription-writes": "1174", + "x-ms-request-id": "9a15561f-60cd-4e2b-84ed-85bfe288d00a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034911Z:9a15561f-60cd-4e2b-84ed-85bfe288d00a" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c54480bf-cdb8-412f-b120-a02184248e08?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6d305e7efd74e4aab949f905c2ccc6ac-ed3f25195b064af1-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "787cc51b47d2fa0bd81bc088744c624d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "787cc51b47d2fa0bd81bc088744c624d", + "x-ms-correlation-request-id": "47aae161-2b8a-46c7-97b5-c8e4b278e6d9", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49632,Microsoft.Compute/GetOperation30Min;399538", + "x-ms-ratelimit-remaining-subscription-reads": "11939", + "x-ms-request-id": "abe2bd5a-7c1f-4efc-af7e-d7b999df3d27", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034911Z:47aae161-2b8a-46c7-97b5-c8e4b278e6d9", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3522", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:07.9443338\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "ea8220f2-426a-47cf-891c-20fcaef2aecc" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-6d305e7efd74e4aab949f905c2ccc6ac-c52f4cf513277e6b-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a38d64c217d8688c8d4fc1e5d405bd5c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a38d64c217d8688c8d4fc1e5d405bd5c", + "x-ms-correlation-request-id": "da156978-8cca-44a7-8431-0a5931f037f4", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14627,Microsoft.Compute/LowCostGet30Min;119620", + "x-ms-ratelimit-remaining-subscription-reads": "11938", + "x-ms-request-id": "a973a2c7-51d1-4a12-a429-88d37037adf9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034912Z:da156978-8cca-44a7-8431-0a5931f037f4", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3522", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-3692/providers/Microsoft.Compute/disks/testDisk-3522", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:49:07.9443338\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "ea8220f2-426a-47cf-891c-20fcaef2aecc" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1399319492", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01].json new file mode 100644 index 0000000000000..70a907329dc5d --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01].json @@ -0,0 +1,2019 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-9b95cb0f1a59b5a57d56bf73d40ac149-b038a2cacf22999d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "89727225809da9bba0ce942750f73e18", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "439a8bdc-568d-4489-97e7-376d55cc5b19", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "439a8bdc-568d-4489-97e7-376d55cc5b19", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034604Z:439a8bdc-568d-4489-97e7-376d55cc5b19" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-1550?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-250ad537dbf5f6325ed446d9d95998f8-0efdf803a4b67ad9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "09a17f0bcfc3c1aa76a3621938083656", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a213b369-12fd-41ac-910a-1775956356c1", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "a213b369-12fd-41ac-910a-1775956356c1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034608Z:a213b369-12fd-41ac-910a-1775956356c1" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550", + "name": "testRG-1550", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862?api-version=2019-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-20090f8af1070dac4ff2476960dde26e-57aae6aa07c24730-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c7e73f253ee48c11b206dbbff232f1d9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/8637a0df-6e2b-4ff4-bf17-f9b38f5a0aee?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/8637a0df-6e2b-4ff4-bf17-f9b38f5a0aee?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c7e73f253ee48c11b206dbbff232f1d9", + "x-ms-correlation-request-id": "6dbf3564-9a1f-4796-b12e-6f1f466dbc3d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2999,Microsoft.Compute/CreateUpdateDisks30Min;24999", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "8637a0df-6e2b-4ff4-bf17-f9b38f5a0aee", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034612Z:6dbf3564-9a1f-4796-b12e-6f1f466dbc3d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/8637a0df-6e2b-4ff4-bf17-f9b38f5a0aee?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-20090f8af1070dac4ff2476960dde26e-1c684c3327278293-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ffd1f9f09931cc846e1457bdf3ebcf44", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1006", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ffd1f9f09931cc846e1457bdf3ebcf44", + "x-ms-correlation-request-id": "8b166101-a631-4c42-9364-df9522802237", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399911", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "8c814f37-47c9-4f97-a900-44c249a5f363", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034612Z:8b166101-a631-4c42-9364-df9522802237", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:46:12.20992\u002B00:00", + "endTime": "2023-05-15T03:46:12.3036645\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-9862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:12.20992\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f7579582-161f-4f96-99ac-55a81eec7d1d" + } + } + }, + "name": "8637a0df-6e2b-4ff4-bf17-f9b38f5a0aee" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-20090f8af1070dac4ff2476960dde26e-41f3ee1f510cb34a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a2a689b168cf09759144e80835f8462b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "783", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a2a689b168cf09759144e80835f8462b", + "x-ms-correlation-request-id": "da639f92-821a-4d0f-a9c8-bc601b381e42", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14999,Microsoft.Compute/LowCostGet30Min;119999", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "a015c6fd-9cf0-4d2e-9b3b-5c6658661b90", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034615Z:da639f92-821a-4d0f-a9c8-bc601b381e42", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:12.20992\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f7579582-161f-4f96-99ac-55a81eec7d1d" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-81abddc728d5a21534defe9788baa03d-15d7be9f0f777a04-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f8ce4f6ff261d9a8116b5fccc4f1aff3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:15 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "80f94347-79a6-4f99-bb0c-4bbc4eb01536", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "80f94347-79a6-4f99-bb0c-4bbc4eb01536", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034615Z:80f94347-79a6-4f99-bb0c-4bbc4eb01536" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-81abddc728d5a21534defe9788baa03d-ea6d2b03881485ec-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bd66c50cf4e088bc84c76dedb17b9775", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:46:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/adf11902-a964-4902-b3a8-66d3eef13c25?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "288ba8c1-ae5f-4d12-92be-cea124459995", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "288ba8c1-ae5f-4d12-92be-cea124459995", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034617Z:288ba8c1-ae5f-4d12-92be-cea124459995" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/adf11902-a964-4902-b3a8-66d3eef13c25?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-81abddc728d5a21534defe9788baa03d-73c4557cc97354c2-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6ffbf59488917b4b9246749984ba2895", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "862", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6ffbf59488917b4b9246749984ba2895", + "x-ms-correlation-request-id": "771dc80c-0ff8-4be8-9ca3-821878896c55", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399910", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "35334858-4188-4c9a-ade6-3c39351aaa76", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034618Z:771dc80c-0ff8-4be8-9ca3-821878896c55", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:12.20992\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f7579582-161f-4f96-99ac-55a81eec7d1d" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-81abddc728d5a21534defe9788baa03d-25ebd5e01cb344fa-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "98fee9d40ba336d6e2a7db1362597fdb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "80aeaad4-43cd-46d0-8b57-593721acca01", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "80aeaad4-43cd-46d0-8b57-593721acca01", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034618Z:80aeaad4-43cd-46d0-8b57-593721acca01" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-81abddc728d5a21534defe9788baa03d-3148341d00de79cb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bb58cd82278045e3e1d112d661493b26", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:46:19 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/10107cee-cb71-4f29-862f-df1bf1cb8f30?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d1a18e78-0b2b-4549-96bd-fb4684f9b495", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "d1a18e78-0b2b-4549-96bd-fb4684f9b495", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034619Z:d1a18e78-0b2b-4549-96bd-fb4684f9b495" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/10107cee-cb71-4f29-862f-df1bf1cb8f30?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-81abddc728d5a21534defe9788baa03d-c6c5328bb974da57-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b61698c66d62ac1505b9b7d2f8ffd498", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "886", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b61698c66d62ac1505b9b7d2f8ffd498", + "x-ms-correlation-request-id": "627e68b7-7cc2-455a-97da-6036cfc12fd8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49996,Microsoft.Compute/GetOperation30Min;399908", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "7f416c2e-01a2-4c52-afdd-d2c4a78c0a2f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034619Z:627e68b7-7cc2-455a-97da-6036cfc12fd8", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:12.20992\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f7579582-161f-4f96-99ac-55a81eec7d1d" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-81abddc728d5a21534defe9788baa03d-0bd4dc6e5f4b743c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "666eb56b60c9d631d1cf9cba9af998a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "807", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:19 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "666eb56b60c9d631d1cf9cba9af998a9", + "x-ms-correlation-request-id": "95635bd9-a1ba-40a2-981b-f6e420b609f1", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14997,Microsoft.Compute/LowCostGet30Min;119997", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "315e48b0-d5ce-46bf-8c5a-d47ba04f45ab", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034620Z:95635bd9-a1ba-40a2-981b-f6e420b609f1", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1550/providers/Microsoft.Compute/disks/testDisk-9862", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:46:12.20992\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "f7579582-161f-4f96-99ac-55a81eec7d1d" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "937044727", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01]Async.json new file mode 100644 index 0000000000000..48e2f72580ef6 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2019-07-01]Async.json @@ -0,0 +1,2019 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2eab85843609c86785ab139ce5d182bf-05bf07cbd5ad785f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b239f74d85dbe3c95e6bbce0a9e0ff83", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7d3ca918-bff0-40d5-9516-a07c4340860f", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "7d3ca918-bff0-40d5-9516-a07c4340860f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034758Z:7d3ca918-bff0-40d5-9516-a07c4340860f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-5232?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-1e4a6dc98c9301902248ae93ca0cc78a-7c6f9eb510ff403d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d45ee1ce1bc9b1eb82e9bc0af5938493", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cdfddc9b-55ca-4adc-ab26-5373f760ff8d", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "cdfddc9b-55ca-4adc-ab26-5373f760ff8d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034801Z:cdfddc9b-55ca-4adc-ab26-5373f760ff8d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232", + "name": "testRG-5232", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818?api-version=2019-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-d4f3ed354c63df4d071ca3a9f51f68d5-11d68626c83fbb98-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bc63ff29c652a3e6e6db3353a04b0569", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a7f2a714-5f04-4eaa-aada-47b28210ae93?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a7f2a714-5f04-4eaa-aada-47b28210ae93?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2019-07-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "bc63ff29c652a3e6e6db3353a04b0569", + "x-ms-correlation-request-id": "cd278597-ac72-487d-ab95-0828ee56adf2", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2975,Microsoft.Compute/CreateUpdateDisks30Min;24975", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "a7f2a714-5f04-4eaa-aada-47b28210ae93", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034803Z:cd278597-ac72-487d-ab95-0828ee56adf2", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9818", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/a7f2a714-5f04-4eaa-aada-47b28210ae93?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d4f3ed354c63df4d071ca3a9f51f68d5-b2d8dafa141aa28b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "00b6155bca1f0765fbbbeeede8981137", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1010", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "00b6155bca1f0765fbbbeeede8981137", + "x-ms-correlation-request-id": "a341972c-5956-4b92-89a7-c131af432fcf", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49807,Microsoft.Compute/GetOperation30Min;399719", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "38af13ba-9306-47a5-8cb0-a95485ec153c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034803Z:a341972c-5956-4b92-89a7-c131af432fcf", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:03.1943068\u002B00:00", + "endTime": "2023-05-15T03:48:03.2568062\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-9818", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:03.1943068\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "9752bb7e-04d6-4195-97bd-9fc849a5ad43" + } + } + }, + "name": "a7f2a714-5f04-4eaa-aada-47b28210ae93" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d4f3ed354c63df4d071ca3a9f51f68d5-2c2f63d7e1548711-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9e1052e37b98b034d146f628c3067b91", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "785", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "9e1052e37b98b034d146f628c3067b91", + "x-ms-correlation-request-id": "7a5881b6-b3e1-43ba-bea5-223c62bf5153", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14802,Microsoft.Compute/LowCostGet30Min;119802", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "76533e3e-496e-4bf4-a7bf-827b6035efb7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034804Z:7a5881b6-b3e1-43ba-bea5-223c62bf5153", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9818", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:03.1943068\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "9752bb7e-04d6-4195-97bd-9fc849a5ad43" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f02f325806f7cc1b71c339aa19656fba-976f9d5dbf1805f8-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8bf70a6505952f49f2f20da38a3f352e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4b77d212-21bf-4cd7-9101-cf9f3350a81d", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "4b77d212-21bf-4cd7-9101-cf9f3350a81d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034804Z:4b77d212-21bf-4cd7-9101-cf9f3350a81d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f02f325806f7cc1b71c339aa19656fba-b6e27a81ff14b3ae-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d4fbcb18d743df90e1052ed9d43c44f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:05 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/2d993f64-6282-423c-8140-17d44d40b041?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f07a2af5-9fae-4e4d-8796-77604ba7ea54", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "f07a2af5-9fae-4e4d-8796-77604ba7ea54", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034806Z:f07a2af5-9fae-4e4d-8796-77604ba7ea54" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/2d993f64-6282-423c-8140-17d44d40b041?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f02f325806f7cc1b71c339aa19656fba-57fb1ac1a2c0bcf0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f70fc710a70b8d4d7a17a98fd7705bb5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f70fc710a70b8d4d7a17a98fd7705bb5", + "x-ms-correlation-request-id": "a6638e35-9b77-4cf2-9fb8-a58708a5e791", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49798,Microsoft.Compute/GetOperation30Min;399710", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "9802fe99-b98d-444d-ab26-a98d57f7809b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034806Z:a6638e35-9b77-4cf2-9fb8-a58708a5e791", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9818", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:03.1943068\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "9752bb7e-04d6-4195-97bd-9fc849a5ad43" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f02f325806f7cc1b71c339aa19656fba-4fa4650e0c7997cc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2e6318ae57b7928d2a1dcb622be97150", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7552f286-7dfa-4137-9197-1a333308e190", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "7552f286-7dfa-4137-9197-1a333308e190", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034806Z:7552f286-7dfa-4137-9197-1a333308e190" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-f02f325806f7cc1b71c339aa19656fba-779b551a26f98a0a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0cc89cdf4d2c98e90efa6389dc110799", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/e43e7cf8-f78c-42ed-b9c9-93b0393ddb26?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c3e074ae-79e7-4bba-b57e-29e77f0c3089", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "c3e074ae-79e7-4bba-b57e-29e77f0c3089", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034807Z:c3e074ae-79e7-4bba-b57e-29e77f0c3089" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/e43e7cf8-f78c-42ed-b9c9-93b0393ddb26?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f02f325806f7cc1b71c339aa19656fba-d0ecf0d55eeb2d1a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3ab059a54ea761882fca20bcf303b618", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3ab059a54ea761882fca20bcf303b618", + "x-ms-correlation-request-id": "e78c4d21-f3e1-4799-88b5-7f506f671160", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49794,Microsoft.Compute/GetOperation30Min;399706", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "aff6239d-49e3-4837-8f3e-282c26b8381a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034807Z:e78c4d21-f3e1-4799-88b5-7f506f671160", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9818", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:03.1943068\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "9752bb7e-04d6-4195-97bd-9fc849a5ad43" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818?api-version=2019-07-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f02f325806f7cc1b71c339aa19656fba-4d95f3826000e3a9-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "34db32161cf1e722c20ed1af7ffabc22", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "809", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "34db32161cf1e722c20ed1af7ffabc22", + "x-ms-correlation-request-id": "8879a020-aef8-4fa0-8dc9-83eb6e37c1fa", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14792,Microsoft.Compute/LowCostGet30Min;119792", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "dd79191a-2860-40e4-9519-098e45c069e2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034808Z:8879a020-aef8-4fa0-8dc9-83eb6e37c1fa", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-9818", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5232/providers/Microsoft.Compute/disks/testDisk-9818", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "timeCreated": "2023-05-15T03:48:03.1943068\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "9752bb7e-04d6-4195-97bd-9fc849a5ad43" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "102403612", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01].json new file mode 100644 index 0000000000000..ddf6ec95b8638 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01].json @@ -0,0 +1,2025 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-c892bc1b9b5737f702e7cf5ced0c0630-dff5931f592cccfe-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a6343d3dbd08889f7017b816f669d0f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3636d165-33cd-45ac-92b5-9ea26327dd4c", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "3636d165-33cd-45ac-92b5-9ea26327dd4c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034653Z:3636d165-33cd-45ac-92b5-9ea26327dd4c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-9156?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-43e0b3ef4494cc4be96eef7102e8c051-633fa50ef48c85d5-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1d3f4f717db02a318ee4ce6672cac205", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:53 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e4d7d9b0-a541-4140-99a7-92dbae765423", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "e4d7d9b0-a541-4140-99a7-92dbae765423", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034654Z:e4d7d9b0-a541-4140-99a7-92dbae765423" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156", + "name": "testRG-9156", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-aab02ddddc35b96af2f02a769c8b2fbc-6b0ba919506afd47-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c2421ce773c7b18ba33f0ee1046b80f2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6a6a5948-e734-433c-ac5c-7b34e9f977c9?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6a6a5948-e734-433c-ac5c-7b34e9f977c9?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c2421ce773c7b18ba33f0ee1046b80f2", + "x-ms-correlation-request-id": "99b35fde-56e0-4453-b7a9-3ece5a0ec6d7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2991,Microsoft.Compute/CreateUpdateDisks30Min;24991", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "6a6a5948-e734-433c-ac5c-7b34e9f977c9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034655Z:99b35fde-56e0-4453-b7a9-3ece5a0ec6d7", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6713", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6a6a5948-e734-433c-ac5c-7b34e9f977c9?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-aab02ddddc35b96af2f02a769c8b2fbc-91c55b0ec0fad7d6-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b381f054a4aefdd8c38e7a716e4f2522", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b381f054a4aefdd8c38e7a716e4f2522", + "x-ms-correlation-request-id": "653e1e86-9483-44a4-ba53-c0935322487d", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49966,Microsoft.Compute/GetOperation30Min;399878", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "fec17a07-32da-42bb-9e46-7f5022a65342", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034656Z:653e1e86-9483-44a4-ba53-c0935322487d", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:46:55.7724331\u002B00:00", + "endTime": "2023-05-15T03:46:55.8505596\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-6713", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:55.7724331\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "fc64dbf7-7c39-4a10-849f-28955b241327" + } + } + }, + "name": "6a6a5948-e734-433c-ac5c-7b34e9f977c9" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-aab02ddddc35b96af2f02a769c8b2fbc-165aebd8ff6b600d-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d51adb636c95c7508f8b4de944d0f699", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "d51adb636c95c7508f8b4de944d0f699", + "x-ms-correlation-request-id": "8d5bf49f-f3ea-4a0b-8951-29c4f6aec4cf", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14964,Microsoft.Compute/LowCostGet30Min;119964", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "636ed5e2-bd0a-46cf-b598-9b0ce97f6d46", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034656Z:8d5bf49f-f3ea-4a0b-8951-29c4f6aec4cf", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6713", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:55.7724331\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "fc64dbf7-7c39-4a10-849f-28955b241327" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3307db53419c9813c9aa79faa965b206-0d5975ce0bd73fa7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "148d209acdeaa744c4379226a51b4825", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "796be453-23f1-4b15-97b4-3f2240382b88", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "796be453-23f1-4b15-97b4-3f2240382b88", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034656Z:796be453-23f1-4b15-97b4-3f2240382b88" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3307db53419c9813c9aa79faa965b206-39aa8145562565d7-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "de570cb8cfeee8589fb9232357eeb9f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:46:57 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/612053a5-1509-48fa-85b7-6bdc384cd12a?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0658e2e6-7ad5-4c3c-992f-763a305b7672", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "0658e2e6-7ad5-4c3c-992f-763a305b7672", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034657Z:0658e2e6-7ad5-4c3c-992f-763a305b7672" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/612053a5-1509-48fa-85b7-6bdc384cd12a?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3307db53419c9813c9aa79faa965b206-b1b4d22af12414dc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "373028421879caabc7a57531a9214fd5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "373028421879caabc7a57531a9214fd5", + "x-ms-correlation-request-id": "11328e16-4794-49d4-a5b4-407a8452cff5", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49965,Microsoft.Compute/GetOperation30Min;399877", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "faceeef5-0f60-40ad-aa87-41f51ad5b4c2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034658Z:11328e16-4794-49d4-a5b4-407a8452cff5", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6713", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:55.7724331\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "fc64dbf7-7c39-4a10-849f-28955b241327" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3307db53419c9813c9aa79faa965b206-3a66f6ee358dbbd8-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c58f9f7dfa44a862d5c0467abefa0e75", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "da80ff9d-2eb9-4328-824f-3f675d910a1b", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "da80ff9d-2eb9-4328-824f-3f675d910a1b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034658Z:da80ff9d-2eb9-4328-824f-3f675d910a1b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-3307db53419c9813c9aa79faa965b206-b16e38fa7a7caf02-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2fe0af9781be7e79350c861d9a06ed76", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:46:59 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6c8c9a8a-572f-40e1-b7a4-2edf67dd46b6?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f02b3d32-66b6-4f58-a6a9-ac09f6c7965b", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-request-id": "f02b3d32-66b6-4f58-a6a9-ac09f6c7965b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034659Z:f02b3d32-66b6-4f58-a6a9-ac09f6c7965b" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/6c8c9a8a-572f-40e1-b7a4-2edf67dd46b6?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3307db53419c9813c9aa79faa965b206-65c714fcafe233cc-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f99900962040fc162510903773450dce", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:46:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f99900962040fc162510903773450dce", + "x-ms-correlation-request-id": "96352cd9-f766-46f6-9ba0-31d66f8453ca", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49963,Microsoft.Compute/GetOperation30Min;399875", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "add3f667-7fd9-4f1a-aa12-b9493e3f8e25", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034659Z:96352cd9-f766-46f6-9ba0-31d66f8453ca", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6713", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:55.7724331\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "fc64dbf7-7c39-4a10-849f-28955b241327" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3307db53419c9813c9aa79faa965b206-e5febbdd7427a666-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8257d0d3d3193ada7f9869361fc0ad04", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8257d0d3d3193ada7f9869361fc0ad04", + "x-ms-correlation-request-id": "86096f9f-78ae-4601-857c-8b6664b006ec", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14962,Microsoft.Compute/LowCostGet30Min;119962", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "264c083a-d72c-4b83-bb6b-4e9c3791e881", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034700Z:86096f9f-78ae-4601-857c-8b6664b006ec", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-6713", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-9156/providers/Microsoft.Compute/disks/testDisk-6713", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:46:55.7724331\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "fc64dbf7-7c39-4a10-849f-28955b241327" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1032861229", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01]Async.json new file mode 100644 index 0000000000000..65681e1a2dbdc --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2021-04-01]Async.json @@ -0,0 +1,2025 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-4ea2ff552de9e565aa526a0bd0ad7a45-6d11ba7b0a9c45bf-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3ea531d5f671445d6d3074a9b226fcee", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9055fa7d-2627-4bbc-897f-958f7c221aca", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "9055fa7d-2627-4bbc-897f-958f7c221aca", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034828Z:9055fa7d-2627-4bbc-897f-958f7c221aca" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-2632?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-fef66aadcddd2a385d27cee7a58647f0-2016bb2987e85553-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7a51884d10d8d08127119f91e8749538", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:30 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "344abb1a-1aa1-41f8-9df8-5c057ab1c236", + "x-ms-ratelimit-remaining-subscription-writes": "1188", + "x-ms-request-id": "344abb1a-1aa1-41f8-9df8-5c057ab1c236", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034830Z:344abb1a-1aa1-41f8-9df8-5c057ab1c236" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632", + "name": "testRG-2632", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-5499e272843b185dfd3efcd4362615c9-20b05f832dda4cc3-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a1759f3f4ea613a8c5a1d06012edca80", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/b7e3fa59-3ac4-4d91-a79f-5393a5fb6ba2?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:32 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/b7e3fa59-3ac4-4d91-a79f-5393a5fb6ba2?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2021-04-01", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a1759f3f4ea613a8c5a1d06012edca80", + "x-ms-correlation-request-id": "8a5a9149-a5f6-4f64-be9d-f1786d332a1a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2967,Microsoft.Compute/CreateUpdateDisks30Min;24967", + "x-ms-ratelimit-remaining-subscription-writes": "1187", + "x-ms-request-id": "b7e3fa59-3ac4-4d91-a79f-5393a5fb6ba2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034832Z:8a5a9149-a5f6-4f64-be9d-f1786d332a1a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3400", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/b7e3fa59-3ac4-4d91-a79f-5393a5fb6ba2?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5499e272843b185dfd3efcd4362615c9-33c14dd653419335-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5de67a13c978fe63e03eb5373f20bd39", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "5de67a13c978fe63e03eb5373f20bd39", + "x-ms-correlation-request-id": "7333f7ab-7c25-44bf-a78a-e9745e8598d8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49730,Microsoft.Compute/GetOperation30Min;399642", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "cc961bd9-3d87-4482-a6c8-10acae12f702", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034832Z:7333f7ab-7c25-44bf-a78a-e9745e8598d8", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:32.2724671\u002B00:00", + "endTime": "2023-05-15T03:48:32.3505773\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-3400", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:32.2724671\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "4490c131-035c-4ed8-a247-61947ca524dc" + } + } + }, + "name": "b7e3fa59-3ac4-4d91-a79f-5393a5fb6ba2" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5499e272843b185dfd3efcd4362615c9-30d9890b61f08d33-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8e111e4747e8e46a47e0e4057f5c6ee9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "8e111e4747e8e46a47e0e4057f5c6ee9", + "x-ms-correlation-request-id": "64a6dafa-f7f7-4a05-8001-5afcf1c7a312", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14727,Microsoft.Compute/LowCostGet30Min;119727", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "adc0fff8-c15a-4585-bba9-12cdcaf422ad", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034833Z:64a6dafa-f7f7-4a05-8001-5afcf1c7a312", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3400", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:32.2724671\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "4490c131-035c-4ed8-a247-61947ca524dc" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-49206cf3b582d605ca5a949d0b1cb999-e97270c054125454-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "984cd1586d06b608f58d6d8fa521559c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "83261604-136b-4d17-92b6-2c111942ebb1", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "83261604-136b-4d17-92b6-2c111942ebb1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034833Z:83261604-136b-4d17-92b6-2c111942ebb1" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-49206cf3b582d605ca5a949d0b1cb999-742405d99d506054-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "860495e3b9cacc1610021597e55e7f83", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c004c3a1-e6b2-48ac-8d45-4168df1578a4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9675b11a-a140-484e-b372-6d92cf1cf6f8", + "x-ms-ratelimit-remaining-subscription-deletes": "14997", + "x-ms-request-id": "9675b11a-a140-484e-b372-6d92cf1cf6f8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034834Z:9675b11a-a140-484e-b372-6d92cf1cf6f8" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c004c3a1-e6b2-48ac-8d45-4168df1578a4?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-49206cf3b582d605ca5a949d0b1cb999-57a55985ca8dff70-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ea21478be7579f1eba8087045770d197", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ea21478be7579f1eba8087045770d197", + "x-ms-correlation-request-id": "b61e61ff-88ce-42f5-9c0d-d27fce25a4ba", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49724,Microsoft.Compute/GetOperation30Min;399636", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "7f6ac7d1-1647-4cfa-a0dd-f5cd2e96a166", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034834Z:b61e61ff-88ce-42f5-9c0d-d27fce25a4ba", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3400", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:32.2724671\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "4490c131-035c-4ed8-a247-61947ca524dc" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-49206cf3b582d605ca5a949d0b1cb999-47971d991d642cea-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d9bfe90de642bdc8612b707020bbf134", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6081fdf8-f0f6-4f56-a7ae-da41f836ff73", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "6081fdf8-f0f6-4f56-a7ae-da41f836ff73", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034835Z:6081fdf8-f0f6-4f56-a7ae-da41f836ff73" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-49206cf3b582d605ca5a949d0b1cb999-a4d2ca50d36e173b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9e0cefc2953ce72cad3fb4549d2f81a5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:48:35 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/02f44732-cf78-4d46-b0d1-4a5e60b90b1b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b733b89b-71b2-4929-a8c2-0290eaeea4a0", + "x-ms-ratelimit-remaining-subscription-writes": "1186", + "x-ms-request-id": "b733b89b-71b2-4929-a8c2-0290eaeea4a0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034835Z:b733b89b-71b2-4929-a8c2-0290eaeea4a0" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/02f44732-cf78-4d46-b0d1-4a5e60b90b1b?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-49206cf3b582d605ca5a949d0b1cb999-465d891363115474-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6841538e3264785abdd72c0231742032", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "6841538e3264785abdd72c0231742032", + "x-ms-correlation-request-id": "74dc995a-e7ad-47b6-9f1b-ce67924babc3", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49721,Microsoft.Compute/GetOperation30Min;399633", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "c7977d0c-7dea-42fd-88db-144d4bbf6fab", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034836Z:74dc995a-e7ad-47b6-9f1b-ce67924babc3", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3400", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:32.2724671\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "4490c131-035c-4ed8-a247-61947ca524dc" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-49206cf3b582d605ca5a949d0b1cb999-10897bbbd8db4eda-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1fe7caa9006e5c180b671fd80dff70ff", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "1fe7caa9006e5c180b671fd80dff70ff", + "x-ms-correlation-request-id": "382bd23f-d49e-434a-9974-9a687a162c13", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14719,Microsoft.Compute/LowCostGet30Min;119719", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "3e15f734-6707-4984-a4a9-73a5dfe577f4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034836Z:382bd23f-d49e-434a-9974-9a687a162c13", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3400", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2632/providers/Microsoft.Compute/disks/testDisk-3400", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:32.2724671\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "4490c131-035c-4ed8-a247-61947ca524dc" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "116431451", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02].json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02].json new file mode 100644 index 0000000000000..59d22b9fdf1d6 --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02].json @@ -0,0 +1,2025 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-85d833be6e2a4fe67bbd226e146f3cac-8387c6ccb730a37a-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d17060436931043c292e737e376ff0f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0ca4cd5d-ca78-4d12-aa13-9918097967e7", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-request-id": "0ca4cd5d-ca78-4d12-aa13-9918097967e7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034725Z:0ca4cd5d-ca78-4d12-aa13-9918097967e7" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-8017?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-6441a2323dd40f128b1dde6cd5681e7c-3069f3198b740964-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9c289821463dd0e787b47b15031119a1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c7f5f617-8041-4f08-a72e-93d8ef9ccc0e", + "x-ms-ratelimit-remaining-subscription-writes": "1181", + "x-ms-request-id": "c7f5f617-8041-4f08-a72e-93d8ef9ccc0e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034726Z:c7f5f617-8041-4f08-a72e-93d8ef9ccc0e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017", + "name": "testRG-8017", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-74acf7a88b0937a5208f130564504116-a261b1ccbd365662-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bd6b23ae2283acb80df9a75134fc3871", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0da4c7a1-58ba-4ae4-b0e1-3d5d29afc0cd?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "436", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0da4c7a1-58ba-4ae4-b0e1-3d5d29afc0cd?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "bd6b23ae2283acb80df9a75134fc3871", + "x-ms-correlation-request-id": "d6ccfbdd-82b7-4a8c-99fb-aec0dbcd8cc8", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2983,Microsoft.Compute/CreateUpdateDisks30Min;24983", + "x-ms-ratelimit-remaining-subscription-writes": "1180", + "x-ms-request-id": "0da4c7a1-58ba-4ae4-b0e1-3d5d29afc0cd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034728Z:d6ccfbdd-82b7-4a8c-99fb-aec0dbcd8cc8", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-58", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/0da4c7a1-58ba-4ae4-b0e1-3d5d29afc0cd?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-74acf7a88b0937a5208f130564504116-019e03b6d22ca5eb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ccc19665438cfe78df7b8e449e959b8b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1085", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "ccc19665438cfe78df7b8e449e959b8b", + "x-ms-correlation-request-id": "41e89c6d-0173-4256-b7d0-e8ddc26c3d28", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49904,Microsoft.Compute/GetOperation30Min;399816", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-request-id": "ba4c107b-9d89-421b-aaf4-e10267d90367", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034728Z:41e89c6d-0173-4256-b7d0-e8ddc26c3d28", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:47:28.3661791\u002B00:00", + "endTime": "2023-05-15T03:47:28.4443041\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-58", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:28.3661791\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "0b3e8fb7-4ad9-4e5c-81d2-123345cc2662" + } + } + }, + "name": "0da4c7a1-58ba-4ae4-b0e1-3d5d29afc0cd" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-74acf7a88b0937a5208f130564504116-31753ace1032a7b0-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c87a0a7c77d8070e0041d422413024f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "860", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c87a0a7c77d8070e0041d422413024f9", + "x-ms-correlation-request-id": "ad26e5c6-100d-43ca-a7b2-1f9d6828a452", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14900,Microsoft.Compute/LowCostGet30Min;119900", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-request-id": "72eb6ff3-d6b3-461e-9b9c-cc67a1646db1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034729Z:ad26e5c6-100d-43ca-a7b2-1f9d6828a452", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-58", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:28.3661791\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "0b3e8fb7-4ad9-4e5c-81d2-123345cc2662" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-9e89eea1774b0c4b19f008da572461bf-783ac0ca70a98034-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9eec45ce6b3b57e4c339c21719de8b53", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:28 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "00c9a26d-3386-4f0b-b363-961159d926d3", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-request-id": "00c9a26d-3386-4f0b-b363-961159d926d3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034729Z:00c9a26d-3386-4f0b-b363-961159d926d3" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-9e89eea1774b0c4b19f008da572461bf-7ffc35772cba3811-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7e0b55c56299ed8987b9cc4a6f56bdae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:47:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ef235ca3-2609-4f83-9e8b-7cf4d0d9553e?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7bbd7cf1-bd1a-4c15-b91a-a0e69ba18c2b", + "x-ms-ratelimit-remaining-subscription-deletes": "14995", + "x-ms-request-id": "7bbd7cf1-bd1a-4c15-b91a-a0e69ba18c2b", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034730Z:7bbd7cf1-bd1a-4c15-b91a-a0e69ba18c2b" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ef235ca3-2609-4f83-9e8b-7cf4d0d9553e?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9e89eea1774b0c4b19f008da572461bf-677aa0a4287d6d98-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "eb5c80b6a6246c60bcfe16819e99e86d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "860", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "eb5c80b6a6246c60bcfe16819e99e86d", + "x-ms-correlation-request-id": "ffd3ceb2-0895-4e4c-8ecf-c5ee1120fb39", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49896,Microsoft.Compute/GetOperation30Min;399808", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-request-id": "4c524a6b-4168-4d13-80f6-1eae92a5806e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034731Z:ffd3ceb2-0895-4e4c-8ecf-c5ee1120fb39", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-58", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:28.3661791\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "0b3e8fb7-4ad9-4e5c-81d2-123345cc2662" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-9e89eea1774b0c4b19f008da572461bf-bb671405afe68f47-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "84c0137b3269c8aa06fa58755ce93990", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "252", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "60965aa1-d5f6-43fb-b8ce-476a04d19c0c", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-request-id": "60965aa1-d5f6-43fb-b8ce-476a04d19c0c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034731Z:60965aa1-d5f6-43fb-b8ce-476a04d19c0c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-9e89eea1774b0c4b19f008da572461bf-5533e2763f595b66-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ee94aacbd2f9b08933089baae6cd728b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:47:32 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/216abba8-22a2-47a0-95ec-c5b2e63d1c58?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6595afd0-65a9-4b6d-bf9e-14b4b7e3e569", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-request-id": "6595afd0-65a9-4b6d-bf9e-14b4b7e3e569", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034732Z:6595afd0-65a9-4b6d-bf9e-14b4b7e3e569" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/216abba8-22a2-47a0-95ec-c5b2e63d1c58?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9e89eea1774b0c4b19f008da572461bf-f6cd276439e91408-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f4b686c5f905a8738a0f506096ffe238", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "884", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "f4b686c5f905a8738a0f506096ffe238", + "x-ms-correlation-request-id": "c2cf07fc-7c78-44ed-bed2-3c73eecd3a4a", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49891,Microsoft.Compute/GetOperation30Min;399803", + "x-ms-ratelimit-remaining-subscription-reads": "11951", + "x-ms-request-id": "1c1928a0-4861-4805-8367-74a788c3b8d8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034733Z:c2cf07fc-7c78-44ed-bed2-3c73eecd3a4a", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-58", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:28.3661791\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "0b3e8fb7-4ad9-4e5c-81d2-123345cc2662" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-9e89eea1774b0c4b19f008da572461bf-e0937eaaf7ddd601-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c43acd8898c66259f2101965ee5f6248", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "884", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:47:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "c43acd8898c66259f2101965ee5f6248", + "x-ms-correlation-request-id": "45d25598-e1f4-429e-8b8f-c676e48b3504", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14888,Microsoft.Compute/LowCostGet30Min;119888", + "x-ms-ratelimit-remaining-subscription-reads": "11950", + "x-ms-request-id": "872100d0-d5bf-4c12-9a97-b160c9352f79", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034733Z:45d25598-e1f4-429e-8b8f-c676e48b3504", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-58", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-8017/providers/Microsoft.Compute/disks/testDisk-58", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:47:28.3661791\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "0b3e8fb7-4ad9-4e5c-81d2-123345cc2662" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "1799897642", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02]Async.json b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02]Async.json new file mode 100644 index 0000000000000..97ed527f5456e --- /dev/null +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/SessionRecords/ManagedDiskOperationsTests/SetTags(null)[2022-07-02]Async.json @@ -0,0 +1,2025 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-bbd88572661f57038f0b69438ec729b0-276d4ceabeb1cf8f-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8e8f5c3ce6132f8bc219dbd0e3b1f6c6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "748", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:55 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2c41f0c8-67cf-4eba-9b23-45668e60ab17", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-request-id": "2c41f0c8-67cf-4eba-9b23-45668e60ab17", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034856Z:2c41f0c8-67cf-4eba-9b23-45668e60ab17" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "TagKey-9823": "TagValue-1254", + "TagKey-3481": "TagValue-320", + "TagKey-4926": "TagValue-1187", + "TagKey-751": "TagValue-3921", + "TagKey-1866": "TagValue-8559", + "TagKey-3094": "TagValue-9190", + "TagKey-2449": "TagValue-9", + "TagKey-8379": "TagValue-164", + "TagKey-7470": "TagValue-2205", + "TagKey-4236": "TagValue-3698", + "TagKey-5316": "TagValue-2725" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRG-4808?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "43", + "Content-Type": "application/json", + "traceparent": "00-56dae91e24d31cf37e60968927c7cac1-3251969baf212297-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "046fcdc8c8243e5f17cf715daa16c6cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "test": "env" + }, + "location": "eastus" + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "241", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:56 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2a538cfd-8f12-4d9f-9884-816c18613fc9", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-request-id": "2a538cfd-8f12-4d9f-9884-816c18613fc9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034857Z:2a538cfd-8f12-4d9f-9884-816c18613fc9" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808", + "name": "testRG-4808", + "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", + "tags": { + "test": "env" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153?api-version=2022-07-02", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "traceparent": "00-c445769d114ca0569206e271fa7d5612-ec75407c3728bf0c-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a361bbfc8bc0773c2ec38bdc012347b0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "sku": { + "name": "Standard_LRS" + }, + "tags": {}, + "location": "eastus", + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1 + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c757d53b-bf04-4499-b30b-cb36d9ea25bb?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "Cache-Control": "no-cache", + "Content-Length": "440", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c757d53b-bf04-4499-b30b-cb36d9ea25bb?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-07-02", + "Pragma": "no-cache", + "Retry-After": "2", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a361bbfc8bc0773c2ec38bdc012347b0", + "x-ms-correlation-request-id": "b4b2f913-53eb-4178-93c2-b6b240e5e34f", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/CreateUpdateDisks3Min;2959,Microsoft.Compute/CreateUpdateDisks30Min;24959", + "x-ms-ratelimit-remaining-subscription-writes": "1178", + "x-ms-request-id": "c757d53b-bf04-4499-b30b-cb36d9ea25bb", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034859Z:b4b2f913-53eb-4178-93c2-b6b240e5e34f", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3153", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "provisioningState": "Updating" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/c757d53b-bf04-4499-b30b-cb36d9ea25bb?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c445769d114ca0569206e271fa7d5612-1127634b602b5c4c-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3bb413097d643de490f8d5603c833df3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "1089", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "3bb413097d643de490f8d5603c833df3", + "x-ms-correlation-request-id": "1d158718-0204-435a-b1d9-c78447e5a1f2", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49667,Microsoft.Compute/GetOperation30Min;399579", + "x-ms-ratelimit-remaining-subscription-reads": "11951", + "x-ms-request-id": "fa601ae8-f1b1-4eb9-8c24-ef78e7c2b209", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034859Z:1d158718-0204-435a-b1d9-c78447e5a1f2", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "startTime": "2023-05-15T03:48:58.9287163\u002B00:00", + "endTime": "2023-05-15T03:48:59.0068468\u002B00:00", + "status": "Succeeded", + "properties": { + "output": { + "name": "testDisk-3153", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:58.9287163\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "44a883f5-5d74-49e3-b823-4e54f83eb3c8" + } + } + }, + "name": "c757d53b-bf04-4499-b30b-cb36d9ea25bb" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c445769d114ca0569206e271fa7d5612-bb591f82afb40d9b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b03bc0887c0ac467839a74ebbb80b8ca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "b03bc0887c0ac467839a74ebbb80b8ca", + "x-ms-correlation-request-id": "341f029b-7cf6-4a4f-a022-4831b460800b", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14661,Microsoft.Compute/LowCostGet30Min;119661", + "x-ms-ratelimit-remaining-subscription-reads": "11950", + "x-ms-request-id": "5af76a7f-025b-49bf-9134-e9a8220afdc6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034859Z:341f029b-7cf6-4a4f-a022-4831b460800b", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3153", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:58.9287163\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "44a883f5-5d74-49e3-b823-4e54f83eb3c8" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a34649e881d85a9b749acb9983f55682-4f499ad8e8fe7fae-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "edd2c7550b6ea34c16ceb97062d78aac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "19759", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:48:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "72587e7d-1511-43b7-8f2a-b3071f3c7eec", + "x-ms-ratelimit-remaining-subscription-reads": "11949", + "x-ms-request-id": "72587e7d-1511-43b7-8f2a-b3071f3c7eec", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034900Z:72587e7d-1511-43b7-8f2a-b3071f3c7eec" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorizations": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + }, + { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + } + ], + "resourceTypes": [ + { + "resourceType": "tagnamespaces", + "locations": [ + "East US", + "East US 2", + "East US STG", + "West Central US", + "West US", + "West US 2", + "West US 3", + "Central US EUAP", + "East US 2 EUAP", + "Canada Central", + "Canada East", + "Central US", + "North Central US", + "South Central US", + "South Central US STG" + ], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "tagNamespaceOperationResults", + "locations": [], + "apiVersions": [ + "2023-03-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Jio India West", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "Jio India West", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West", + "West US 3", + "Qatar Central", + "Sweden Central", + "Poland Central" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2022-09-01", + "2021-04-01", + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "validateResources", + "locations": [], + "apiVersions": [ + "2022-06-01" + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "changes", + "locations": [], + "apiVersions": [ + "2023-03-01-preview", + "2022-05-01", + "2022-03-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "snapshots", + "locations": [], + "apiVersions": [ + "2022-11-01-preview" + ], + "capabilities": "SupportsExtension" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a34649e881d85a9b749acb9983f55682-c8d5e7eb0447e00b-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fe33db97be288cbaacf0b8c909f88110", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:49:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ea7dc89f-83d2-4296-a356-57bce03c6095?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "26a1966b-2129-4a25-83fb-91b151073da6", + "x-ms-ratelimit-remaining-subscription-deletes": "14995", + "x-ms-request-id": "26a1966b-2129-4a25-83fb-91b151073da6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034901Z:26a1966b-2129-4a25-83fb-91b151073da6" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/ea7dc89f-83d2-4296-a356-57bce03c6095?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a34649e881d85a9b749acb9983f55682-5247414dbb6edb22-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "df54c710ba4c96a10c45417e53829a1d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "864", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "df54c710ba4c96a10c45417e53829a1d", + "x-ms-correlation-request-id": "3fc1b99b-e3ba-4c34-aefc-80e3cce2b261", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49666,Microsoft.Compute/GetOperation30Min;399572", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-request-id": "e6a5b970-aa39-40cb-bb1d-c859837ae998", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034901Z:3fc1b99b-e3ba-4c34-aefc-80e3cce2b261", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3153", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": {}, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:58.9287163\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "44a883f5-5d74-49e3-b823-4e54f83eb3c8" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a34649e881d85a9b749acb9983f55682-d3b80a82313e7408-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5630a84c14cb47fc56b78a90247ec9b5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "254", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:01 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "befb91d0-6d2b-4e3f-bb71-7f6dd069fcd6", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-request-id": "befb91d0-6d2b-4e3f-bb71-7f6dd069fcd6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034901Z:befb91d0-6d2b-4e3f-bb71-7f6dd069fcd6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153/providers/Microsoft.Resources/tags/default", + "name": "default", + "type": "Microsoft.Resources/tags", + "properties": { + "tags": {} + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "39", + "Content-Type": "application/json", + "traceparent": "00-a34649e881d85a9b749acb9983f55682-0676a63bce75fea9-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "41b90c8ea2a385c46a74686a0e0629f1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "tags": { + "key": "value" + } + } + }, + "StatusCode": 202, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "0", + "Date": "Mon, 15 May 2023 03:49:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/28369f8a-06e0-46d2-a7b3-039a3eb90a24?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a8a94b4c-2acb-4303-9f80-477367227715", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-request-id": "a8a94b4c-2acb-4303-9f80-477367227715", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034902Z:a8a94b4c-2acb-4303-9f80-477367227715" + }, + "ResponseBody": null + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute/locations/eastus/DiskOperations/28369f8a-06e0-46d2-a7b3-039a3eb90a24?p=8278dd3f-3f1e-4c21-b82d-89be46bb3fd2\u0026monitor=true\u0026api-version=2022-03-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a34649e881d85a9b749acb9983f55682-73dbef5447ed20fb-00", + "User-Agent": "azsdk-net-ResourceManager/1.6.0-alpha.20230511.6 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "46f08b7b58c8aa79e4aaec57ab91384f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "46f08b7b58c8aa79e4aaec57ab91384f", + "x-ms-correlation-request-id": "4922829b-f513-4b7f-acc3-9f318136342c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/GetOperation3Min;49659,Microsoft.Compute/GetOperation30Min;399565", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-request-id": "d9847fc4-193c-4d6c-beaa-31a854924874", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034903Z:4922829b-f513-4b7f-acc3-9f318136342c", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3153", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:58.9287163\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "44a883f5-5d74-49e3-b823-4e54f83eb3c8" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153?api-version=2022-07-02", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-a34649e881d85a9b749acb9983f55682-f9adec8109542c9e-00", + "User-Agent": "azsdk-net-ResourceManager.Compute/1.2.0-alpha.20230515.1 (.NET 7.0.5; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a893988daf8f83ee2cbe7596192e5559", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "888", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 15 May 2023 03:49:02 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-client-request-id": "a893988daf8f83ee2cbe7596192e5559", + "x-ms-correlation-request-id": "945bbe98-d0a6-4bb7-a5ee-c567d98513a7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;14655,Microsoft.Compute/LowCostGet30Min;119648", + "x-ms-ratelimit-remaining-subscription-reads": "11945", + "x-ms-request-id": "5e4423ad-4c88-4fd6-8608-07b2f9a81305", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230515T034903Z:945bbe98-d0a6-4bb7-a5ee-c567d98513a7", + "x-ms-served-by": "8278dd3f-3f1e-4c21-b82d-89be46bb3fd2_133187078664205687" + }, + "ResponseBody": { + "name": "testDisk-3153", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4808/providers/Microsoft.Compute/disks/testDisk-3153", + "type": "Microsoft.Compute/disks", + "location": "eastus", + "tags": { + "key": "value" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "properties": { + "creationData": { + "createOption": "Empty" + }, + "diskSizeGB": 1, + "diskIOPSReadWrite": 500, + "diskMBpsReadWrite": 60, + "encryption": { + "type": "EncryptionAtRestWithPlatformKey" + }, + "networkAccessPolicy": "AllowAll", + "publicNetworkAccess": "Enabled", + "timeCreated": "2023-05-15T03:48:58.9287163\u002B00:00", + "provisioningState": "Succeeded", + "diskState": "Unattached", + "diskSizeBytes": 1073741824, + "uniqueId": "44a883f5-5d74-49e3-b823-4e54f83eb3c8" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com/", + "RandomSeed": "94590747", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +}