diff --git a/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs b/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs index 8c24ce008a2f..42b47ddad2be 100644 --- a/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs +++ b/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs @@ -117,7 +117,7 @@ protected void CleanupResourceGroups() { try { - _cleanupClient.GetManagementGroupOperations(mgmtGroupId).StartDelete(); + _cleanupClient.GetManagementGroup(mgmtGroupId).StartDelete(); } catch (RequestFailedException e) when (e.Status == 404 || e.Status == 403) { @@ -206,7 +206,7 @@ public void OneTimeCleanupResourceGroups() }); Parallel.ForEach(OneTimeManagementGroupCleanupPolicy.ManagementGroupsCreated, mgmtGroupId => { - _cleanupClient.GetManagementGroupOperations(mgmtGroupId).StartDelete(); + _cleanupClient.GetManagementGroup(mgmtGroupId).StartDelete(); }); } diff --git a/eng/Directory.Build.Common.props b/eng/Directory.Build.Common.props index 027407069b52..e8b4c0736351 100644 --- a/eng/Directory.Build.Common.props +++ b/eng/Directory.Build.Common.props @@ -126,7 +126,7 @@ - + diff --git a/sdk/core/Azure.Core.TestFramework/src/Instrumentation/InstrumentResultInterceptor.cs b/sdk/core/Azure.Core.TestFramework/src/Instrumentation/InstrumentResultInterceptor.cs index 1c94317d018f..b6d251cbe853 100644 --- a/sdk/core/Azure.Core.TestFramework/src/Instrumentation/InstrumentResultInterceptor.cs +++ b/sdk/core/Azure.Core.TestFramework/src/Instrumentation/InstrumentResultInterceptor.cs @@ -30,6 +30,7 @@ public void Intercept(IInvocation invocation) // We don't want to instrument generated rest clients. if ((type.Name.EndsWith("Client") && !type.Name.EndsWith("RestClient")) || // Generated ARM clients will have a property containing the sub-client that ends with Operations. + //TODO: remove after all track2 .net mgmt libraries are updated to the new generation (invocation.Method.Name.StartsWith("get_") && type.Name.EndsWith("Operations"))) { if (IsNullResult(invocation)) @@ -41,11 +42,10 @@ public void Intercept(IInvocation invocation) if ( // Generated ARM clients will have a property containing the sub-client that ends with Operations. - (invocation.Method.Name.StartsWith("get_") && (type.Name.EndsWith("Operations") || (type.BaseType != null && type.BaseType.Name.EndsWith("Operations")))) || + (invocation.Method.Name.StartsWith("get_") && ManagementInterceptor.InheritsFromArmResource(type)) || // Instrument the container construction methods inside Operations objects - (invocation.Method.Name.StartsWith("Get") && type.Name.EndsWith("Container")) || // Instrument the operations construction methods inside Operations objects - (invocation.Method.Name.StartsWith("Get") && type.Name.EndsWith("Operations"))) + (invocation.Method.Name.StartsWith("Get") && ManagementInterceptor.InheritsFromArmResource(type))) { if (IsNullResult(invocation)) return; diff --git a/sdk/core/Azure.Core.TestFramework/src/Instrumentation/ManagementInterceptor.cs b/sdk/core/Azure.Core.TestFramework/src/Instrumentation/ManagementInterceptor.cs index f4ebe0715716..a2a62f34ae70 100644 --- a/sdk/core/Azure.Core.TestFramework/src/Instrumentation/ManagementInterceptor.cs +++ b/sdk/core/Azure.Core.TestFramework/src/Instrumentation/ManagementInterceptor.cs @@ -61,7 +61,7 @@ public void Intercept(IInvocation invocation) } } } - else if (invocation.Method.Name.EndsWith("Value") && type.BaseType.Name.EndsWith("Operations")) + else if (invocation.Method.Name.EndsWith("Value") && InheritsFromArmResource(type)) { invocation.ReturnValue = _testBase.InstrumentClient(type, result, new IInterceptor[] { new ManagementInterceptor(_testBase) }); } @@ -72,7 +72,7 @@ public void Intercept(IInvocation invocation) else if (invocation.Method.Name.StartsWith("Get") && invocation.Method.Name.EndsWith("Enumerator") && type.IsGenericType && - InheritsFromOperationBase(type.GetGenericArguments().First())) + InheritsFromArmResource(type.GetGenericArguments().First())) { var wrapperType = typeof(AsyncPageableInterceptor<>); var genericType = wrapperType.MakeGenericType(type.GetGenericArguments()[0]); @@ -81,7 +81,7 @@ public void Intercept(IInvocation invocation) } } - private bool InheritsFromOperationBase(Type elementType) + internal static bool InheritsFromArmResource(Type elementType) { if (elementType.BaseType == null) return false; @@ -89,10 +89,10 @@ private bool InheritsFromOperationBase(Type elementType) if (elementType.BaseType == typeof(object)) return false; - if (elementType.BaseType.Name == "ResourceOperations") + if (elementType.BaseType.Name == "ArmResource") return true; - return InheritsFromOperationBase(elementType.BaseType); + return InheritsFromArmResource(elementType.BaseType); } private object GetValueFromOther(Type taskResultType, object instrumentedResult) diff --git a/sdk/core/Azure.Core/tests/ManagementPipelineBuilderTests.cs b/sdk/core/Azure.Core/tests/ManagementPipelineBuilderTests.cs index d75ebbf99b77..6f812ab87b88 100644 --- a/sdk/core/Azure.Core/tests/ManagementPipelineBuilderTests.cs +++ b/sdk/core/Azure.Core/tests/ManagementPipelineBuilderTests.cs @@ -7,14 +7,24 @@ using System.Threading; using Azure.Core.Pipeline; using Azure.Core.TestFramework; +using Azure.Identity; using Azure.ResourceManager; using NUnit.Framework; +using static Azure.Core.Tests.Management.ManagementPipelineBuilderTests; namespace Azure.Core.Tests.Management { - public class ManagementPipelineBuilderTests + internal class ManagementPipelineBuilderTests : RecordedTestBase { + internal class MgmtPipelineTestEnvironment : TestEnvironment { } + + public ManagementPipelineBuilderTests(bool isAsync) + : base(isAsync)//, RecordedTestMode.Record) + { + } + [TestCase] + [SyncOnly] public void AddPerCallPolicy() { var options = new ArmClientOptions(); @@ -27,13 +37,14 @@ public void AddPerCallPolicy() Assert.IsNotNull(policies.ToArray().FirstOrDefault(p => p.GetType() == typeof(DummyPolicy))); } - [TestCase] + [RecordedTest] + [SyncOnly] public void AddPerCallPolicyViaClient() { - var options = new ArmClientOptions(); + var options = InstrumentClientOptions(new ArmClientOptions()); var dummyPolicy = new DummyPolicy(); options.AddPolicy(dummyPolicy, HttpPipelinePosition.PerCall); - var client = new ArmClient(Guid.NewGuid().ToString(), new MockCredential(), options); + var client = InstrumentClient(new ArmClient(TestEnvironment.Credential, options)); var pipelineProperty = client.GetType().GetProperty("Pipeline", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.GetProperty); var pipeline = pipelineProperty.GetValue(client) as HttpPipeline; diff --git a/sdk/core/Azure.Core/tests/ManagementRecordedTestBaseTests.cs b/sdk/core/Azure.Core/tests/ManagementRecordedTestBaseTests.cs index 4dec3faf2738..2c7a4d742ee8 100644 --- a/sdk/core/Azure.Core/tests/ManagementRecordedTestBaseTests.cs +++ b/sdk/core/Azure.Core/tests/ManagementRecordedTestBaseTests.cs @@ -48,7 +48,7 @@ public async Task ValidateInstrumentArmOperation() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); var sub = client.DefaultSubscription; - var operation = (await sub.GetArmOperationAsync()).Value; + var operation = (await sub.GetLroAsync()).Value; var result = operation.Method(); Assert.AreEqual("TestResourceProxy", operation.GetType().Name); @@ -60,7 +60,7 @@ public async Task ValidateInstrumentArmResponse() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); var sub = client.DefaultSubscription; - var response = (await sub.GetArmOperationAsync()).Value; + var response = (await sub.GetLroAsync()).Value; var result = response.Method(); Assert.AreEqual("TestResourceProxy", response.GetType().Name); @@ -83,9 +83,9 @@ public void ValidateInstrumentGetContainer() public void ValidateInstrumentGetOperations() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - var testResource = client.GetTestResourceOperations(); + var testResource = client.GetTestResource(); - Assert.AreEqual("TestResourceOperationsProxy", testResource.GetType().Name); + Assert.AreEqual("TestResourceProxy", testResource.GetType().Name); Assert.AreEqual("success", testResource.Method()); } @@ -105,8 +105,8 @@ public async Task ValidateInstrumentPageable() public async Task ValidateWaitForCompletion() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); - var testResourceOp = await rgOp.GetArmOperationAsync(); + TestResource rgOp = client.GetTestResource(); + var testResourceOp = await rgOp.GetLroAsync(); TestResource testResource = await testResourceOp.WaitForCompletionAsync(); Assert.AreEqual("TestResourceProxy", testResource.GetType().Name); Assert.AreEqual("success", testResource.Method()); @@ -116,7 +116,7 @@ public async Task ValidateWaitForCompletion() public void ValidateExceptionResponse() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); + TestResource rgOp = client.GetTestResource(); Assert.ThrowsAsync(typeof(ArgumentException), async () => await rgOp.GetResponseExceptionAsync()); } @@ -124,16 +124,16 @@ public void ValidateExceptionResponse() public void ValidateExceptionOperation() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); - Assert.ThrowsAsync(typeof(ArgumentException), async () => await rgOp.GetArmOperationExceptionAsync()); + TestResource rgOp = client.GetTestResource(); + Assert.ThrowsAsync(typeof(ArgumentException), async () => await rgOp.GetLroExceptionAsync()); } [Test] public async Task ValidateExceptionOperationWaitForCompletion() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); - var testResourceOp = await rgOp.GetArmOperationAsync(true); + TestResource rgOp = client.GetTestResource(); + var testResourceOp = await rgOp.GetLroAsync(true); Assert.ThrowsAsync(typeof(ArgumentException), async () => await testResourceOp.WaitForCompletionAsync()); } @@ -141,7 +141,7 @@ public async Task ValidateExceptionOperationWaitForCompletion() public async Task ValidateLroWrapper() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); + TestResource rgOp = client.GetTestResource(); TestResource testResource = await rgOp.LroWrapperAsync(); Assert.AreEqual("TestResourceProxy", testResource.GetType().Name); Assert.AreEqual("success", testResource.Method()); @@ -151,7 +151,7 @@ public async Task ValidateLroWrapper() public async Task ValidateStartLroWrapper() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); + TestResource rgOp = client.GetTestResource(); var testResourceOp = await rgOp.StartLroWrapperAsync(); TestResource testResource = await testResourceOp.WaitForCompletionAsync(); Assert.AreEqual("TestResourceProxy", testResource.GetType().Name); @@ -162,7 +162,7 @@ public async Task ValidateStartLroWrapper() public async Task ValidateSkipWait() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); + TestResource rgOp = client.GetTestResource(); Stopwatch timer = Stopwatch.StartNew(); TestResource testResource = await rgOp.LroWrapperAsync(); timer.Stop(); @@ -174,7 +174,7 @@ public async Task ValidateSkipWait() public async Task ValidateStartSkipWait() { ManagementTestClient client = InstrumentClient(new ManagementTestClient()); - TestResourceOperations rgOp = client.GetTestResourceOperations(); + TestResource rgOp = client.GetTestResource(); var testResourceOp = await rgOp.StartLroWrapperAsync(); Stopwatch timer = Stopwatch.StartNew(); TestResource testResource = await testResourceOp.WaitForCompletionAsync(); diff --git a/sdk/core/Azure.Core/tests/SessionRecords/ManagementPipelineBuilderTests/AddPerCallPolicyViaClient.json b/sdk/core/Azure.Core/tests/SessionRecords/ManagementPipelineBuilderTests/AddPerCallPolicyViaClient.json new file mode 100644 index 000000000000..7d7c8dad9d72 --- /dev/null +++ b/sdk/core/Azure.Core/tests/SessionRecords/ManagementPipelineBuilderTests/AddPerCallPolicyViaClient.json @@ -0,0 +1,60 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210811.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3f774f37e4a7406de0b4f1abe3dbd7e5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "515", + "Content-Type": "application/json; charset=utf-8", + "Date": "Wed, 11 Aug 2021 20:07:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "382ecb49-bef5-4d21-84b5-ac8342d3e752", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "382ecb49-bef5-4d21-84b5-ac8342d3e752", + "x-ms-routing-request-id": "WESTUS2:20210811T200714Z:382ecb49-bef5-4d21-84b5-ac8342d3e752" + }, + "ResponseBody": { + "value": [ + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + ], + "count": { + "type": "Total", + "value": 1 + } + } + } + ], + "Variables": { + "RandomSeed": "1445225066" + } +} \ No newline at end of file diff --git a/sdk/core/Azure.Core/tests/TestClients/ManagementTestClient.cs b/sdk/core/Azure.Core/tests/TestClients/ManagementTestClient.cs index e61752b2902a..4e04d3f2683b 100644 --- a/sdk/core/Azure.Core/tests/TestClients/ManagementTestClient.cs +++ b/sdk/core/Azure.Core/tests/TestClients/ManagementTestClient.cs @@ -19,9 +19,9 @@ public ManagementTestClient(TestClientOptions options) _diagnostics = new ClientDiagnostics(options); } - public virtual TestResourceOperations GetTestResourceOperations() + public virtual TestResource GetTestResource() { - return new TestResourceOperations(); + return new TestResource(); } public virtual TestResourceContainer GetTestResourceContainer() diff --git a/sdk/core/Azure.Core/tests/TestClients/ArmOperationTest.cs b/sdk/core/Azure.Core/tests/TestClients/TestLroOperation.cs similarity index 93% rename from sdk/core/Azure.Core/tests/TestClients/ArmOperationTest.cs rename to sdk/core/Azure.Core/tests/TestClients/TestLroOperation.cs index 69e7129ad51f..14c547931c66 100644 --- a/sdk/core/Azure.Core/tests/TestClients/ArmOperationTest.cs +++ b/sdk/core/Azure.Core/tests/TestClients/TestLroOperation.cs @@ -8,18 +8,18 @@ namespace Azure.Core.Tests { - public class ArmOperationTest : Operation, IOperationSource + public class TestLroOperation : Operation, IOperationSource { private TestResource _value; private bool _exceptionOnWait; private OperationOrResponseInternals _operationHelper; private int _delaySteps = 0; - protected ArmOperationTest() + protected TestLroOperation() { } - public ArmOperationTest(TestResource value, bool exceptionOnWait = false, int delaySteps = 0) + public TestLroOperation(TestResource value, bool exceptionOnWait = false, int delaySteps = 0) { _value = value; _exceptionOnWait = exceptionOnWait; diff --git a/sdk/core/Azure.Core/tests/TestClients/TestResource.cs b/sdk/core/Azure.Core/tests/TestClients/TestResource.cs index f7ad212e8fe9..4a4de9033891 100644 --- a/sdk/core/Azure.Core/tests/TestClients/TestResource.cs +++ b/sdk/core/Azure.Core/tests/TestClients/TestResource.cs @@ -1,9 +1,293 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core.Pipeline; +using Azure.Core.TestFramework; +using Azure.ResourceManager; +using Azure.ResourceManager.Core; + namespace Azure.Core.Tests { - public class TestResource : TestResourceOperations + public class TestResource : ArmResource { + private DiagnosticScopeFactory _diagnostic = new DiagnosticScopeFactory("Azure.Clients", "Microsoft.Azure.Core.Cool.Tests", true); + + protected override ResourceType ValidResourceType => ResourceIdentifier.RootResourceIdentifier.ResourceType; + + public virtual TestResource GetAnotherOperations() + { + return new TestResource(); + } + + public virtual TestLroOperation GetLro(bool exceptionOnWait = false, CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetLro"); + scope.Start(); + + try + { + return new TestLroOperation(new TestResource(), exceptionOnWait); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual Task GetLroAsync(bool exceptionOnWait = false, CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetLro"); + scope.Start(); + + try + { + return Task.FromResult(new TestLroOperation(new TestResource(), exceptionOnWait)); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual Response GetResponse(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetResponse"); + scope.Start(); + + try + { + return Response.FromValue(new TestResource(), new MockResponse(200)); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public async virtual Task> GetResponseAsync(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetResponse"); + scope.Start(); + + try + { + await Task.Delay(1); + return Response.FromValue(new TestResource(), new MockResponse(200)); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual Response GetResponseException(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetResponseException"); + scope.Start(); + + try + { + throw new ArgumentException("FakeArg"); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual Task> GetResponseExceptionAsync(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetResponseException"); + scope.Start(); + + try + { + throw new ArgumentException("FakeArg"); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual TestLroOperation GetLroException(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetLroException"); + scope.Start(); + + try + { + throw new ArgumentException("FakeArg"); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual Task GetLroExceptionAsync(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.GetLroException"); + scope.Start(); + + try + { + throw new ArgumentException("FakeArg"); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual Response LroWrapper(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.LroWrapper"); + scope.Start(); + + try + { + var operation = StartLroWrapper(cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual TestLroOperation StartLroWrapper(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.StartLroWrapper"); + scope.Start(); + + try + { + return new TestLroOperation(new TestResource()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual async Task> LroWrapperAsync(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.LroWrapper"); + scope.Start(); + + try + { + var operation = await StartLroWrapperAsync(cancellationToken); + return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual async Task StartLroWrapperAsync(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.StartLroWrapper"); + scope.Start(); + + try + { + await Task.Delay(1); + return new TestLroOperation(new TestResource()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual Response LongLro(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.LongLro"); + scope.Start(); + + try + { + var operation = StartLongLro(cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public async virtual Task> LongLroAsync(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.LongLro"); + scope.Start(); + + try + { + var operation = await StartLongLroAsync(cancellationToken); + return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual TestLroOperation StartLongLro(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.StartLongLro"); + scope.Start(); + + try + { + return new TestLroOperation(new TestResource(), delaySteps: 10); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public async virtual Task StartLongLroAsync(CancellationToken cancellationToken = default) + { + using var scope = _diagnostic.CreateScope("TestResource.StartLongLro"); + scope.Start(); + + try + { + await Task.Delay(1); + return new TestLroOperation(new TestResource(), delaySteps: 10); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + public virtual string Method() + { + return "success"; + } } } diff --git a/sdk/core/Azure.Core/tests/TestClients/TestResourceContainer.cs b/sdk/core/Azure.Core/tests/TestClients/TestResourceContainer.cs index eeeed16b3d2a..19c6a5871714 100644 --- a/sdk/core/Azure.Core/tests/TestClients/TestResourceContainer.cs +++ b/sdk/core/Azure.Core/tests/TestClients/TestResourceContainer.cs @@ -12,7 +12,7 @@ namespace Azure.Core.Tests { - public class TestResourceContainer : ResourceContainer + public class TestResourceContainer : ArmContainer { private DiagnosticScopeFactory _diagnostic = new DiagnosticScopeFactory("Azure.Clients", "Microsoft.Azure.Core.Cool.Tests", true); diff --git a/sdk/core/Azure.Core/tests/TestClients/TestResourceOperations.cs b/sdk/core/Azure.Core/tests/TestClients/TestResourceOperations.cs deleted file mode 100644 index 416a8b8e7475..000000000000 --- a/sdk/core/Azure.Core/tests/TestClients/TestResourceOperations.cs +++ /dev/null @@ -1,293 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core.Pipeline; -using Azure.Core.TestFramework; -using Azure.ResourceManager; -using Azure.ResourceManager.Core; - -namespace Azure.Core.Tests -{ - public class TestResourceOperations : ResourceOperations - { - private DiagnosticScopeFactory _diagnostic = new DiagnosticScopeFactory("Azure.Clients", "Microsoft.Azure.Core.Cool.Tests", true); - - protected override ResourceType ValidResourceType => ResourceIdentifier.RootResourceIdentifier.ResourceType; - - public virtual TestResourceOperations GetAnotherOperations() - { - return new TestResource(); - } - - public virtual ArmOperationTest GetArmOperation(bool exceptionOnWait = false, CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetArmOperation"); - scope.Start(); - - try - { - return new ArmOperationTest(new TestResource(), exceptionOnWait); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual Task GetArmOperationAsync(bool exceptionOnWait = false, CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetArmOperation"); - scope.Start(); - - try - { - return Task.FromResult(new ArmOperationTest(new TestResource(), exceptionOnWait)); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual Response GetResponse(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetResponse"); - scope.Start(); - - try - { - return Response.FromValue(new TestResource(), new MockResponse(200)); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public async virtual Task> GetResponseAsync(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetResponse"); - scope.Start(); - - try - { - await Task.Delay(1); - return Response.FromValue(new TestResource(), new MockResponse(200)); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual Response GetResponseException(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetResponseException"); - scope.Start(); - - try - { - throw new ArgumentException("FakeArg"); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual Task> GetResponseExceptionAsync(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetResponseException"); - scope.Start(); - - try - { - throw new ArgumentException("FakeArg"); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual ArmOperationTest GetArmOperationException(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetArmOperationException"); - scope.Start(); - - try - { - throw new ArgumentException("FakeArg"); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual Task GetArmOperationExceptionAsync(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.GetArmOperationException"); - scope.Start(); - - try - { - throw new ArgumentException("FakeArg"); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual Response LroWrapper(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.LroWrapper"); - scope.Start(); - - try - { - var operation = StartLroWrapper(cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual ArmOperationTest StartLroWrapper(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.StartLroWrapper"); - scope.Start(); - - try - { - return new ArmOperationTest(new TestResource()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual async Task> LroWrapperAsync(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.LroWrapper"); - scope.Start(); - - try - { - var operation = await StartLroWrapperAsync(cancellationToken); - return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual async Task StartLroWrapperAsync(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.StartLroWrapper"); - scope.Start(); - - try - { - await Task.Delay(1); - return new ArmOperationTest(new TestResource()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual Response LongLro(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.LongLro"); - scope.Start(); - - try - { - var operation = StartLongLro(cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public async virtual Task> LongLroAsync(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.LongLro"); - scope.Start(); - - try - { - var operation = await StartLongLroAsync(cancellationToken); - return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual ArmOperationTest StartLongLro(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.StartLongLro"); - scope.Start(); - - try - { - return new ArmOperationTest(new TestResource(), delaySteps: 10); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public async virtual Task StartLongLroAsync(CancellationToken cancellationToken = default) - { - using var scope = _diagnostic.CreateScope("TestResourceOperations.StartLongLro"); - scope.Start(); - - try - { - await Task.Delay(1); - return new ArmOperationTest(new TestResource(), delaySteps: 10); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - public virtual string Method() - { - return "success"; - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs index 826df671a1a0..70a6ea7112f1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs @@ -20,21 +20,24 @@ public ArmClient(System.Uri baseUri, Azure.Core.TokenCredential credential, Azur protected virtual Azure.Core.TokenCredential Credential { get { throw null; } } public virtual Azure.ResourceManager.Resources.Subscription DefaultSubscription { get { throw null; } } protected virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - public virtual Azure.ResourceManager.Resources.FeatureOperations GetFeatureOperations(string id) { throw null; } - public virtual System.Collections.Generic.IReadOnlyList GetGenericResourceOperations(System.Collections.Generic.IEnumerable ids) { throw null; } - public virtual Azure.ResourceManager.Resources.GenericResourceOperations GetGenericResourceOperations(string id) { throw null; } - public virtual System.Collections.Generic.IReadOnlyList GetGenericResourceOperations(params string[] ids) { throw null; } - public virtual Azure.ResourceManager.Management.ManagementGroupOperations GetManagementGroupOperations(string id) { throw null; } + public virtual Azure.ResourceManager.Resources.Feature GetFeature(Azure.ResourceManager.ResourceIdentifier id) { throw null; } + public virtual Azure.ResourceManager.Resources.GenericResource GetGenericResource(Azure.ResourceManager.ResourceIdentifier id) { throw null; } + public virtual System.Collections.Generic.IReadOnlyList GetGenericResources(params Azure.ResourceManager.ResourceIdentifier[] ids) { throw null; } + public virtual System.Collections.Generic.IReadOnlyList GetGenericResources(System.Collections.Generic.IEnumerable ids) { throw null; } + public virtual System.Collections.Generic.IReadOnlyList GetGenericResources(System.Collections.Generic.IEnumerable ids) { throw null; } + public virtual System.Collections.Generic.IReadOnlyList GetGenericResources(params string[] ids) { throw null; } + public virtual Azure.ResourceManager.Management.ManagementGroup GetManagementGroup(Azure.ResourceManager.ResourceIdentifier id) { throw null; } public virtual Azure.ResourceManager.Management.ManagementGroupContainer GetManagementGroups() { throw null; } - public virtual Azure.Response GetProvider(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetProviderAsync(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ProviderOperations GetProviderOperations(string id) { throw null; } - public virtual Azure.Pageable GetProviders(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetProvidersAsync(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.ResourceGroupOperations GetResourceGroupOperations(string id) { throw null; } + public virtual Azure.ResourceManager.Resources.PredefinedTag GetPreDefinedTag(Azure.ResourceManager.ResourceIdentifier id) { throw null; } + public virtual Azure.ResourceManager.Resources.Provider GetProvider(Azure.ResourceManager.ResourceIdentifier id) { throw null; } + public virtual Azure.ResourceManager.Resources.ResourceGroup GetResourceGroup(Azure.ResourceManager.ResourceIdentifier id) { throw null; } public virtual Azure.ResourceManager.Resources.RestApiContainer GetRestApis(string azureNamespace) { throw null; } - public virtual Azure.ResourceManager.Resources.SubscriptionOperations GetSubscriptionOperations(string id) { throw null; } + public virtual Azure.ResourceManager.Resources.Subscription GetSubscription(Azure.ResourceManager.ResourceIdentifier id) { throw null; } public virtual Azure.ResourceManager.Resources.SubscriptionContainer GetSubscriptions() { throw null; } + public virtual Azure.Response GetTenantProvider(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTenantProviderAsync(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTenantProviders(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTenantProvidersAsync(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.Resources.TenantContainer GetTenants() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public virtual T UseClientContext(System.Func func) { throw null; } @@ -160,23 +163,39 @@ public ResourceTypeFilter(Azure.ResourceManager.ResourceType resourceType) { } } namespace Azure.ResourceManager.Core { - public abstract partial class ResourceContainer : Azure.ResourceManager.Core.ResourceOperations + public abstract partial class ArmContainer : Azure.ResourceManager.Core.ArmResource { - protected ResourceContainer() { } - protected ResourceContainer(Azure.ResourceManager.ArmClientOptions options, Azure.Core.TokenCredential credential, System.Uri baseUri, Azure.Core.Pipeline.HttpPipeline pipeline) { } - protected ResourceContainer(Azure.ResourceManager.Core.ResourceOperations parent) { } - protected Azure.ResourceManager.Core.ResourceOperations Parent { get { throw null; } } + protected ArmContainer() { } + protected ArmContainer(Azure.ResourceManager.ArmClientOptions options, Azure.Core.TokenCredential credential, System.Uri baseUri, Azure.Core.Pipeline.HttpPipeline pipeline) { } + protected ArmContainer(Azure.ResourceManager.Core.ArmResource parent) { } + protected Azure.ResourceManager.Core.ArmResource Parent { get { throw null; } } + } + public abstract partial class ArmResource + { + protected ArmResource() { } + protected ArmResource(Azure.ResourceManager.Core.ArmResource parentOperations, Azure.ResourceManager.ResourceIdentifier id) { } + protected internal virtual System.Uri BaseUri { get { throw null; } } + protected internal virtual Azure.ResourceManager.ArmClientOptions ClientOptions { get { throw null; } } + protected internal virtual Azure.Core.TokenCredential Credential { get { throw null; } } + public virtual Azure.ResourceManager.ResourceIdentifier Id { get { throw null; } } + protected internal virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } + protected internal Azure.ResourceManager.Resources.TagResourceContainer TagContainer { get { throw null; } } + protected internal Azure.ResourceManager.Resources.TagResource TagResourceOperations { get { throw null; } } + protected abstract Azure.ResourceManager.ResourceType ValidResourceType { get; } + protected System.Collections.Generic.IEnumerable ListAvailableLocations(Azure.ResourceManager.ResourceType resourceType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected System.Threading.Tasks.Task> ListAvailableLocationsAsync(Azure.ResourceManager.ResourceType resourceType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected virtual void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } } public static partial class ResourceListOperations { [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static Azure.Pageable GetAtContext(Azure.ResourceManager.Resources.ResourceGroupOperations resourceGroup, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.Pageable GetAtContext(Azure.ResourceManager.Resources.ResourceGroup resourceGroup, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static Azure.Pageable GetAtContext(Azure.ResourceManager.Resources.SubscriptionOperations subscription, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.Pageable GetAtContext(Azure.ResourceManager.Resources.Subscription subscription, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static Azure.AsyncPageable GetAtContextAsync(Azure.ResourceManager.Resources.ResourceGroupOperations resourceGroup, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.AsyncPageable GetAtContextAsync(Azure.ResourceManager.Resources.ResourceGroup resourceGroup, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static Azure.AsyncPageable GetAtContextAsync(Azure.ResourceManager.Resources.SubscriptionOperations subscription, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static Azure.AsyncPageable GetAtContextAsync(Azure.ResourceManager.Resources.Subscription subscription, Azure.ResourceManager.ResourceFilterCollection resourceFilters = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public static partial class ResourceManagerExtensions { @@ -190,40 +209,32 @@ public static partial class ResourceManagerExtensions public static Azure.Response WaitForCompletion(this Azure.Operation operation, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.Response WaitForCompletion(this Azure.Operation operation, System.TimeSpan pollingInterval, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public abstract partial class ResourceOperations - { - protected ResourceOperations() { } - protected ResourceOperations(Azure.ResourceManager.Core.ResourceOperations parentOperations, Azure.ResourceManager.ResourceIdentifier id) { } - protected internal virtual System.Uri BaseUri { get { throw null; } } - protected internal virtual Azure.ResourceManager.ArmClientOptions ClientOptions { get { throw null; } } - protected internal virtual Azure.Core.TokenCredential Credential { get { throw null; } } - public virtual Azure.ResourceManager.ResourceIdentifier Id { get { throw null; } } - protected internal virtual Azure.Core.Pipeline.HttpPipeline Pipeline { get { throw null; } } - protected internal Azure.ResourceManager.Resources.TagResourceContainer TagContainer { get { throw null; } } - protected internal Azure.ResourceManager.Resources.TagResourceOperations TagResourceOperations { get { throw null; } } - protected abstract Azure.ResourceManager.ResourceType ValidResourceType { get; } - protected System.Collections.Generic.IEnumerable ListAvailableLocations(Azure.ResourceManager.ResourceType resourceType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - protected System.Threading.Tasks.Task> ListAvailableLocationsAsync(Azure.ResourceManager.ResourceType resourceType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - protected virtual void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } - } - public abstract partial class SingletonOperations : Azure.ResourceManager.Core.ResourceOperations - { - protected SingletonOperations() { } - protected SingletonOperations(Azure.ResourceManager.Core.ResourceOperations parent) { } - protected Azure.ResourceManager.Core.ResourceOperations Parent { get { throw null; } } - } } namespace Azure.ResourceManager.Management { - public partial class ManagementGroup : Azure.ResourceManager.Management.ManagementGroupOperations + public partial class ManagementGroup : Azure.ResourceManager.Core.ArmResource { + public static readonly Azure.ResourceManager.ResourceType ResourceType; protected ManagementGroup() { } + protected internal ManagementGroup(Azure.ResourceManager.Core.ArmResource options, Azure.ResourceManager.ResourceIdentifier id) { } public virtual Azure.ResourceManager.Management.ManagementGroupData Data { get { throw null; } } + public bool HasData { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.Response Delete(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetDescendants(string skiptoken = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetDescendantsAsync(string skiptoken = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Management.Models.ManagementGroupDeleteOperation StartDelete(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(Azure.ResourceManager.Management.Models.PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.Management.Models.PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ManagementGroupContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class ManagementGroupContainer : Azure.ResourceManager.Core.ArmContainer { protected ManagementGroupContainer() { } - protected new Azure.ResourceManager.Resources.TenantOperations Parent { get { throw null; } } + protected new Azure.ResourceManager.Resources.Tenant Parent { get { throw null; } } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } public virtual Azure.Response CheckIfExists(string groupId, Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckIfExistsAsync(string groupId, Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -232,8 +243,8 @@ protected ManagementGroupContainer() { } public virtual Azure.Response CreateOrUpdate(string groupId, Azure.ResourceManager.Management.Models.CreateManagementGroupOptions createManagementGroupOptions, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string groupId, Azure.ResourceManager.Management.Models.CreateManagementGroupOptions createManagementGroupOptions, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string groupId, Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetAll(string cacheControl = null, string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetAllAsync(string cacheControl = null, string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(string cacheControl = null, string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(string cacheControl = null, string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string groupId, Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetIfExists(string groupId, Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string groupId, Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -248,34 +259,6 @@ internal ManagementGroupData() { } public string DisplayName { get { throw null; } } public string TenantId { get { throw null; } } } - public partial class ManagementGroupInfo : Azure.ResourceManager.Management.ManagementGroupOperations - { - protected ManagementGroupInfo() { } - public virtual Azure.ResourceManager.Management.ManagementGroupInfoData Data { get { throw null; } } - } - public partial class ManagementGroupInfoData : Azure.ResourceManager.Resources.Models.Resource - { - internal ManagementGroupInfoData() { } - public string DisplayName { get { throw null; } } - public string TenantId { get { throw null; } } - } - public partial class ManagementGroupOperations : Azure.ResourceManager.Core.ResourceOperations - { - public static readonly Azure.ResourceManager.ResourceType ResourceType; - protected ManagementGroupOperations() { } - protected internal ManagementGroupOperations(Azure.ResourceManager.Core.ResourceOperations options, Azure.ResourceManager.ResourceIdentifier id) { } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response Delete(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(Azure.ResourceManager.Management.Models.ManagementGroupExpandType? expand = default(Azure.ResourceManager.Management.Models.ManagementGroupExpandType?), bool? recurse = default(bool?), string filter = null, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetDescendants(string skiptoken = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetDescendantsAsync(string skiptoken = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Management.Models.ManagementGroupDeleteOperation StartDelete(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(Azure.ResourceManager.Management.Models.PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.Management.Models.PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } } namespace Azure.ResourceManager.Management.Models { @@ -449,15 +432,25 @@ public enum Reason } namespace Azure.ResourceManager.Resources { - public partial class Feature : Azure.ResourceManager.Resources.FeatureOperations + public partial class Feature : Azure.ResourceManager.Core.ArmResource { + public static readonly Azure.ResourceManager.ResourceType ResourceType; protected Feature() { } public virtual Azure.ResourceManager.Resources.FeatureData Data { get { throw null; } } + public bool HasData { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Register(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RegisterAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Unregister(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UnregisterAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected override void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } } - public partial class FeatureContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class FeatureContainer : Azure.ResourceManager.Core.ArmContainer { protected FeatureContainer() { } - protected new Azure.ResourceManager.Resources.ProviderOperations Parent { get { throw null; } } + protected new Azure.ResourceManager.Resources.Provider Parent { get { throw null; } } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } public virtual Azure.Response CheckIfExists(string featureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckIfExistsAsync(string featureName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -473,26 +466,31 @@ public partial class FeatureData : Azure.ResourceManager.Resources.Models.Resour internal FeatureData() { } public Azure.ResourceManager.Resources.Models.FeatureProperties Properties { get { throw null; } } } - public partial class FeatureOperations : Azure.ResourceManager.Core.ResourceOperations - { - public static readonly Azure.ResourceManager.ResourceType ResourceType; - protected FeatureOperations() { } - protected FeatureOperations(Azure.ResourceManager.Core.ResourceOperations options, Azure.ResourceManager.ResourceIdentifier id) { } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Register(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> RegisterAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Unregister(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UnregisterAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - protected override void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } - } - public partial class GenericResource : Azure.ResourceManager.Resources.GenericResourceOperations + public partial class GenericResource : Azure.ResourceManager.Core.ArmResource { protected GenericResource() { } public virtual Azure.ResourceManager.Resources.GenericResourceData Data { get { throw null; } } + public bool HasData { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Delete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.Models.ResourceDeleteByIdOperation StartDelete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.Models.ResourceUpdateByIdOperation StartUpdate(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected override void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } } - public partial class GenericResourceContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class GenericResourceContainer : Azure.ResourceManager.Core.ArmContainer { protected GenericResourceContainer() { } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } @@ -501,11 +499,11 @@ protected GenericResourceContainer() { } public virtual Azure.Response CreateOrUpdate(string resourceId, Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string resourceId, Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public Azure.Response Get(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetAll(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetAllAsync(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetIfExists(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string resourceId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.Resources.Models.ResourceCreateOrUpdateByIdOperation StartCreateOrUpdate(string resourceId, Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -515,53 +513,34 @@ protected override void ValidateResourceType(Azure.ResourceManager.ResourceIdent public partial class GenericResourceData : Azure.ResourceManager.Resources.Models.TrackedResource { public GenericResourceData() { } + public System.DateTimeOffset? ChangedTime { get { throw null; } } + public System.DateTimeOffset? CreatedTime { get { throw null; } } public Azure.ResourceManager.Resources.Models.ResourceIdentity Identity { get { throw null; } set { } } public string Kind { get { throw null; } set { } } public string ManagedBy { get { throw null; } set { } } public Azure.ResourceManager.Resources.Models.Plan Plan { get { throw null; } set { } } public object Properties { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.Sku Sku { get { throw null; } set { } } - } - public partial class GenericResourceExpanded : Azure.ResourceManager.Resources.GenericResourceOperations - { - protected GenericResourceExpanded() { } - public virtual Azure.ResourceManager.Resources.GenericResourceExpandedData Data { get { throw null; } } - } - public partial class GenericResourceExpandedData : Azure.ResourceManager.Resources.GenericResourceData - { - public GenericResourceExpandedData() { } - public System.DateTimeOffset? ChangedTime { get { throw null; } } - public System.DateTimeOffset? CreatedTime { get { throw null; } } public string ProvisioningState { get { throw null; } } + public Azure.ResourceManager.Resources.Models.Sku Sku { get { throw null; } set { } } } - public partial class GenericResourceOperations : Azure.ResourceManager.Core.ResourceOperations - { - protected GenericResourceOperations() { } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Delete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.Models.ResourceDeleteByIdOperation StartDelete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.Models.ResourceUpdateByIdOperation StartUpdate(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.Resources.GenericResourceData parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - protected override void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } - } - public partial class PredefinedTag : Azure.ResourceManager.Resources.PredefinedTagOperations + public partial class PredefinedTag : Azure.ResourceManager.Core.ArmResource { + public static readonly Azure.ResourceManager.ResourceType ResourceType; protected PredefinedTag() { } public virtual Azure.ResourceManager.Resources.PredefinedTagData Data { get { throw null; } } + public bool HasData { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.Response CreateOrUpdateValue(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateValueAsync(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Delete(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response DeleteValue(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteValueAsync(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.Models.PredefinedTagDeleteOperation StartDelete(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + protected override void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } } - public partial class PredefinedTagContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class PredefinedTagContainer : Azure.ResourceManager.Core.ArmContainer { protected PredefinedTagContainer() { } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } @@ -579,27 +558,22 @@ internal PredefinedTagData() { } public string TagName { get { throw null; } } public System.Collections.Generic.IReadOnlyList Values { get { throw null; } } } - public partial class PredefinedTagOperations : Azure.ResourceManager.Core.ResourceOperations + public partial class Provider : Azure.ResourceManager.Core.ArmResource { public static readonly Azure.ResourceManager.ResourceType ResourceType; - protected PredefinedTagOperations() { } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response CreateOrUpdateValue(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateValueAsync(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Delete(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response DeleteValue(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DeleteValueAsync(string tagName, string tagValue, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.Models.PredefinedTagDeleteOperation StartDelete(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(string tagName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - protected override void ValidateResourceType(Azure.ResourceManager.ResourceIdentifier identifier) { } - } - public partial class Provider : Azure.ResourceManager.Resources.ProviderOperations - { protected Provider() { } public virtual Azure.ResourceManager.Resources.ProviderData Data { get { throw null; } } + public bool HasData { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.FeatureContainer GetFeatures() { throw null; } + public virtual Azure.Response Register(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RegisterAsync(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Unregister(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UnregisterAsync(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ProviderContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class ProviderContainer : Azure.ResourceManager.Core.ArmContainer { protected ProviderContainer() { } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } @@ -620,54 +594,12 @@ internal ProviderData() { } public string RegistrationState { get { throw null; } } public System.Collections.Generic.IReadOnlyList ResourceTypes { get { throw null; } } } - public partial class ProviderOperations : Azure.ResourceManager.Core.ResourceOperations + public partial class ResourceGroup : Azure.ResourceManager.Core.ArmResource { public static readonly Azure.ResourceManager.ResourceType ResourceType; - protected ProviderOperations() { } - protected ProviderOperations(Azure.ResourceManager.Core.ResourceOperations operations, Azure.ResourceManager.ResourceIdentifier id) { } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.FeatureContainer GetFeatures() { throw null; } - public virtual Azure.Response Register(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> RegisterAsync(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Unregister(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UnregisterAsync(string resourceProviderNamespace, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class ResourceGroup : Azure.ResourceManager.Resources.ResourceGroupOperations - { protected ResourceGroup() { } public virtual Azure.ResourceManager.Resources.ResourceGroupData Data { get { throw null; } } - } - public partial class ResourceGroupContainer : Azure.ResourceManager.Core.ResourceContainer - { - protected ResourceGroupContainer() { } - protected new Azure.ResourceManager.Resources.SubscriptionOperations Parent { get { throw null; } } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response CheckIfExists(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CheckIfExistsAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public Azure.Response CreateOrUpdate(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public Azure.Response Get(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetAll(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetAllAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response GetIfExists(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public Azure.ResourceManager.Resources.Models.ResourceGroupCreateOrUpdateOperation StartCreateOrUpdate(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class ResourceGroupData : Azure.ResourceManager.Resources.Models.TrackedResource - { - public ResourceGroupData(string location) { } - public string ManagedBy { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.ResourceGroupProperties Properties { get { throw null; } set { } } - } - public partial class ResourceGroupOperations : Azure.ResourceManager.Core.ResourceOperations - { - public static readonly Azure.ResourceManager.ResourceType ResourceType; - protected ResourceGroupOperations() { } - protected ResourceGroupOperations(Azure.ResourceManager.Core.ResourceOperations options, Azure.ResourceManager.ResourceIdentifier id) { } + public bool HasData { get { throw null; } } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -698,22 +630,61 @@ protected ResourceGroupOperations(Azure.ResourceManager.Core.ResourceOperations public virtual Azure.Response ValidateMoveResources(Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ValidateMoveResourcesAsync(Azure.ResourceManager.Resources.Models.ResourcesMoveInfo parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class RestApiContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class ResourceGroupContainer : Azure.ResourceManager.Core.ArmContainer + { + protected ResourceGroupContainer() { } + protected new Azure.ResourceManager.Resources.Subscription Parent { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.Response CheckIfExists(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CheckIfExistsAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public Azure.Response CreateOrUpdate(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public Azure.Response Get(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(string filter = null, int? top = default(int?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetIfExists(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string resourceGroupName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public Azure.ResourceManager.Resources.Models.ResourceGroupCreateOrUpdateOperation StartCreateOrUpdate(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCreateOrUpdateAsync(string name, Azure.ResourceManager.Resources.ResourceGroupData resourceDetails, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } + public partial class ResourceGroupData : Azure.ResourceManager.Resources.Models.TrackedResource + { + public ResourceGroupData(string location) { } + public string ManagedBy { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.ResourceGroupProperties Properties { get { throw null; } set { } } + } + public partial class RestApiContainer : Azure.ResourceManager.Core.ArmContainer { protected RestApiContainer() { } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class Subscription : Azure.ResourceManager.Resources.SubscriptionOperations + public partial class Subscription : Azure.ResourceManager.Core.ArmResource { + public static readonly Azure.ResourceManager.ResourceType ResourceType; protected Subscription() { } public virtual Azure.ResourceManager.Resources.SubscriptionData Data { get { throw null; } } + public bool HasData { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetFeatures(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetFeaturesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.GenericResourceContainer GetGenericResources() { throw null; } + public virtual Azure.Pageable GetLocations(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetLocationsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.PredefinedTagContainer GetPredefinedTags() { throw null; } + public virtual Azure.ResourceManager.Resources.ProviderContainer GetProviders() { throw null; } + public virtual Azure.ResourceManager.Resources.ResourceGroupContainer GetResourceGroups() { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public virtual T UseClientContext(System.Func func) { throw null; } } - public partial class SubscriptionContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class SubscriptionContainer : Azure.ResourceManager.Core.ArmContainer { protected SubscriptionContainer() { } - protected new Azure.ResourceManager.Resources.TenantOperations Parent { get { throw null; } } + protected new Azure.ResourceManager.Resources.Tenant Parent { get { throw null; } } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } public virtual Azure.Response CheckIfExists(string subscriptionGuid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CheckIfExistsAsync(string subscriptionGuid, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -736,32 +707,24 @@ internal SubscriptionData() { } public Azure.ResourceManager.Resources.Models.SubscriptionPolicies SubscriptionPolicies { get { throw null; } } public string TenantId { get { throw null; } } } - public partial class SubscriptionOperations : Azure.ResourceManager.Core.ResourceOperations + public partial class TagResource : Azure.ResourceManager.Core.ArmResource { - public static readonly Azure.ResourceManager.ResourceType ResourceType; - protected SubscriptionOperations() { } - protected SubscriptionOperations(Azure.ResourceManager.Core.ResourceOperations operations, Azure.ResourceManager.ResourceIdentifier id) { } + protected TagResource() { } + public virtual Azure.ResourceManager.Resources.TagResourceData Data { get { throw null; } } + public bool HasData { get { throw null; } } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetFeatures(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetFeaturesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.GenericResourceContainer GetGenericResources() { throw null; } - public virtual Azure.Pageable GetLocations(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetLocationsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.PredefinedTagOperations GetPreDefinedTagOperations() { throw null; } - public virtual Azure.ResourceManager.Resources.PredefinedTagContainer GetPredefinedTags() { throw null; } - public virtual Azure.ResourceManager.Resources.ProviderContainer GetProviders() { throw null; } - public virtual Azure.ResourceManager.Resources.ResourceGroupContainer GetResourceGroups() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual T UseClientContext(System.Func func) { throw null; } - } - public partial class TagResource : Azure.ResourceManager.Resources.TagResourceOperations - { - internal TagResource() { } - public Azure.ResourceManager.Resources.TagResourceData Data { get { throw null; } } + public virtual Azure.Response Delete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response StartDelete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartDeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.Resources.Models.TagCreateOrUpdateOperation StartUpdate(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartUpdateAsync(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Update(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class TagResourceContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class TagResourceContainer : Azure.ResourceManager.Core.ArmContainer { protected TagResourceContainer() { } public new Azure.ResourceManager.ResourceIdentifier Id { get { throw null; } } @@ -776,28 +739,23 @@ public partial class TagResourceData : Azure.ResourceManager.Resources.Models.Re public TagResourceData(Azure.ResourceManager.Resources.Models.Tag properties) { } public Azure.ResourceManager.Resources.Models.Tag Properties { get { throw null; } set { } } } - public partial class TagResourceOperations : Azure.ResourceManager.Core.ResourceOperations - { - protected TagResourceOperations() { } - public new Azure.ResourceManager.ResourceIdentifier Id { get { throw null; } } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.Response Delete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task DeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response StartDelete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartDeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.Models.TagCreateOrUpdateOperation StartUpdate(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task StartUpdateAsync(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Update(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.Resources.Models.TagPatchResource parameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - } - public partial class Tenant : Azure.ResourceManager.Resources.TenantOperations + public partial class Tenant : Azure.ResourceManager.Core.ArmResource { + public static readonly Azure.ResourceManager.ResourceType ResourceType; protected Tenant() { } public virtual Azure.ResourceManager.Resources.TenantData Data { get { throw null; } } + public bool HasData { get { throw null; } } + protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } + public virtual Azure.ResourceManager.Management.ManagementGroupContainer GetManagementGroups() { throw null; } + public virtual Azure.ResourceManager.Resources.SubscriptionContainer GetSubscriptions() { throw null; } + public virtual Azure.Response GetTenantProvider(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetTenantProviderAsync(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetTenantProviders(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetTenantProvidersAsync(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public virtual T UseClientContext(System.Func func) { throw null; } } - public partial class TenantContainer : Azure.ResourceManager.Core.ResourceContainer + public partial class TenantContainer : Azure.ResourceManager.Core.ArmContainer { protected TenantContainer() { } protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } @@ -815,20 +773,6 @@ internal TenantData() { } public Azure.ResourceManager.Resources.Models.TenantCategory? TenantCategory { get { throw null; } } public string TenantId { get { throw null; } } } - public partial class TenantOperations : Azure.ResourceManager.Core.ResourceOperations - { - public static readonly Azure.ResourceManager.ResourceType ResourceType; - protected TenantOperations() { } - protected override Azure.ResourceManager.ResourceType ValidResourceType { get { throw null; } } - public virtual Azure.ResourceManager.Management.ManagementGroupContainer GetManagementGroups() { throw null; } - public virtual Azure.Response GetProvider(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetProviderAsync(string resourceProviderNamespace, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetProviders(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetProvidersAsync(int? top = default(int?), string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.Resources.SubscriptionContainer GetSubscriptions() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public virtual T UseClientContext(System.Func func) { throw null; } - } } namespace Azure.ResourceManager.Resources.Models { diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs index ad0928e30906..f0376e1e4119 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ArmClient.cs @@ -25,7 +25,7 @@ public class ArmClient /// The base URI of the service. /// internal const string DefaultUri = "https://management.azure.com"; - private TenantOperations _tenant; + private Tenant _tenant; /// /// Initializes a new instance of the class for mocking. @@ -104,12 +104,12 @@ public ArmClient( Credential = credential; BaseUri = baseUri ?? new Uri(DefaultUri); ClientOptions = options?.Clone() ?? new ArmClientOptions(); - Pipeline = ManagementPipelineBuilder.Build(Credential, options.Scope, options ?? ClientOptions); + Pipeline = ManagementPipelineBuilder.Build(Credential, ClientOptions.Scope, options ?? ClientOptions); - _tenant = new TenantOperations(ClientOptions, Credential, BaseUri, Pipeline); + _tenant = new Tenant(ClientOptions, Credential, BaseUri, Pipeline); DefaultSubscription = string.IsNullOrWhiteSpace(defaultSubscriptionId) ? GetDefaultSubscription() - : GetSubscriptions().GetIfExists(defaultSubscriptionId); + : GetSubscriptions().Get(defaultSubscriptionId); ClientOptions.ApiVersions.SetProviderClient(this); } @@ -157,10 +157,10 @@ public virtual TenantContainer GetTenants() /// Gets a resource group operations object. /// /// The id of the resourcegroup. - /// Resource operations of the resource. - public virtual ResourceGroupOperations GetResourceGroupOperations(string id) + /// Resource operations of the resourcegroup. + public virtual ResourceGroup GetResourceGroup(ResourceIdentifier id) { - return new ResourceGroupOperations(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); + return new ResourceGroup(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); } /// @@ -168,9 +168,9 @@ public virtual ResourceGroupOperations GetResourceGroupOperations(string id) /// /// The id of the subscription. /// Resource operations of the subscription. - public virtual SubscriptionOperations GetSubscriptionOperations(string id) + public virtual Subscription GetSubscription(ResourceIdentifier id) { - return new SubscriptionOperations(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); + return new Subscription(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); } /// @@ -178,19 +178,29 @@ public virtual SubscriptionOperations GetSubscriptionOperations(string id) /// /// The id of the feature. /// Resource operations of the feature. - public virtual FeatureOperations GetFeatureOperations(string id) + public virtual Feature GetFeature(ResourceIdentifier id) { - return new FeatureOperations(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); + return new Feature(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); } /// - /// Gets a feature operations object. + /// Gets a Provider operations object. /// - /// The id of the feature. - /// Resource operations of the feature. - public virtual ProviderOperations GetProviderOperations(string id) + /// The id of the Provider. + /// Resource operations of the Provider. + public virtual Provider GetProvider(ResourceIdentifier id) + { + return new Provider(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); + } + + /// + /// Gets a PredefinedTag operations object. + /// + /// The id of the PredefinedTag. + /// Resource operations of the PredefinedTag. + public virtual PredefinedTag GetPreDefinedTag(ResourceIdentifier id) { - return new ProviderOperations(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); + return new PredefinedTag(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), id); } private Subscription GetDefaultSubscription() @@ -219,7 +229,7 @@ public virtual T UseClientContext(Func /// A list of the IDs of the resources to retrieve. /// The list of operations that can be performed over the GenericResources. - public virtual IReadOnlyList GetGenericResourceOperations(params string[] ids) + public virtual IReadOnlyList GetGenericResources(params ResourceIdentifier[] ids) { return GetGenericResourceOperationsInternal(ids); } @@ -229,22 +239,42 @@ public virtual IReadOnlyList GetGenericResourceOperat /// /// A list of the IDs of the resources to retrieve. /// The list of operations that can be performed over the GenericResources. - public virtual IReadOnlyList GetGenericResourceOperations(IEnumerable ids) + public virtual IReadOnlyList GetGenericResources(IEnumerable ids) { return GetGenericResourceOperationsInternal(ids); } - private IReadOnlyList GetGenericResourceOperationsInternal(IEnumerable ids) + /// + /// Get the operations for a list of specific resources. + /// + /// A list of the IDs of the resources to retrieve. + /// The list of operations that can be performed over the GenericResources. + public virtual IReadOnlyList GetGenericResources(params string[] ids) + { + return GetGenericResourceOperationsInternal(ids.Select(id => new ResourceIdentifier(id))); + } + + /// + /// Get the operations for a list of specific resources. + /// + /// A list of the IDs of the resources to retrieve. + /// The list of operations that can be performed over the GenericResources. + public virtual IReadOnlyList GetGenericResources(IEnumerable ids) + { + return GetGenericResourceOperationsInternal(ids.Select(id => new ResourceIdentifier(id))); + } + + private IReadOnlyList GetGenericResourceOperationsInternal(IEnumerable ids) { if (ids == null) { throw new ArgumentNullException(nameof(ids)); } - var genericRespirceOperations = new ChangeTrackingList(); + var genericRespirceOperations = new ChangeTrackingList(); foreach (string id in ids) { - genericRespirceOperations.Add(new GenericResourceOperations(DefaultSubscription, id)); + genericRespirceOperations.Add(new GenericResource(DefaultSubscription, id)); } return genericRespirceOperations; } @@ -254,14 +284,14 @@ private IReadOnlyList GetGenericResourceOperationsInt /// /// The id of the resource to retrieve. /// The operations that can be performed over a specific GenericResource. - public virtual GenericResourceOperations GetGenericResourceOperations(string id) + public virtual GenericResource GetGenericResource(ResourceIdentifier id) { if (id == null) { throw new ArgumentNullException(nameof(id)); } - return new GenericResourceOperations(DefaultSubscription, id); + return new GenericResource(DefaultSubscription, id); } /// @@ -279,14 +309,14 @@ public virtual RestApiContainer GetRestApis(string azureNamespace) /// The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. /// The cancellation token to use. [ForwardsClientCalls] - public virtual Pageable GetProviders(int? top = null, string expand = null, CancellationToken cancellationToken = default) => _tenant.GetProviders(top, expand, cancellationToken); + public virtual Pageable GetTenantProviders(int? top = null, string expand = null, CancellationToken cancellationToken = default) => _tenant.GetTenantProviders(top, expand, cancellationToken); /// Gets all resource providers for a subscription. /// The number of results to return. If null is passed returns all deployments. /// The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. /// The cancellation token to use. [ForwardsClientCalls] - public virtual AsyncPageable GetProvidersAsync(int? top = null, string expand = null, CancellationToken cancellationToken = default) => _tenant.GetProvidersAsync(top, expand, cancellationToken); + public virtual AsyncPageable GetTenantProvidersAsync(int? top = null, string expand = null, CancellationToken cancellationToken = default) => _tenant.GetTenantProvidersAsync(top, expand, cancellationToken); /// Gets the specified resource provider at the tenant level. /// The namespace of the resource provider. @@ -294,7 +324,7 @@ public virtual RestApiContainer GetRestApis(string azureNamespace) /// The cancellation token to use. /// is null. [ForwardsClientCalls] - public virtual Response GetProvider(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) => _tenant.GetProvider(resourceProviderNamespace, expand, cancellationToken); + public virtual Response GetTenantProvider(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) => _tenant.GetTenantProvider(resourceProviderNamespace, expand, cancellationToken); /// Gets the specified resource provider at the tenant level. /// The namespace of the resource provider. @@ -302,7 +332,7 @@ public virtual RestApiContainer GetRestApis(string azureNamespace) /// The cancellation token to use. /// is null. [ForwardsClientCalls] - public virtual async Task> GetProviderAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) => await _tenant.GetProviderAsync(resourceProviderNamespace, expand, cancellationToken).ConfigureAwait(false); + public virtual async Task> GetTenantProviderAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) => await _tenant.GetTenantProviderAsync(resourceProviderNamespace, expand, cancellationToken).ConfigureAwait(false); /// /// Gets the management group container for this tenant. @@ -315,6 +345,6 @@ public virtual RestApiContainer GetRestApis(string azureNamespace) /// /// The id of the management group operations. /// A client to perform operations on the management group. - public virtual ManagementGroupOperations GetManagementGroupOperations(string id) => _tenant.GetManagementGroupOperations(id); + public virtual ManagementGroup GetManagementGroup(ResourceIdentifier id) => _tenant.GetManagementGroup(id); } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ArmContainer.cs similarity index 63% rename from sdk/resourcemanager/Azure.ResourceManager/src/ResourceContainer.cs rename to sdk/resourcemanager/Azure.ResourceManager/src/ArmContainer.cs index a3f8e5911143..fc55e7d76565 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ArmContainer.cs @@ -10,51 +10,51 @@ namespace Azure.ResourceManager.Core /// /// Base class representing collection of resources. /// - public abstract class ResourceContainer : ResourceOperations + public abstract class ArmContainer : ArmResource { /// - /// Initializes a new instance of the class for mocking. + /// Initializes a new instance of the class for mocking. /// - protected ResourceContainer() + protected ArmContainer() { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - internal ResourceContainer(ClientContext clientContext) + internal ArmContainer(ClientContext clientContext) : base(clientContext, ResourceIdentifier.RootResourceIdentifier) { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The identifier of the resource that is the target of operations. - internal ResourceContainer(ClientContext clientContext, ResourceIdentifier id) + internal ArmContainer(ClientContext clientContext, ResourceIdentifier id) : base(clientContext, id) { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The options to use. /// The credential to use. /// The base uri to use. /// The http pipeline policy to use. - protected ResourceContainer(ArmClientOptions options, TokenCredential credential, Uri baseUri, HttpPipeline pipeline) + protected ArmContainer(ArmClientOptions options, TokenCredential credential, Uri baseUri, HttpPipeline pipeline) : this(new ClientContext(options, credential, baseUri, pipeline)) { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The resource representing the parent resource. - protected ResourceContainer(ResourceOperations parent) + protected ArmContainer(ArmResource parent) : base(new ClientContext(parent.ClientOptions, parent.Credential, parent.BaseUri, parent.Pipeline), parent.Id) { Parent = parent; @@ -63,6 +63,6 @@ protected ResourceContainer(ResourceOperations parent) /// /// Gets the parent resource of this resource. /// - protected ResourceOperations Parent { get; } + protected ArmResource Parent { get; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ArmResource.cs similarity index 82% rename from sdk/resourcemanager/Azure.ResourceManager/src/ResourceOperations.cs rename to sdk/resourcemanager/Azure.ResourceManager/src/ArmResource.cs index 924fb9e22a23..b3d6ea07c9e7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceOperations.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ArmResource.cs @@ -16,48 +16,45 @@ namespace Azure.ResourceManager.Core /// /// A class representing the operations that can be performed over a specific resource. /// - public abstract class ResourceOperations + public abstract class ArmResource { private TagResourceContainer _tagContainer; - private TagResourceOperations _tagResourceOperations; - private TenantOperations _tenant; + private TagResource _tagResourceOperations; + private Tenant _tenant; /// - /// Initializes a new instance of the class for mocking. + /// Initializes a new instance of the class for mocking. /// - protected ResourceOperations() + protected ArmResource() { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// The resource representing the parent resource. /// The identifier of the resource that is the target of operations. - protected ResourceOperations(ResourceOperations parentOperations, ResourceIdentifier id) + protected ArmResource(ArmResource parentOperations, ResourceIdentifier id) : this(new ClientContext(parentOperations.ClientOptions, parentOperations.Credential, parentOperations.BaseUri, parentOperations.Pipeline), id) { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The identifier of the resource that is the target of operations. - internal ResourceOperations(ClientContext clientContext, ResourceIdentifier id) + internal ArmResource(ClientContext clientContext, ResourceIdentifier id) { ClientOptions = clientContext.ClientOptions; Id = id; Credential = clientContext.Credential; BaseUri = clientContext.BaseUri; Pipeline = clientContext.Pipeline; - Diagnostics = new ClientDiagnostics(ClientOptions); ValidateResourceType(id); } - internal ClientDiagnostics Diagnostics { get; } - - private TenantOperations Tenant => _tenant ??= new TenantOperations(ClientOptions, Credential, BaseUri, Pipeline); + private Tenant Tenant => _tenant ??= new Tenant(ClientOptions, Credential, BaseUri, Pipeline); /// /// Gets the resource identifier. @@ -94,7 +91,7 @@ internal ResourceOperations(ClientContext clientContext, ResourceIdentifier id) /// Gets the TagResourceOperations. /// /// A TagResourceOperations. - protected internal TagResourceOperations TagResourceOperations => _tagResourceOperations ??= new TagResourceOperations(this, Id); + protected internal TagResource TagResourceOperations => _tagResourceOperations ??= new TagResource(this, Id); /// /// Gets the TagsOperations. @@ -119,7 +116,7 @@ protected virtual void ValidateResourceType(ResourceIdentifier identifier) /// A collection of location that may take multiple service requests to iterate over. protected IEnumerable ListAvailableLocations(ResourceType resourceType, CancellationToken cancellationToken = default) { - ProviderInfo resourcePageableProvider = Tenant.GetProvider(resourceType.Namespace, null, cancellationToken); + ProviderInfo resourcePageableProvider = Tenant.GetTenantProvider(resourceType.Namespace, null, cancellationToken); if (resourcePageableProvider is null) throw new InvalidOperationException($"{resourceType.Type} not found for {resourceType.Namespace}"); var theResource = resourcePageableProvider.ResourceTypes.FirstOrDefault(r => resourceType.Type.Equals(r.ResourceType)); @@ -136,7 +133,7 @@ protected IEnumerable ListAvailableLocations(ResourceType resourceType /// A collection of location that may take multiple service requests to iterate over. protected async Task> ListAvailableLocationsAsync(ResourceType resourceType, CancellationToken cancellationToken = default) { - ProviderInfo resourcePageableProvider = await Tenant.GetProviderAsync(resourceType.Namespace, null, cancellationToken).ConfigureAwait(false); + ProviderInfo resourcePageableProvider = await Tenant.GetTenantProviderAsync(resourceType.Namespace, null, cancellationToken).ConfigureAwait(false); if (resourcePageableProvider is null) throw new InvalidOperationException($"{resourceType.Type} not found for {resourceType.Namespace}"); var theResource = resourcePageableProvider.ResourceTypes.FirstOrDefault(r => resourceType.Type.Equals(r.ResourceType)); diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/LongRunningOperation/PredefinedTagCreateOrUpdateOperation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/LongRunningOperation/PredefinedTagCreateOrUpdateOperation.cs index dcda274c94b0..9cc54dcee99f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/LongRunningOperation/PredefinedTagCreateOrUpdateOperation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/LongRunningOperation/PredefinedTagCreateOrUpdateOperation.cs @@ -23,7 +23,7 @@ protected PredefinedTagCreateOrUpdateOperation() { } - internal PredefinedTagCreateOrUpdateOperation(ResourceOperations parentOperation, Response response) + internal PredefinedTagCreateOrUpdateOperation(ArmResource parentOperation, Response response) { _operation = new OperationOrResponseInternals(Response.FromValue(new PredefinedTag(parentOperation, response.Value), response.GetRawResponse())); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTag.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTag.cs index eb5316cfb736..1d93dfbb8017 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTag.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTag.cs @@ -1,16 +1,27 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { - /// - /// A class representing a Tags along with the instance operations that can be performed on it. - /// - public class PredefinedTag : PredefinedTagOperations + /// The predefined tag client. + public class PredefinedTag : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly TagRestOperations _restClient; + private readonly PredefinedTagData _data; + + /// + /// The resource type for predefined tag. + /// + public static readonly ResourceType ResourceType = "Microsoft.Resources/tagNames"; + /// /// Initializes a new instance of the class for mocking. /// @@ -18,20 +29,213 @@ protected PredefinedTag() { } + /// + /// Initializes a new instance of the class. + /// + /// + /// The id of the subscription. + internal PredefinedTag(ClientContext clientContext, ResourceIdentifier id) + : base(clientContext, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new TagRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + /// /// Initializes a new instance of the class. /// /// The operations object to copy the client parameters from. /// The data model representing the generic azure resource. - internal PredefinedTag(ResourceOperations operations, PredefinedTagData data) - : base(new ClientContext(operations.ClientOptions,operations.Credential, operations.BaseUri, operations.Pipeline), operations.Id) + internal PredefinedTag(ArmResource operations, PredefinedTagData data) + : base(operations, data.Id) { - Data = data; + _data = data; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new TagRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); } + /// + /// Gets the valid resource type for this operation class. + /// + protected override ResourceType ValidResourceType => ResourceType; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + /// /// Gets the Tags data model. /// - public virtual PredefinedTagData Data { get; } + /// Throws if there is no data loaded in the current instance. + public virtual PredefinedTagData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource. + /// The name of the tag. + /// The value of the tag to delete. + /// The cancellation token to use. + public virtual async Task DeleteValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.DeleteValue"); + scope.Start(); + try + { + return await _restClient.DeleteValueAsync(tagName, tagValue, cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource. + /// The name of the tag. + /// The value of the tag to delete. + /// The cancellation token to use. + public virtual Response DeleteValue(string tagName, string tagValue, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.DeleteValue"); + scope.Start(); + try + { + return _restClient.DeleteValue(tagName, tagValue, cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters. + /// The name of the tag. + /// The value of the tag to create. + /// The cancellation token to use. + public virtual async Task> CreateOrUpdateValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.CreateOrUpdateValue"); + scope.Start(); + try + { + return await _restClient.CreateOrUpdateValueAsync(tagName, tagValue, cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters. + /// The name of the tag. + /// The value of the tag to create. + /// The cancellation token to use. + public virtual Response CreateOrUpdateValue(string tagName, string tagValue, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.CreateOrUpdateValue"); + scope.Start(); + try + { + return _restClient.CreateOrUpdateValue(tagName, tagValue, cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. + /// The name of the tag. + /// The cancellation token to use. + public virtual async Task DeleteAsync(string tagName, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.Delete"); + scope.Start(); + try + { + var operation = await StartDeleteAsync(tagName, cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. + /// The name of the tag. + /// The cancellation token to use. + public virtual Response Delete(string tagName, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.Delete"); + scope.Start(); + try + { + var operation = StartDelete(tagName, cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. + /// The name of the tag. + /// The cancellation token to use. + public virtual async Task StartDeleteAsync(string tagName, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.StartDelete"); + scope.Start(); + try + { + var response = await _restClient.DeleteAsync(tagName, cancellationToken).ConfigureAwait(false); + return new PredefinedTagDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name).Request, response); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. + /// The name of the tag. + /// The cancellation token to use. + public virtual PredefinedTagDeleteOperation StartDelete(string tagName, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("PredefinedTag.StartDelete"); + scope.Start(); + try + { + var response = _restClient.Delete(tagName, cancellationToken); + return new PredefinedTagDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name).Request, response); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + protected override void ValidateResourceType(ResourceIdentifier identifier) + { + if (identifier is null) + throw new ArgumentException("Invalid resource type for TagsOperation", nameof(identifier)); + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagContainer.cs index 0c1cebaa224e..d40ce5dd7e74 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagContainer.cs @@ -6,6 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; @@ -14,8 +15,11 @@ namespace Azure.ResourceManager.Resources /// /// A class representing collection of Tag and its operations. /// - public class PredefinedTagContainer : ResourceContainer + public class PredefinedTagContainer : ArmContainer { + private ClientDiagnostics _clientDiagnostics; + private TagRestOperations _restClient; + /// /// Initializes a new instance of the class for mocking. /// @@ -31,18 +35,19 @@ protected PredefinedTagContainer() internal PredefinedTagContainer(ClientContext clientContext, ResourceIdentifier parentId) : base(clientContext, parentId) { - RestClient = new TagRestOperations(Diagnostics, Pipeline, parentId.SubscriptionId, BaseUri); } /// /// Gets the valid resource type associated with the container. /// - protected override ResourceType ValidResourceType => SubscriptionOperations.ResourceType; + protected override ResourceType ValidResourceType => Subscription.ResourceType; /// /// Gets the operations that can be performed on the container. /// - private TagRestOperations RestClient; + private TagRestOperations RestClient => _restClient ??= new TagRestOperations(Diagnostics, Pipeline, Id.SubscriptionId, BaseUri); + + private ClientDiagnostics Diagnostics => _clientDiagnostics ??= new ClientDiagnostics(ClientOptions); /// This operation allows adding a name to the list of predefined tag names for the given subscription. A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'. /// The name of the tag to create. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagOperations.cs deleted file mode 100644 index 88b92b749cb3..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Custom/Resources/PredefinedTagOperations.cs +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// The predefined tag client. - public class PredefinedTagOperations : ResourceOperations - { - /// - /// The resource type for predefined tag. - /// - public static readonly ResourceType ResourceType = "Microsoft.Resources/tagNames"; - - /// - /// Initializes a new instance of the class for mocking. - /// - protected PredefinedTagOperations() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// The id of the subscription. - internal PredefinedTagOperations(ClientContext clientContext, ResourceIdentifier id) - : base(clientContext, id) - { - } - - /// - /// Gets the valid resource type for this operation class. - /// - protected override ResourceType ValidResourceType => ResourceType; - - private TagRestOperations RestClient => new TagRestOperations(Diagnostics, Pipeline, Id.SubscriptionId, BaseUri); - - /// This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource. - /// The name of the tag. - /// The value of the tag to delete. - /// The cancellation token to use. - public virtual async Task DeleteValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.DeleteValue"); - scope.Start(); - try - { - return await RestClient.DeleteValueAsync(tagName, tagValue, cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation allows deleting a value from the list of predefined values for an existing predefined tag name. The value being deleted must not be in use as a tag value for the given tag name for any resource. - /// The name of the tag. - /// The value of the tag to delete. - /// The cancellation token to use. - public virtual Response DeleteValue(string tagName, string tagValue, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.DeleteValue"); - scope.Start(); - try - { - return RestClient.DeleteValue(tagName, tagValue, cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters. - /// The name of the tag. - /// The value of the tag to create. - /// The cancellation token to use. - public virtual async Task> CreateOrUpdateValueAsync(string tagName, string tagValue, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.CreateOrUpdateValue"); - scope.Start(); - try - { - return await RestClient.CreateOrUpdateValueAsync(tagName, tagValue, cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation allows adding a value to the list of predefined values for an existing predefined tag name. A tag value can have a maximum of 256 characters. - /// The name of the tag. - /// The value of the tag to create. - /// The cancellation token to use. - public virtual Response CreateOrUpdateValue(string tagName, string tagValue, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.CreateOrUpdateValue"); - scope.Start(); - try - { - return RestClient.CreateOrUpdateValue(tagName, tagValue, cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. - /// The name of the tag. - /// The cancellation token to use. - public virtual async Task DeleteAsync(string tagName, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.Delete"); - scope.Start(); - try - { - var operation = await StartDeleteAsync(tagName, cancellationToken).ConfigureAwait(false); - return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. - /// The name of the tag. - /// The cancellation token to use. - public virtual Response Delete(string tagName, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.Delete"); - scope.Start(); - try - { - var operation = StartDelete(tagName, cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. - /// The name of the tag. - /// The cancellation token to use. - public virtual async Task StartDeleteAsync(string tagName, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.StartDelete"); - scope.Start(); - try - { - var response = await RestClient.DeleteAsync(tagName, cancellationToken).ConfigureAwait(false); - return new PredefinedTagDeleteOperation(Diagnostics, Pipeline, RestClient.CreateDeleteRequest(Id.Name).Request, response); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation allows deleting a name from the list of predefined tag names for the given subscription. The name being deleted must not be in use as a tag name for any resource. All predefined values for the given name must have already been deleted. - /// The name of the tag. - /// The cancellation token to use. - public virtual PredefinedTagDeleteOperation StartDelete(string tagName, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("PredefinedTagOperations.StartDelete"); - scope.Start(); - try - { - var response = RestClient.Delete(tagName, cancellationToken); - return new PredefinedTagDeleteOperation(Diagnostics, Pipeline, RestClient.CreateDeleteRequest(Id.Name).Request, response); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - protected override void ValidateResourceType(ResourceIdentifier identifier) - { - if (identifier is null) - throw new ArgumentException("Invalid resource type for TagsOperation", nameof(identifier)); - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/LongRunningOperation/ManagementGroupCreateOrUpdateOperation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/LongRunningOperation/ManagementGroupCreateOrUpdateOperation.cs index 66b292b8ba30..daae77532d98 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/LongRunningOperation/ManagementGroupCreateOrUpdateOperation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/LongRunningOperation/ManagementGroupCreateOrUpdateOperation.cs @@ -24,14 +24,14 @@ public partial class ManagementGroupCreateOrUpdateOperation : Operation _operation; - private readonly ResourceOperations _operationBase; + private readonly ArmResource _operationBase; /// Initializes a new instance of ManagementGroupCreateOrUpdateOperation for mocking. protected ManagementGroupCreateOrUpdateOperation() { } - internal ManagementGroupCreateOrUpdateOperation(ResourceOperations operationsBase, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) + internal ManagementGroupCreateOrUpdateOperation(ArmResource operationsBase, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) { _operation = new OperationOrResponseInternals(this, clientDiagnostics, pipeline, request, response, OperationFinalStateVia.AzureAsyncOperation, "ManagementGroupCreateOrUpdateOperation"); _operationBase = operationsBase; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroup.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroup.cs index cfa08a43bb5a..d5eaad7dae8a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroup.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroup.cs @@ -1,37 +1,370 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Management.Models; +using Azure.ResourceManager.Resources; namespace Azure.ResourceManager.Management { /// - /// A class representing a ManagementGroup along with the instance operations that can be performed on it. + /// A class representing the operations that can be performed over a specific ManagementGroup. /// - public class ManagementGroup : ManagementGroupOperations + public class ManagementGroup : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly ManagementGroupsRestOperations _restClient; + private readonly ManagementGroupData _data; + /// - /// Initializes a new instance of the class for mocking. + /// Initializes a new instance of the class for mocking. /// protected ManagementGroup() { } + /// + /// Initializes a new instance of the class. + /// + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + protected internal ManagementGroup(ArmResource options, ResourceIdentifier id) + : base(options, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ManagementGroupsRestOperations(_clientDiagnostics, Pipeline, BaseUri); + } + /// /// Initializes a new instance of the class. /// /// The operations to copy the client options from. /// The ManagementGroupData to use in these operations. - internal ManagementGroup(ResourceOperations operations, ManagementGroupData resource) + internal ManagementGroup(ArmResource operations, ManagementGroupData resource) : base(operations, resource.Id) { - Data = resource; + _data = resource; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ManagementGroupsRestOperations(_clientDiagnostics, Pipeline, BaseUri); } + /// + /// Gets the resource type definition for a ResourceType. + /// + public static readonly ResourceType ResourceType = "Microsoft.Management/managementGroups"; + + /// + protected override ResourceType ValidResourceType => ResourceType; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + /// /// Gets the data representing this ManagementGroup. /// - public virtual ManagementGroupData Data { get; } + /// Throws if there is no data loaded in the current instance. + public virtual ManagementGroupData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// + /// Get the details of the management group. + /// . + /// + /// The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group. + /// The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true. + /// A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription'). + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public virtual Response Get(ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.Get"); + scope.Start(); + try + { + var response = _restClient.Get(Id.Name, expand, recurse, filter, cacheControl, cancellationToken); + if (response.Value == null) + throw _clientDiagnostics.CreateRequestFailedException(response.GetRawResponse()); + + return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get the details of the management group. + /// . + /// + /// The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group. + /// The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true. + /// A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription'). + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public async virtual Task> GetAsync(ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.Get"); + scope.Start(); + try + { + var response = await _restClient.GetAsync(Id.Name, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + + return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete management group. + /// If a management group contains child resources, the request will fail. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public virtual Response Delete(string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.Delete"); + scope.Start(); + try + { + var operation = StartDelete(cacheControl, cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete management group. + /// If a management group contains child resources, the request will fail. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public async virtual Task DeleteAsync(string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.Delete"); + scope.Start(); + try + { + var operation = await StartDeleteAsync(cacheControl, cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete management group. + /// If a management group contains child resources, the request will fail. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public virtual ManagementGroupDeleteOperation StartDelete(string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.StartDelete"); + scope.Start(); + try + { + var originalResponse = _restClient.Delete(Id.Name, cacheControl, cancellationToken); + return new ManagementGroupDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name, cacheControl).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete management group. + /// If a management group contains child resources, the request will fail. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public async virtual Task StartDeleteAsync(string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.StartDelete"); + scope.Start(); + try + { + var originalResponse = await _restClient.DeleteAsync(Id.Name, cacheControl, cancellationToken).ConfigureAwait(false); + return new ManagementGroupDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name, cacheControl).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// List all entities that descend from a management group. + /// . + /// + /// + /// Page continuation token is only used if a previous operation returned a partial result. + /// If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls. + /// . + /// + /// Number of elements to return when retrieving results. Passing this in will override $skipToken. + /// The cancellation token to use. + public virtual Pageable GetDescendants(string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + Page FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.GetDescendants"); + scope.Start(); + try + { + var response = _restClient.GetDescendants(Id.Name, skiptoken, top, cancellationToken); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + Page NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.GetDescendants"); + scope.Start(); + try + { + var response = _restClient.GetDescendantsNextPage(nextLink, Id.Name, skiptoken, top, cancellationToken); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); + } + + /// + /// List all entities that descend from a management group. + /// . + /// + /// + /// Page continuation token is only used if a previous operation returned a partial result. + /// If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls. + /// . + /// + /// Number of elements to return when retrieving results. Passing this in will override $skipToken. + /// The cancellation token to use. + public virtual AsyncPageable GetDescendantsAsync(string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.GetDescendants"); + scope.Start(); + try + { + var response = await _restClient.GetDescendantsAsync(Id.Name, skiptoken, top, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + async Task> NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.GetDescendants"); + scope.Start(); + try + { + var response = await _restClient.GetDescendantsNextPageAsync(nextLink, Id.Name, skiptoken, top, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); + } + + /// + /// Update a management group. + /// . + /// + /// Management group patch parameters. + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public virtual Response Update(PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.Update"); + scope.Start(); + try + { + var response = _restClient.Update(Id.Name, patchGroupOptions, cacheControl, cancellationToken); + return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update a management group. + /// . + /// + /// Management group patch parameters. + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + public async virtual Task> UpdateAsync(PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroup.Update"); + scope.Start(); + try + { + var response = await _restClient.UpdateAsync(Id.Name, patchGroupOptions, cacheControl, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupContainer.cs index 8e8d4418a307..44b2bfcde4c5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupContainer.cs @@ -16,9 +16,9 @@ namespace Azure.ResourceManager.Management /// /// A class representing collection of ManagementGroupContainer and their operations over a ManagementGroup. /// - public class ManagementGroupContainer : ResourceContainer + public class ManagementGroupContainer : ArmContainer { - private readonly ClientDiagnostics _clientDiagnostics; + private ClientDiagnostics _clientDiagnostics; private ManagementGroupsRestOperations _restClient; /// @@ -32,20 +32,22 @@ protected ManagementGroupContainer() /// Initializes a new instance of the class. /// /// The parent tenant. - internal ManagementGroupContainer(TenantOperations tenant) + internal ManagementGroupContainer(Tenant tenant) : base(tenant) { - _clientDiagnostics = new ClientDiagnostics(ClientOptions); - _restClient = new ManagementGroupsRestOperations(_clientDiagnostics, Pipeline, BaseUri); } /// /// Gets the parent resource of this resource. /// - protected new TenantOperations Parent { get {return base.Parent as TenantOperations;} } + protected new Tenant Parent { get {return base.Parent as Tenant;} } /// - protected override ResourceType ValidResourceType => TenantOperations.ResourceType; + protected override ResourceType ValidResourceType => Tenant.ResourceType; + + private ManagementGroupsRestOperations RestClient => _restClient ??= new ManagementGroupsRestOperations(_clientDiagnostics, Pipeline, BaseUri); + + private ClientDiagnostics Diagnostics => _clientDiagnostics ??= new ClientDiagnostics(ClientOptions); /// /// List management groups for the authenticated user. @@ -58,16 +60,16 @@ internal ManagementGroupContainer(TenantOperations tenant) /// . /// /// The cancellation token to use. - public virtual Pageable GetAll(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + public virtual Pageable GetAll(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) { - Page FirstPageFunc(int? pageSizeHint) + Page FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.GetAll"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.GetAll"); scope.Start(); try { - var response = _restClient.List(cacheControl, skiptoken, cancellationToken); - return Page.FromValues(response.Value.Value.Select(d => new ManagementGroupInfo(this, d)), response.Value.NextLink, response.GetRawResponse()); + var response = RestClient.List(cacheControl, skiptoken, cancellationToken); + return Page.FromValues(response.Value.Value.Select(d => new ManagementGroup(this, d)), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -75,14 +77,14 @@ Page FirstPageFunc(int? pageSizeHint) throw; } } - Page NextPageFunc(string nextLink, int? pageSizeHint) + Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.GetAll"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.GetAll"); scope.Start(); try { - var response = _restClient.ListNextPage(nextLink, cacheControl, skiptoken, cancellationToken); - return Page.FromValues(response.Value.Value.Select(d => new ManagementGroupInfo(this, d)), response.Value.NextLink, response.GetRawResponse()); + var response = RestClient.ListNextPage(nextLink, cacheControl, skiptoken, cancellationToken); + return Page.FromValues(response.Value.Value.Select(d => new ManagementGroup(this, d)), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -104,16 +106,16 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) /// . /// /// The cancellation token to use. - public virtual AsyncPageable GetAllAsync(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetAllAsync(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) { - async Task> FirstPageFunc(int? pageSizeHint) + async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.GetAll"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.GetAll"); scope.Start(); try { - var response = await _restClient.ListAsync(cacheControl, skiptoken, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(d => new ManagementGroupInfo(this, d)), response.Value.NextLink, response.GetRawResponse()); + var response = await RestClient.ListAsync(cacheControl, skiptoken, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value.Select(d => new ManagementGroup(this, d)), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -121,14 +123,14 @@ async Task> FirstPageFunc(int? pageSizeHint) throw; } } - async Task> NextPageFunc(string nextLink, int? pageSizeHint) + async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.GetAll"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.GetAll"); scope.Start(); try { - var response = await _restClient.ListNextPageAsync(nextLink, cacheControl, skiptoken, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(d => new ManagementGroupInfo(this, d)), response.Value.NextLink, response.GetRawResponse()); + var response = await RestClient.ListNextPageAsync(nextLink, cacheControl, skiptoken, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value.Select(d => new ManagementGroup(this, d)), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -151,11 +153,11 @@ async Task> NextPageFunc(string nextLink, int? pageSiz /// The cancellation token to use. public virtual Response Get(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.Get"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.Get"); scope.Start(); try { - var response = _restClient.Get(groupId, expand, recurse, filter, cacheControl, cancellationToken); + var response = RestClient.Get(groupId, expand, recurse, filter, cacheControl, cancellationToken); if (response.Value == null) throw Diagnostics.CreateRequestFailedException(response.GetRawResponse()); @@ -180,11 +182,11 @@ public virtual Response Get(string groupId, ManagementGroupExpa /// The cancellation token to use. public async virtual Task> GetAsync(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.Get"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.Get"); scope.Start(); try { - var response = await _restClient.GetAsync(groupId, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); + var response = await RestClient.GetAsync(groupId, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); if (response.Value == null) throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); @@ -209,11 +211,11 @@ public async virtual Task> GetAsync(string groupId, Ma /// The cancellation token to use. public virtual Response GetIfExists(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.GetIfExists"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.GetIfExists"); scope.Start(); try { - var response = _restClient.Get(groupId, expand, recurse, filter, cacheControl, cancellationToken); + var response = RestClient.Get(groupId, expand, recurse, filter, cacheControl, cancellationToken); return response.Value == null ? Response.FromValue(null, response.GetRawResponse()) : Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); @@ -237,11 +239,11 @@ public virtual Response GetIfExists(string groupId, ManagementG /// The cancellation token to use. public async virtual Task> GetIfExistsAsync(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.GetIfExists"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.GetIfExists"); scope.Start(); try { - var response = await _restClient.GetAsync(groupId, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); + var response = await RestClient.GetAsync(groupId, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); return response.Value == null ? Response.FromValue(null, response.GetRawResponse()) : Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); @@ -265,7 +267,7 @@ public async virtual Task> GetIfExistsAsync(string gro /// The cancellation token to use. public virtual Response CheckIfExists(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CheckIfExists"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.CheckIfExists"); scope.Start(); try { @@ -291,7 +293,7 @@ public virtual Response CheckIfExists(string groupId, ManagementGroupExpan /// The cancellation token to use. public async virtual Task> CheckIfExistsAsync(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CheckIfExists"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.CheckIfExists"); scope.Start(); try { @@ -326,7 +328,7 @@ public virtual Response CreateOrUpdate(string groupId, CreateMa throw new ArgumentNullException(nameof(createManagementGroupOptions)); } - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CreateOrUpdate"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.CreateOrUpdate"); scope.Start(); try { @@ -361,7 +363,7 @@ public async virtual Task> CreateOrUpdateAsync(string throw new ArgumentNullException(nameof(createManagementGroupOptions)); } - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CreateOrUpdate"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.CreateOrUpdate"); scope.Start(); try { @@ -396,11 +398,11 @@ public virtual ManagementGroupCreateOrUpdateOperation StartCreateOrUpdate(string throw new ArgumentNullException(nameof(createManagementGroupOptions)); } - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.StartCreateOrUpdate"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.StartCreateOrUpdate"); scope.Start(); try { - var originalResponse = _restClient.CreateOrUpdate(groupId, createManagementGroupOptions, cacheControl, cancellationToken); + var originalResponse = RestClient.CreateOrUpdate(groupId, createManagementGroupOptions, cacheControl, cancellationToken); return new ManagementGroupCreateOrUpdateOperation(this, _clientDiagnostics, Pipeline, _restClient.CreateCreateOrUpdateRequest(groupId, createManagementGroupOptions, cacheControl).Request, originalResponse); } catch (Exception e) @@ -431,11 +433,11 @@ public async virtual Task StartCreateOrU throw new ArgumentNullException(nameof(createManagementGroupOptions)); } - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.StartCreateOrUpdate"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.StartCreateOrUpdate"); scope.Start(); try { - var originalResponse = await _restClient.CreateOrUpdateAsync(groupId, createManagementGroupOptions, cacheControl, cancellationToken).ConfigureAwait(false); + var originalResponse = await RestClient.CreateOrUpdateAsync(groupId, createManagementGroupOptions, cacheControl, cancellationToken).ConfigureAwait(false); return new ManagementGroupCreateOrUpdateOperation(this, _clientDiagnostics, Pipeline, _restClient.CreateCreateOrUpdateRequest(groupId, createManagementGroupOptions, cacheControl).Request, originalResponse); } catch (Exception e) @@ -450,11 +452,11 @@ public async virtual Task StartCreateOrU /// The cancellation token to use. public virtual Response CheckNameAvailability(CheckNameAvailabilityOptions checkNameAvailabilityOptions, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CheckNameAvailability"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.CheckNameAvailability"); scope.Start(); try { - return _restClient.CheckNameAvailability(checkNameAvailabilityOptions, cancellationToken); + return RestClient.CheckNameAvailability(checkNameAvailabilityOptions, cancellationToken); } catch (Exception e) { @@ -468,11 +470,11 @@ public virtual Response CheckNameAvailability(Check /// The cancellation token to use. public async virtual Task> CheckNameAvailabilityAsync(CheckNameAvailabilityOptions checkNameAvailabilityOptions, CancellationToken cancellationToken = default) { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CheckNameAvailability"); + using var scope = Diagnostics.CreateScope("ManagementGroupContainer.CheckNameAvailability"); scope.Start(); try { - return await _restClient.CheckNameAvailabilityAsync(checkNameAvailabilityOptions, cancellationToken).ConfigureAwait(false); + return await RestClient.CheckNameAvailabilityAsync(checkNameAvailabilityOptions, cancellationToken).ConfigureAwait(false); } catch (Exception e) { diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupInfo.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupInfo.cs deleted file mode 100644 index 7ff62710e9e7..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupInfo.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Management.Models; - -namespace Azure.ResourceManager.Management -{ - /// - /// A class representing a ManagementGroup along with the instance operations that can be performed on it. - /// - public class ManagementGroupInfo : ManagementGroupOperations - { - /// - /// Initializes a new instance of the class for mocking. - /// - protected ManagementGroupInfo() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The operations to copy the client options from. - /// The ManagementGroupData to use in these operations. - internal ManagementGroupInfo(ResourceOperations operations, ManagementGroupInfoData resource) - : base(operations, resource.Id) - { - Data = resource; - } - - /// - /// Gets the data representing this ManagementGroup. - /// - public virtual ManagementGroupInfoData Data { get; } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupInfoData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupInfoData.cs deleted file mode 100644 index d364b70e28b5..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupInfoData.cs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Management -{ - /// The management group resource. - public partial class ManagementGroupInfoData : Resource - { - /// Initializes a new instance of ManagementGroupInfo. - internal ManagementGroupInfoData() - { - } - - /// Initializes a new instance of ManagementGroupInfo. - /// The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. - /// The type of the resource. For example, Microsoft.Management/managementGroups. - /// The name of the management group. For example, 00000000-0000-0000-0000-000000000000. - /// The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000. - /// The friendly name of the management group. - internal ManagementGroupInfoData(string id, string type, string name, string tenantId, string displayName) - : base(id, type, name) - { - TenantId = tenantId; - DisplayName = displayName; - } - - /// The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000. - public string TenantId { get; } - /// The friendly name of the management group. - public string DisplayName { get; } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupOperations.cs deleted file mode 100644 index 387318891cbe..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/ManagementGroupOperations.cs +++ /dev/null @@ -1,336 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.Core.Pipeline; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Management.Models; -using Azure.ResourceManager.Resources; - -namespace Azure.ResourceManager.Management -{ - /// - /// A class representing the operations that can be performed over a specific ManagementGroup. - /// - public class ManagementGroupOperations : ResourceOperations - { - private readonly ClientDiagnostics _clientDiagnostics; - private ManagementGroupsRestOperations _restClient; - - /// - /// Initializes a new instance of the class for mocking. - /// - protected ManagementGroupOperations() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The client parameters to use in these operations. - /// The identifier of the resource that is the target of operations. - protected internal ManagementGroupOperations(ResourceOperations options, ResourceIdentifier id) - : base(options, id) - { - _clientDiagnostics = new ClientDiagnostics(ClientOptions); - _restClient = new ManagementGroupsRestOperations(_clientDiagnostics, Pipeline, BaseUri); - } - - /// - /// Gets the resource type definition for a ResourceType. - /// - public static readonly ResourceType ResourceType = "Microsoft.Management/managementGroups"; - - /// - protected override ResourceType ValidResourceType => ResourceType; - - /// - /// Get the details of the management group. - /// . - /// - /// The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group. - /// The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true. - /// A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription'). - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public virtual Response Get(ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Get"); - scope.Start(); - try - { - var response = _restClient.Get(Id.Name, expand, recurse, filter, cacheControl, cancellationToken); - if (response.Value == null) - throw Diagnostics.CreateRequestFailedException(response.GetRawResponse()); - - return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Get the details of the management group. - /// . - /// - /// The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group. - /// The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true. - /// A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription'). - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public async virtual Task> GetAsync(ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Get"); - scope.Start(); - try - { - var response = await _restClient.GetAsync(Id.Name, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); - if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); - - return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete management group. - /// If a management group contains child resources, the request will fail. - /// . - /// - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public virtual Response Delete(string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Delete"); - scope.Start(); - try - { - var operation = StartDelete(cacheControl, cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete management group. - /// If a management group contains child resources, the request will fail. - /// . - /// - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public async virtual Task DeleteAsync(string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Delete"); - scope.Start(); - try - { - var operation = await StartDeleteAsync(cacheControl, cancellationToken).ConfigureAwait(false); - return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete management group. - /// If a management group contains child resources, the request will fail. - /// . - /// - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public virtual ManagementGroupDeleteOperation StartDelete(string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.StartDelete"); - scope.Start(); - try - { - var originalResponse = _restClient.Delete(Id.Name, cacheControl, cancellationToken); - return new ManagementGroupDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name, cacheControl).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete management group. - /// If a management group contains child resources, the request will fail. - /// . - /// - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public async virtual Task StartDeleteAsync(string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.StartDelete"); - scope.Start(); - try - { - var originalResponse = await _restClient.DeleteAsync(Id.Name, cacheControl, cancellationToken).ConfigureAwait(false); - return new ManagementGroupDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name, cacheControl).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// List all entities that descend from a management group. - /// . - /// - /// - /// Page continuation token is only used if a previous operation returned a partial result. - /// If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls. - /// . - /// - /// Number of elements to return when retrieving results. Passing this in will override $skipToken. - /// The cancellation token to use. - public virtual Pageable GetDescendants(string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) - { - Page FirstPageFunc(int? pageSizeHint) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.GetDescendants"); - scope.Start(); - try - { - var response = _restClient.GetDescendants(Id.Name, skiptoken, top, cancellationToken); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - Page NextPageFunc(string nextLink, int? pageSizeHint) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.GetDescendants"); - scope.Start(); - try - { - var response = _restClient.GetDescendantsNextPage(nextLink, Id.Name, skiptoken, top, cancellationToken); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); - } - - /// - /// List all entities that descend from a management group. - /// . - /// - /// - /// Page continuation token is only used if a previous operation returned a partial result. - /// If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls. - /// . - /// - /// Number of elements to return when retrieving results. Passing this in will override $skipToken. - /// The cancellation token to use. - public virtual AsyncPageable GetDescendantsAsync(string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) - { - async Task> FirstPageFunc(int? pageSizeHint) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.GetDescendants"); - scope.Start(); - try - { - var response = await _restClient.GetDescendantsAsync(Id.Name, skiptoken, top, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - async Task> NextPageFunc(string nextLink, int? pageSizeHint) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.GetDescendants"); - scope.Start(); - try - { - var response = await _restClient.GetDescendantsNextPageAsync(nextLink, Id.Name, skiptoken, top, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); - } - - /// - /// Update a management group. - /// . - /// - /// Management group patch parameters. - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public virtual Response Update(PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Update"); - scope.Start(); - try - { - var response = _restClient.Update(Id.Name, patchGroupOptions, cacheControl, cancellationToken); - return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Update a management group. - /// . - /// - /// Management group patch parameters. - /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. - /// The cancellation token to use. - public async virtual Task> UpdateAsync(PatchManagementGroupOptions patchGroupOptions, string cacheControl = null, CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Update"); - scope.Start(); - try - { - var response = await _restClient.UpdateAsync(Id.Name, patchGroupOptions, cacheControl, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.Serialization.cs deleted file mode 100644 index c8177637b531..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.Serialization.cs +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.ResourceManager.Management -{ - public partial class ManagementGroupInfoData - { - internal static ManagementGroupInfoData DeserializeManagementGroupInfo(JsonElement element) - { - Optional id = default; - Optional type = default; - Optional name = default; - Optional tenantId = default; - Optional displayName = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("id")) - { - id = property.Value.GetString(); - continue; - } - if (property.NameEquals("type")) - { - type = property.Value.GetString(); - continue; - } - if (property.NameEquals("name")) - { - name = property.Value.GetString(); - continue; - } - if (property.NameEquals("properties")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - foreach (var property0 in property.Value.EnumerateObject()) - { - if (property0.NameEquals("tenantId")) - { - tenantId = property0.Value.GetString(); - continue; - } - if (property0.NameEquals("displayName")) - { - displayName = property0.Value.GetString(); - continue; - } - } - continue; - } - } - return new ManagementGroupInfoData(id.Value, type.Value, name.Value, tenantId.Value, displayName.Value); - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.Serialization.cs index 5ebcbe8dcb52..7498f64d7428 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.Serialization.cs @@ -15,7 +15,7 @@ internal partial class ManagementGroupListResult { internal static ManagementGroupListResult DeserializeManagementGroupListResult(JsonElement element) { - Optional> value = default; + Optional> value = default; Optional nextLink = default; foreach (var property in element.EnumerateObject()) { @@ -26,10 +26,10 @@ internal static ManagementGroupListResult DeserializeManagementGroupListResult(J property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagementGroupInfoData.DeserializeManagementGroupInfo(item)); + array.Add(ManagementGroupData.DeserializeManagementGroup(item)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.cs index 117353f47853..e99cc04c1391 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/ManagementGroup/Models/ManagementGroupListResult.cs @@ -16,20 +16,20 @@ internal partial class ManagementGroupListResult /// Initializes a new instance of ManagementGroupListResult. internal ManagementGroupListResult() { - Value = new ChangeTrackingList(); + Value = new ChangeTrackingList(); } /// Initializes a new instance of ManagementGroupListResult. /// The list of management groups. /// The URL to use for getting the next set of results. - internal ManagementGroupListResult(IReadOnlyList value, string nextLink) + internal ManagementGroupListResult(IReadOnlyList value, string nextLink) { Value = value; NextLink = nextLink; } /// The list of management groups. - public IReadOnlyList Value { get; } + public IReadOnlyList Value { get; } /// The URL to use for getting the next set of results. public string NextLink { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Feature.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Feature.cs index 329012367c80..5f01d27d363b 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Feature.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Feature.cs @@ -1,16 +1,23 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { /// - /// A class representing a Feature along with the instance operations that can be performed on it. + /// A class representing the operations that can be performed over a specific Feature. /// - public class Feature : FeatureOperations + public class Feature : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly FeaturesRestOperations _restClient; + private readonly FeatureData _data; + /// /// Initializes a new instance of the class for mocking. /// @@ -23,15 +30,175 @@ protected Feature() /// /// The operations to copy the client options from. /// The FeatureData to use in these operations. - internal Feature(ResourceOperations operations, FeatureData resource) + internal Feature(ArmResource operations, FeatureData resource) : base(operations, resource.Id) { - Data = resource; + _data = resource; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new FeaturesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + + /// + /// Initializes a new instance of the class. + /// + /// The client parameters to use in these operations. + /// The id of the resource group to use. + internal Feature(ClientContext options, ResourceIdentifier id) + : base(options, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new FeaturesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); } + /// + /// Gets the resource type definition for a ResourceType. + /// + public static readonly ResourceType ResourceType = "Microsoft.Resources/features"; + + /// + protected override ResourceType ValidResourceType => ResourceType; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + /// /// Gets the data representing this Feature. /// - public virtual FeatureData Data { get; } + /// Throws if there is no data loaded in the current instance. + public virtual FeatureData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// + protected override void ValidateResourceType(ResourceIdentifier identifier) + { + if (identifier.ResourceType != $"{Id.ResourceType.Namespace}/features") + { + throw new InvalidOperationException($"Invalid resourcetype found when intializing FeatureOperations: {identifier.ResourceType}"); + } + } + + /// Gets the current Feature from Azure. + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Feature.Get"); + scope.Start(); + try + { + var response = _restClient.Get(Id.ResourceType.Namespace, Id.Name, cancellationToken); + if (response.Value == null) + throw _clientDiagnostics.CreateRequestFailedException(response.GetRawResponse()); + + return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the current Feature from Azure. + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Feature.Get"); + scope.Start(); + try + { + var response = await _restClient.GetAsync(Id.ResourceType.Namespace, Id.Name, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + + return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Registers the preview feature for the subscription. + /// The cancellation token to use. + public virtual Response Register(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Feature.Register"); + scope.Start(); + try + { + var response = _restClient.Register(Id.ResourceType.Namespace, Id.Name, cancellationToken); + return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Registers the preview feature for the subscription. + /// The cancellation token to use. + public virtual async Task> RegisterAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Feature.Register"); + scope.Start(); + try + { + var response = await _restClient.RegisterAsync(Id.ResourceType.Namespace, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Unregisters the preview feature for the subscription. + /// The cancellation token to use. + public virtual Response Unregister(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Feature.Unregister"); + scope.Start(); + try + { + var response = _restClient.Unregister(Id.ResourceType.Namespace, Id.Name, cancellationToken); + return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Unregisters the preview feature for the subscription. + /// The cancellation token to use. + public virtual async Task> UnregisterAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Feature.Unregister"); + scope.Start(); + try + { + var response = await _restClient.UnregisterAsync(Id.ResourceType.Namespace, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/FeatureContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/FeatureContainer.cs index 78dc52a4e977..4080ca3445eb 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/FeatureContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/FeatureContainer.cs @@ -16,7 +16,7 @@ namespace Azure.ResourceManager.Resources /// /// A class representing collection of FeatureContainer and their operations over a Feature. /// - public class FeatureContainer : ResourceContainer + public class FeatureContainer : ArmContainer { private readonly ClientDiagnostics _clientDiagnostics; private FeaturesRestOperations _restClient { get; } @@ -32,7 +32,7 @@ protected FeatureContainer() /// Initializes a new instance of the class. /// /// The resource representing the parent resource. - internal FeatureContainer(ProviderOperations parent) + internal FeatureContainer(Provider parent) : base(parent) { _clientDiagnostics = new ClientDiagnostics(ClientOptions); @@ -42,10 +42,10 @@ internal FeatureContainer(ProviderOperations parent) /// /// Gets the parent resource of this resource. /// - protected new ProviderOperations Parent { get {return base.Parent as ProviderOperations;} } + protected new Provider Parent { get {return base.Parent as Provider;} } /// - protected override ResourceType ValidResourceType => ProviderOperations.ResourceType; + protected override ResourceType ValidResourceType => Provider.ResourceType; /// Gets all the preview features in a provider namespace that are available through AFEC for the subscription. /// The cancellation token to use. @@ -132,7 +132,7 @@ public virtual Response Get(string featureName, CancellationToken cance { var response = _restClient.Get(Id.Provider, featureName, cancellationToken); if (response.Value == null) - throw Diagnostics.CreateRequestFailedException(response.GetRawResponse()); + throw _clientDiagnostics.CreateRequestFailedException(response.GetRawResponse()); return Response.FromValue(new Feature(Parent, response.Value), response.GetRawResponse()); } @@ -154,7 +154,7 @@ public virtual async Task> GetAsync(string featureName, Cancel { var response = await _restClient.GetAsync(Id.Provider, featureName, cancellationToken).ConfigureAwait(false); if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); return Response.FromValue(new Feature(Parent, response.Value), response.GetRawResponse()); } @@ -174,7 +174,7 @@ public virtual async Task> GetAsync(string featureName, Cancel /// Whether or not the resource existed. public virtual Response GetIfExists(string featureName, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("FeatureContainer.GetIfExists"); + using var scope = _clientDiagnostics.CreateScope("FeatureContainer.GetIfExists"); scope.Start(); try @@ -200,7 +200,7 @@ public virtual Response GetIfExists(string featureName, CancellationTok /// Whether or not the resource existed. public virtual async Task> GetIfExistsAsync(string featureName, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("FeatureContainer.GetIfExists"); + using var scope = _clientDiagnostics.CreateScope("FeatureContainer.GetIfExists"); scope.Start(); try @@ -226,7 +226,7 @@ public virtual async Task> GetIfExistsAsync(string featureName /// Whether or not the resource existed. public virtual Response CheckIfExists(string featureName, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("FeatureContainer.CheckIfExists"); + using var scope = _clientDiagnostics.CreateScope("FeatureContainer.CheckIfExists"); scope.Start(); try @@ -250,7 +250,7 @@ public virtual Response CheckIfExists(string featureName, CancellationToke /// Whether or not the resource existed. public virtual async Task> CheckIfExistsAsync(string featureName, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("FeatureContainer.CheckIfExists"); + using var scope = _clientDiagnostics.CreateScope("FeatureContainer.CheckIfExists"); scope.Start(); try diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/FeatureOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/FeatureOperations.cs deleted file mode 100644 index be734386bff2..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/FeatureOperations.cs +++ /dev/null @@ -1,182 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core.Pipeline; -using Azure.ResourceManager.Core; - -namespace Azure.ResourceManager.Resources -{ - /// - /// A class representing the operations that can be performed over a specific Feature. - /// - public class FeatureOperations : ResourceOperations - { - private readonly ClientDiagnostics _clientDiagnostics; - private FeaturesRestOperations _restClient { get; } - - /// - /// Initializes a new instance of the class for mocking. - /// - protected FeatureOperations() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The client parameters to use in these operations. - /// The id of the feature to use. - protected FeatureOperations(ResourceOperations options, ResourceIdentifier id) - : base(options, id) - { - _clientDiagnostics = new ClientDiagnostics(ClientOptions); - _restClient = new FeaturesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); - } - - /// - /// Initializes a new instance of the class. - /// - /// The client parameters to use in these operations. - /// The id of the resource group to use. - internal FeatureOperations(ClientContext options, ResourceIdentifier id) - : base(options, id) - { - _clientDiagnostics = new ClientDiagnostics(ClientOptions); - _restClient = new FeaturesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); - } - - /// - /// Gets the resource type definition for a ResourceType. - /// - public static readonly ResourceType ResourceType = "Microsoft.Resources/features"; - - /// - protected override ResourceType ValidResourceType => ResourceType; - - /// - protected override void ValidateResourceType(ResourceIdentifier identifier) - { - if (identifier.ResourceType != $"{Id.ResourceType.Namespace}/features") - { - throw new InvalidOperationException($"Invalid resourcetype found when intializing FeatureOperations: {identifier.ResourceType}"); - } - } - - /// Gets the current Feature from Azure. - /// The cancellation token to use. - public virtual Response Get(CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("FeatureOperations.Get"); - scope.Start(); - try - { - var response = _restClient.Get(Id.ResourceType.Namespace, Id.Name, cancellationToken); - if (response.Value == null) - throw Diagnostics.CreateRequestFailedException(response.GetRawResponse()); - - return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current Feature from Azure. - /// The cancellation token to use. - public virtual async Task> GetAsync(CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("FeatureOperations.Get"); - scope.Start(); - try - { - var response = await _restClient.GetAsync(Id.ResourceType.Namespace, Id.Name, cancellationToken).ConfigureAwait(false); - if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); - - return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Registers the preview feature for the subscription. - /// The cancellation token to use. - public virtual Response Register(CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("FeatureOperations.Register"); - scope.Start(); - try - { - var response = _restClient.Register(Id.ResourceType.Namespace, Id.Name, cancellationToken); - return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Registers the preview feature for the subscription. - /// The cancellation token to use. - public virtual async Task> RegisterAsync(CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("FeatureOperations.Register"); - scope.Start(); - try - { - var response = await _restClient.RegisterAsync(Id.ResourceType.Namespace, Id.Name, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Unregisters the preview feature for the subscription. - /// The cancellation token to use. - public virtual Response Unregister(CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("FeatureOperations.Unregister"); - scope.Start(); - try - { - var response = _restClient.Unregister(Id.ResourceType.Namespace, Id.Name, cancellationToken); - return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Unregisters the preview feature for the subscription. - /// The cancellation token to use. - public virtual async Task> UnregisterAsync(CancellationToken cancellationToken = default) - { - using var scope = _clientDiagnostics.CreateScope("FeatureOperations.Unregister"); - scope.Start(); - try - { - var response = await _restClient.UnregisterAsync(Id.ResourceType.Namespace, Id.Name, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new Feature(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResource.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResource.cs index 847e46663d14..a1cecb3ec861 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResource.cs @@ -2,17 +2,26 @@ // Licensed under the MIT License. using System; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; +using System.Xml.Linq; using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { /// - /// A class representing a generic azure resource along with the instance operations that can be performed on it. + /// A class representing the operations that can be performed over a specific ArmResource. /// - public class GenericResource : GenericResourceOperations + public class GenericResource : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly ResourcesRestOperations _restClient; + private readonly GenericResourceData _data; + /// /// Initializes a new instance of the class for mocking. /// @@ -20,21 +29,482 @@ protected GenericResource() { } + /// + /// Initializes a new instance of the class. + /// + /// The operation to get the client properties from. + /// The id of the resource. + internal GenericResource(ArmResource operations, ResourceIdentifier id) + : base(operations, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ResourcesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + /// /// Initializes a new instance of the class. /// /// The operations object to copy the client parameters from. /// The data model representing the generic azure resource. /// If or is null. - internal GenericResource(ResourceOperations operations, GenericResourceData resource) + internal GenericResource(ArmResource operations, GenericResourceData resource) : base(operations, resource.Id) { - Data = resource; + _data = resource; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ResourcesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); } + /// + protected override ResourceType ValidResourceType => ResourceGroup.ResourceType; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + /// /// Gets the data representing this generic azure resource. /// - public virtual GenericResourceData Data { get; } + /// Throws if there is no data loaded in the current instance. + public virtual GenericResourceData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// + /// Delete the resource. + /// + /// A token allowing immediate cancellation of any blocking call performed during the deletion. + /// The status of the delete operation. + public virtual Response Delete(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.Delete"); + scope.Start(); + try + { + var operation = StartDelete(cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete the resource. + /// + /// A token allowing immediate cancellation of any blocking call performed during the deletion. + /// A that on completion returns the status of the delete operation. + public virtual async Task DeleteAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.Delete"); + scope.Start(); + try + { + var operation = await StartDeleteAsync(cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete the resource. + /// + /// A token allowing immediate cancellation of any blocking call performed during the deletion. + /// A which allows the caller to control polling and waiting for resource deletion. + /// The operation yields the final http response to the delete request when complete. + /// + /// Details on long running operation object. + /// + public virtual ResourceDeleteByIdOperation StartDelete(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.StartDelete"); + scope.Start(); + try + { + var apiVersion = GetApiVersion(cancellationToken); + var originalResponse = _restClient.DeleteById(Id, apiVersion, cancellationToken); + return new ResourceDeleteByIdOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteByIdRequest(Id, apiVersion).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete the resource. This call returns a Task that blocks until the delete operation is accepted on the service. + /// + /// A token to allow the caller to cancel the call to the service. + /// The default value is . + /// A that on completion returns a which + /// allows the caller to control polling and waiting for resource deletion. + /// The operation yields the final http response to the delete request when complete. + /// + /// Details on long running operation object. + /// + public virtual async Task StartDeleteAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.StartDelete"); + scope.Start(); + try + { + var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.DeleteByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); + return new ResourceDeleteByIdOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteByIdRequest(Id, apiVersion).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add a tag to the current resource. + /// + /// The key for the tag. + /// The value for the tag. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual Response AddTag(string key, string value, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.AddTag"); + scope.Start(); + try + { + var apiVersion = GetApiVersion(cancellationToken); + var originalTags = TagResourceOperations.Get(cancellationToken).Value; + originalTags.Data.Properties.TagsValue[key] = value; + TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); + var originalResponse = _restClient.GetById(Id, apiVersion, cancellationToken); + return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add a tag to the current resource. + /// + /// The key for the tag. + /// The value for the tag. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual async Task> AddTagAsync(string key, string value, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.AddTag"); + scope.Start(); + try + { + var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); + var originalTags = (await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false)).Value; + originalTags.Data.Properties.TagsValue[key] = value; + await TagContainer.CreateOrUpdateAsync(originalTags.Data, cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the current GenericResource from Azure. + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.Get"); + scope.Start(); + try + { + var apiVersion = GetApiVersion(cancellationToken); + var result = _restClient.GetById(Id, apiVersion, cancellationToken); + if (result.Value == null) + throw _clientDiagnostics.CreateRequestFailedException(result.GetRawResponse()); + + return Response.FromValue(new GenericResource(this, result), result.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the current GenericResource from Azure. + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.Get"); + scope.Start(); + try + { + var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); + var response = await _restClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + + return Response.FromValue(new GenericResource(this, response), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + protected override void ValidateResourceType(ResourceIdentifier identifier) + { + if (identifier is null) + throw new ArgumentNullException(nameof(identifier)); + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// The set of tags to use as replacement. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual Response SetTags(IDictionary tags, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.SetTags"); + scope.Start(); + try + { + var apiVersion = GetApiVersion(cancellationToken); + TagResourceOperations.Delete(cancellationToken); + var newTags = TagResourceOperations.Get(cancellationToken); + newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); + TagContainer.CreateOrUpdate(new TagResourceData(newTags.Value.Data.Properties), cancellationToken); + var originalResponse = _restClient.GetById(Id, apiVersion, cancellationToken); + return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// The set of tags to use as replacement. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual async Task> SetTagsAsync(IDictionary tags, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.SetTags"); + scope.Start(); + try + { + var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); + await TagResourceOperations.DeleteAsync(cancellationToken).ConfigureAwait(false); + var newTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); + newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); + await TagContainer.CreateOrUpdateAsync(new TagResourceData(newTags.Value.Data.Properties), cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// The key of the tag to remove. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual Response RemoveTag(string key, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.RemoveTag"); + scope.Start(); + try + { + var apiVersion = GetApiVersion(cancellationToken); + var originalTags = TagResourceOperations.Get(cancellationToken).Value; + originalTags.Data.Properties.TagsValue.Remove(key); + TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); + var originalResponse = _restClient.GetById(Id, apiVersion, cancellationToken); + return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// The key of the tag to remove. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual async Task> RemoveTagAsync(string key, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("GenericResource.RemoveTag"); + scope.Start(); + try + { + var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); + var originalTags = (await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false)).Value; + originalTags.Data.Properties.TagsValue.Remove(key); + await TagContainer.CreateOrUpdateAsync(originalTags.Data, cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Updates a resource by ID. + /// Update resource parameters. + /// The cancellation token to use. + /// is null. + public virtual Response Update(GenericResourceData parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("GenericResource.Update"); + scope.Start(); + try + { + var operation = StartUpdate(parameters, cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Updates a resource by ID. + /// Update resource parameters. + /// The cancellation token to use. + /// is null. + public virtual async Task> UpdateAsync(GenericResourceData parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("GenericResource.Update"); + scope.Start(); + try + { + var operation = await StartUpdateAsync(parameters, cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Updates a resource by ID. + /// Update resource parameters. + /// The cancellation token to use. + /// is null. + public virtual ResourceUpdateByIdOperation StartUpdate(GenericResourceData parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("GenericResource.StartUpdate"); + scope.Start(); + try + { + var apiVersion = GetApiVersion(cancellationToken); + var originalResponse = _restClient.UpdateById(Id, apiVersion, parameters, cancellationToken); + return new ResourceUpdateByIdOperation(this, _clientDiagnostics, Pipeline, _restClient.CreateUpdateByIdRequest(Id, apiVersion, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Updates a resource by ID. + /// Update resource parameters. + /// The cancellation token to use. + /// is null. + public virtual async Task StartUpdateAsync(GenericResourceData parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("GenericResource.StartUpdate"); + scope.Start(); + try + { + var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.UpdateByIdAsync(Id, apiVersion, parameters, cancellationToken).ConfigureAwait(false); + return new ResourceUpdateByIdOperation(this, _clientDiagnostics, Pipeline, _restClient.CreateUpdateByIdRequest(Id, apiVersion, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + private string GetApiVersion(CancellationToken cancellationToken) + { + string version = ClientOptions.ApiVersions.TryGetApiVersion(Id.ResourceType, cancellationToken); + if (version is null) + { + throw new InvalidOperationException($"An invalid resouce id was given {Id}"); + } + return version; + } + + private async Task GetApiVersionAsync(CancellationToken cancellationToken) + { + string version = await ClientOptions.ApiVersions.TryGetApiVersionAsync(Id.ResourceType, cancellationToken).ConfigureAwait(false); + if (version is null) + { + throw new InvalidOperationException($"An invalid resouce id was given {Id}"); + } + return version; + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceContainer.cs index a68c752c0d9f..bcc5dd61c5dc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceContainer.cs @@ -6,6 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; @@ -14,8 +15,10 @@ namespace Azure.ResourceManager.Resources /// /// A class representing collection of resources and their operations over their parent. /// - public class GenericResourceContainer : ResourceContainer + public class GenericResourceContainer : ArmContainer { + private ClientDiagnostics _clientDiagnostics; + /// /// Initializes a new instance of the class for mocking. /// @@ -59,6 +62,8 @@ private ResourcesRestOperations RestClient } } + private ClientDiagnostics Diagnostics => _clientDiagnostics ??= new ClientDiagnostics(ClientOptions); + /// /// Gets details for this resource from the service. /// @@ -118,16 +123,16 @@ public virtual async Task> GetAsync(string resourceId, /// Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. /// The number of results to return. If null is passed, returns all resource groups. /// The cancellation token to use. - public virtual Pageable GetAll(string filter = null, string expand = null, int ? top = null, CancellationToken cancellationToken = default) + public virtual Pageable GetAll(string filter = null, string expand = null, int ? top = null, CancellationToken cancellationToken = default) { - Page FirstPageFunc(int? pageSizeHint) + Page FirstPageFunc(int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetAll"); scope.Start(); try { var response = RestClient.List(filter, expand, top, cancellationToken); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -135,14 +140,14 @@ Page FirstPageFunc(int? pageSizeHint) throw; } } - Page NextPageFunc(string nextLink, int? pageSizeHint) + Page NextPageFunc(string nextLink, int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetAll"); scope.Start(); try { var response = RestClient.ListNextPage(nextLink, filter, expand, top, cancellationToken); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -158,16 +163,16 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) /// Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. /// The number of results to return. If null is passed, returns all resource groups. /// The cancellation token to use. - public virtual AsyncPageable GetAllAsync(string filter = null, string expand = null, int ? top = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetAllAsync(string filter = null, string expand = null, int ? top = null, CancellationToken cancellationToken = default) { - async Task> FirstPageFunc(int? pageSizeHint) + async Task> FirstPageFunc(int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetAll"); scope.Start(); try { var response = await RestClient.ListAsync(filter, expand, top, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -175,14 +180,14 @@ async Task> FirstPageFunc(int? pageSizeHint) throw; } } - async Task> NextPageFunc(string nextLink, int? pageSizeHint) + async Task> NextPageFunc(string nextLink, int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetAll"); scope.Start(); try { var response = await RestClient.ListNextPageAsync(nextLink, filter, expand, top, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -200,21 +205,21 @@ async Task> NextPageFunc(string nextLink, int? pag /// The number of results to return. If null is passed, returns all resources. /// The cancellation token to use. /// is null. - public virtual Pageable GetByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = null, CancellationToken cancellationToken = default) + public virtual Pageable GetByResourceGroup(string resourceGroupName, string filter = null, string expand = null, int? top = null, CancellationToken cancellationToken = default) { if (resourceGroupName == null) { throw new ArgumentNullException(nameof(resourceGroupName)); } - Page FirstPageFunc(int? pageSizeHint) + Page FirstPageFunc(int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetByResourceGroup"); scope.Start(); try { var response = RestClient.ListByResourceGroup(resourceGroupName, filter, expand, top, cancellationToken); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -222,14 +227,14 @@ Page FirstPageFunc(int? pageSizeHint) throw; } } - Page NextPageFunc(string nextLink, int? pageSizeHint) + Page NextPageFunc(string nextLink, int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetByResourceGroup"); scope.Start(); try { var response = RestClient.ListByResourceGroupNextPage(nextLink, resourceGroupName, filter, expand, top, cancellationToken); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -247,21 +252,21 @@ Page NextPageFunc(string nextLink, int? pageSizeHint) /// The number of results to return. If null is passed, returns all resources. /// The cancellation token to use. /// is null. - public virtual AsyncPageable GetByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int ? top = null, CancellationToken cancellationToken = default) + public virtual AsyncPageable GetByResourceGroupAsync(string resourceGroupName, string filter = null, string expand = null, int ? top = null, CancellationToken cancellationToken = default) { if (resourceGroupName == null) { throw new ArgumentNullException(nameof(resourceGroupName)); } - async Task> FirstPageFunc(int? pageSizeHint) + async Task> FirstPageFunc(int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetByResourceGroup"); scope.Start(); try { var response = await RestClient.ListByResourceGroupAsync(resourceGroupName, filter, expand, top, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -269,14 +274,14 @@ async Task> FirstPageFunc(int? pageSizeHint) throw; } } - async Task> NextPageFunc(string nextLink, int? pageSizeHint) + async Task> NextPageFunc(string nextLink, int? pageSizeHint) { using var scope = Diagnostics.CreateScope("GenericResourceContainer.GetByResourceGroup"); scope.Start(); try { var response = await RestClient.ListByResourceGroupNextPageAsync(nextLink, resourceGroupName, filter, expand, top, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(data => new GenericResourceExpanded(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); + return Page.FromValues(response.Value.Value.Select(data => new GenericResource(this, data)).ToList(), response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceData.cs index c70a53632e5d..b657e41d29ea 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceData.cs @@ -5,6 +5,7 @@ #nullable disable +using System; using System.Collections.Generic; using Azure.ResourceManager.Resources.Models; @@ -30,7 +31,10 @@ public GenericResourceData() /// ID of the resource that manages this resource. /// The SKU of the resource. /// The identity of the resource. - internal GenericResourceData(string id, string name, string type, string location, IDictionary tags, Plan plan, object properties, string kind, string managedBy, Sku sku, ResourceIdentity identity) : base(id, name, type, location, tags) + /// The created time of the resource. This is only present if requested via the $expand query parameter. + /// The changed time of the resource. This is only present if requested via the $expand query parameter. + /// The provisioning state of the resource. This is only present if requested via the $expand query parameter. + internal GenericResourceData(string id, string name, string type, string location, IDictionary tags, Plan plan, object properties, string kind, string managedBy, Sku sku, ResourceIdentity identity, DateTimeOffset? createdTime, DateTimeOffset? changedTime, string provisioningState) : base(id, name, type, location, tags) { Plan = plan; Properties = properties; @@ -38,6 +42,9 @@ internal GenericResourceData(string id, string name, string type, string locatio ManagedBy = managedBy; Sku = sku; Identity = identity; + CreatedTime = createdTime; + ChangedTime = changedTime; + ProvisioningState = provisioningState; } /// The plan of the resource. @@ -52,5 +59,11 @@ internal GenericResourceData(string id, string name, string type, string locatio public Sku Sku { get; set; } /// The identity of the resource. public ResourceIdentity Identity { get; set; } + /// The created time of the resource. This is only present if requested via the $expand query parameter. + public DateTimeOffset? CreatedTime { get; } + /// The changed time of the resource. This is only present if requested via the $expand query parameter. + public DateTimeOffset? ChangedTime { get; } + /// The provisioning state of the resource. This is only present if requested via the $expand query parameter. + public string ProvisioningState { get; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceExpanded.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceExpanded.cs deleted file mode 100644 index 16c4e19b1853..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceExpanded.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// - /// A class representing an expanded generic azure resource along with the instance operations that can be performed on it. - /// - public class GenericResourceExpanded : GenericResourceOperations - { - /// - /// Initializes a new instance of the class for mocking. - /// - protected GenericResourceExpanded() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The operations object to copy the client parameters from. - /// The data model representing the generic azure resource. - internal GenericResourceExpanded(ResourceOperations operations, GenericResourceExpandedData resource) - : base(operations, resource.Id) - { - Data = resource; - } - - /// - /// Gets the data representing this generic azure resource. - /// - public virtual GenericResourceExpandedData Data { get; } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceExpandedData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceExpandedData.cs deleted file mode 100644 index 99777a43ecf7..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceExpandedData.cs +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// Resource information. - public partial class GenericResourceExpandedData : GenericResourceData - { - /// Initializes a new instance of GenericResourceExpanded. - public GenericResourceExpandedData() - { - } - - /// Initializes a new instance of GenericResourceExpanded. - /// Resource ID. - /// Resource name. - /// Resource type. - /// Resource location. - /// Resource tags. - /// The plan of the resource. - /// The resource properties. - /// The kind of the resource. - /// ID of the resource that manages this resource. - /// The SKU of the resource. - /// The identity of the resource. - /// The created time of the resource. This is only present if requested via the $expand query parameter. - /// The changed time of the resource. This is only present if requested via the $expand query parameter. - /// The provisioning state of the resource. This is only present if requested via the $expand query parameter. - internal GenericResourceExpandedData(string id, string name, string type, string location, IDictionary tags, Plan plan, object properties, string kind, string managedBy, Sku sku, ResourceIdentity identity, DateTimeOffset? createdTime, DateTimeOffset? changedTime, string provisioningState) : base(id, name, type, location, tags, plan, properties, kind, managedBy, sku, identity) - { - CreatedTime = createdTime; - ChangedTime = changedTime; - ProvisioningState = provisioningState; - } - - /// The created time of the resource. This is only present if requested via the $expand query parameter. - public DateTimeOffset? CreatedTime { get; } - /// The changed time of the resource. This is only present if requested via the $expand query parameter. - public DateTimeOffset? ChangedTime { get; } - /// The provisioning state of the resource. This is only present if requested via the $expand query parameter. - public string ProvisioningState { get; } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceOperations.cs deleted file mode 100644 index a5a88c45d13e..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/GenericResourceOperations.cs +++ /dev/null @@ -1,486 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// - /// A class representing the operations that can be performed over a specific ArmResource. - /// - public class GenericResourceOperations : ResourceOperations - { - /// - /// Initializes a new instance of the class for mocking. - /// - protected GenericResourceOperations() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The operation to get the client properties from. - /// The id of the resource. - internal GenericResourceOperations(ResourceOperations operations, ResourceIdentifier id) - : base(operations, id) - { - } - - /// - protected override ResourceType ValidResourceType => ResourceGroupOperations.ResourceType; - - private ResourcesRestOperations RestClient - { - get - { - string subscription; - if (!Id.TryGetSubscriptionId(out subscription)) - { - subscription = Guid.Empty.ToString(); - } - - return new ResourcesRestOperations( - new Azure.Core.Pipeline.ClientDiagnostics(ClientOptions), - ManagementPipelineBuilder.Build(Credential, BaseUri, ClientOptions), - subscription, - BaseUri); - } - } - - /// - /// Delete the resource. - /// - /// A token allowing immediate cancellation of any blocking call performed during the deletion. - /// The status of the delete operation. - public virtual Response Delete(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.Delete"); - scope.Start(); - try - { - var operation = StartDelete(cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete the resource. - /// - /// A token allowing immediate cancellation of any blocking call performed during the deletion. - /// A that on completion returns the status of the delete operation. - public virtual async Task DeleteAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.Delete"); - scope.Start(); - try - { - var operation = await StartDeleteAsync(cancellationToken).ConfigureAwait(false); - return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete the resource. - /// - /// A token allowing immediate cancellation of any blocking call performed during the deletion. - /// A which allows the caller to control polling and waiting for resource deletion. - /// The operation yields the final http response to the delete request when complete. - /// - /// Details on long running operation object. - /// - public virtual ResourceDeleteByIdOperation StartDelete(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.StartDelete"); - scope.Start(); - try - { - var apiVersion = GetApiVersion(cancellationToken); - var originalResponse = RestClient.DeleteById(Id, apiVersion, cancellationToken); - return new ResourceDeleteByIdOperation(Diagnostics, Pipeline, RestClient.CreateDeleteByIdRequest(Id, apiVersion).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete the resource. This call returns a Task that blocks until the delete operation is accepted on the service. - /// - /// A token to allow the caller to cancel the call to the service. - /// The default value is . - /// A that on completion returns a which - /// allows the caller to control polling and waiting for resource deletion. - /// The operation yields the final http response to the delete request when complete. - /// - /// Details on long running operation object. - /// - public virtual async Task StartDeleteAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.StartDelete"); - scope.Start(); - try - { - var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.DeleteByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); - return new ResourceDeleteByIdOperation(Diagnostics, Pipeline, RestClient.CreateDeleteByIdRequest(Id, apiVersion).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Add a tag to the current resource. - /// - /// The key for the tag. - /// The value for the tag. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual Response AddTag(string key, string value, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.AddTag"); - scope.Start(); - try - { - var apiVersion = GetApiVersion(cancellationToken); - var originalTags = TagResourceOperations.Get(cancellationToken).Value; - originalTags.Data.Properties.TagsValue[key] = value; - TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); - var originalResponse = RestClient.GetById(Id, apiVersion, cancellationToken); - return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Add a tag to the current resource. - /// - /// The key for the tag. - /// The value for the tag. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual async Task> AddTagAsync(string key, string value, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.AddTag"); - scope.Start(); - try - { - var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); - var originalTags = (await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false)).Value; - originalTags.Data.Properties.TagsValue[key] = value; - await TagContainer.CreateOrUpdateAsync(originalTags.Data, cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current GenericResource from Azure. - /// The cancellation token to use. - public virtual Response Get(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.Get"); - scope.Start(); - try - { - var apiVersion = GetApiVersion(cancellationToken); - var result = RestClient.GetById(Id, apiVersion, cancellationToken); - if (result.Value == null) - throw Diagnostics.CreateRequestFailedException(result.GetRawResponse()); - - return Response.FromValue(new GenericResource(this, result), result.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current GenericResource from Azure. - /// The cancellation token to use. - public virtual async Task> GetAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.Get"); - scope.Start(); - try - { - var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); - var response = await RestClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); - if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); - - return Response.FromValue(new GenericResource(this, response), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - protected override void ValidateResourceType(ResourceIdentifier identifier) - { - if (identifier is null) - throw new ArgumentNullException(nameof(identifier)); - } - - /// - /// Replace the tags on the resource with the given set. - /// - /// The set of tags to use as replacement. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual Response SetTags(IDictionary tags, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.SetTags"); - scope.Start(); - try - { - var apiVersion = GetApiVersion(cancellationToken); - TagResourceOperations.Delete(cancellationToken); - var newTags = TagResourceOperations.Get(cancellationToken); - newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); - TagContainer.CreateOrUpdate(new TagResourceData(newTags.Value.Data.Properties), cancellationToken); - var originalResponse = RestClient.GetById(Id, apiVersion, cancellationToken); - return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Replace the tags on the resource with the given set. - /// - /// The set of tags to use as replacement. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual async Task> SetTagsAsync(IDictionary tags, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.SetTags"); - scope.Start(); - try - { - var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); - await TagResourceOperations.DeleteAsync(cancellationToken).ConfigureAwait(false); - var newTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); - newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); - await TagContainer.CreateOrUpdateAsync(new TagResourceData(newTags.Value.Data.Properties), cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Removes a tag by key from the resource. - /// - /// The key of the tag to remove. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual Response RemoveTag(string key, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.RemoveTag"); - scope.Start(); - try - { - var apiVersion = GetApiVersion(cancellationToken); - var originalTags = TagResourceOperations.Get(cancellationToken).Value; - originalTags.Data.Properties.TagsValue.Remove(key); - TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); - var originalResponse = RestClient.GetById(Id, apiVersion, cancellationToken); - return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Removes a tag by key from the resource. - /// - /// The key of the tag to remove. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual async Task> RemoveTagAsync(string key, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("GenericResourceOperations.RemoveTag"); - scope.Start(); - try - { - var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); - var originalTags = (await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false)).Value; - originalTags.Data.Properties.TagsValue.Remove(key); - await TagContainer.CreateOrUpdateAsync(originalTags.Data, cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.GetByIdAsync(Id, apiVersion, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new GenericResource(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Updates a resource by ID. - /// Update resource parameters. - /// The cancellation token to use. - /// is null. - public virtual Response Update(GenericResourceData parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("GenericResourceOperations.Update"); - scope.Start(); - try - { - var operation = StartUpdate(parameters, cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Updates a resource by ID. - /// Update resource parameters. - /// The cancellation token to use. - /// is null. - public virtual async Task> UpdateAsync(GenericResourceData parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("GenericResourceOperations.Update"); - scope.Start(); - try - { - var operation = await StartUpdateAsync(parameters, cancellationToken).ConfigureAwait(false); - return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Updates a resource by ID. - /// Update resource parameters. - /// The cancellation token to use. - /// is null. - public virtual ResourceUpdateByIdOperation StartUpdate(GenericResourceData parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("GenericResourceOperations.StartUpdate"); - scope.Start(); - try - { - var apiVersion = GetApiVersion(cancellationToken); - var originalResponse = RestClient.UpdateById(Id, apiVersion, parameters, cancellationToken); - return new ResourceUpdateByIdOperation(this, Diagnostics, Pipeline, RestClient.CreateUpdateByIdRequest(Id, apiVersion, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Updates a resource by ID. - /// Update resource parameters. - /// The cancellation token to use. - /// is null. - public virtual async Task StartUpdateAsync(GenericResourceData parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("GenericResourceOperations.StartUpdate"); - scope.Start(); - try - { - var apiVersion = await GetApiVersionAsync(cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.UpdateByIdAsync(Id, apiVersion, parameters, cancellationToken).ConfigureAwait(false); - return new ResourceUpdateByIdOperation(this, Diagnostics, Pipeline, RestClient.CreateUpdateByIdRequest(Id, apiVersion, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - private string GetApiVersion(CancellationToken cancellationToken) - { - string version = ClientOptions.ApiVersions.TryGetApiVersion(Id.ResourceType, cancellationToken); - if (version is null) - { - throw new InvalidOperationException($"An invalid resouce id was given {Id}"); - } - return version; - } - - private async Task GetApiVersionAsync(CancellationToken cancellationToken) - { - string version = await ClientOptions.ApiVersions.TryGetApiVersionAsync(Id.ResourceType, cancellationToken).ConfigureAwait(false); - if (version is null) - { - throw new InvalidOperationException($"An invalid resouce id was given {Id}"); - } - return version; - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceCreateOrUpdateByIdOperation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceCreateOrUpdateByIdOperation.cs index 11d36314d7c1..694d4c540d80 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceCreateOrUpdateByIdOperation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceCreateOrUpdateByIdOperation.cs @@ -19,14 +19,14 @@ namespace Azure.ResourceManager.Resources.Models public partial class ResourceCreateOrUpdateByIdOperation : Operation, IOperationSource { private readonly OperationOrResponseInternals _operation; - private readonly ResourceOperations _parentOperation; + private readonly ArmResource _parentOperation; /// Initializes a new instance of ResourceCreateOrUpdateByIdOperation for mocking. protected ResourceCreateOrUpdateByIdOperation() { } - internal ResourceCreateOrUpdateByIdOperation(ResourceOperations parentOperation, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) + internal ResourceCreateOrUpdateByIdOperation(ArmResource parentOperation, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) { _operation = new OperationOrResponseInternals(this, clientDiagnostics, pipeline, request, response, OperationFinalStateVia.Location, "ResourceCreateOrUpdateByIdOperation"); _parentOperation = parentOperation; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceGroupCreateOrUpdateOperation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceGroupCreateOrUpdateOperation.cs index 32d3b0af5269..5b1d23805116 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceGroupCreateOrUpdateOperation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceGroupCreateOrUpdateOperation.cs @@ -23,7 +23,7 @@ protected ResourceGroupCreateOrUpdateOperation() { } - internal ResourceGroupCreateOrUpdateOperation(ResourceOperations parentOperation, Response response) + internal ResourceGroupCreateOrUpdateOperation(ArmResource parentOperation, Response response) { _operation = new OperationOrResponseInternals(Response.FromValue(new ResourceGroup(parentOperation, response.Value), response.GetRawResponse())); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceUpdateByIdOperation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceUpdateByIdOperation.cs index 50453c2a870f..8228cc219f93 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceUpdateByIdOperation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/ResourceUpdateByIdOperation.cs @@ -19,14 +19,14 @@ namespace Azure.ResourceManager.Resources.Models public partial class ResourceUpdateByIdOperation : Operation, IOperationSource { private readonly OperationOrResponseInternals _operation; - private readonly ResourceOperations _parentOperation; + private readonly ArmResource _parentOperation; /// Initializes a new instance of ResourceUpdateByIdOperation for mocking. protected ResourceUpdateByIdOperation() { } - internal ResourceUpdateByIdOperation(ResourceOperations parentOperation, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) + internal ResourceUpdateByIdOperation(ArmResource parentOperation, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) { _operation = new OperationOrResponseInternals(this, clientDiagnostics, pipeline, request, response, OperationFinalStateVia.Location, "ResourceUpdateByIdOperation"); _parentOperation = parentOperation; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/TagCreateOrUpdateOperation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/TagCreateOrUpdateOperation.cs index 37bba054806b..f8d28008c626 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/TagCreateOrUpdateOperation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/LongRunningOperation/TagCreateOrUpdateOperation.cs @@ -23,7 +23,7 @@ protected TagCreateOrUpdateOperation() { } - internal TagCreateOrUpdateOperation(ResourceOperations parentOperation, Response response) + internal TagCreateOrUpdateOperation(ArmResource parentOperation, Response response) { _operation = new OperationOrResponseInternals(Response.FromValue(new TagResource(parentOperation, response.Value), response.GetRawResponse())); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/GenericResourceData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/GenericResourceData.Serialization.cs index 0fb4e1c1fe3d..8476a120f177 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/GenericResourceData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/GenericResourceData.Serialization.cs @@ -5,6 +5,7 @@ #nullable disable +using System; using System.Collections.Generic; using System.Text.Json; using Azure.Core; @@ -68,6 +69,9 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) internal static GenericResourceData DeserializeGenericResource(JsonElement element) { + Optional createdTime = default; + Optional changedTime = default; + Optional provisioningState = default; Optional plan = default; Optional properties = default; Optional kind = default; @@ -81,6 +85,31 @@ internal static GenericResourceData DeserializeGenericResource(JsonElement eleme Optional> tags = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("createdTime")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + createdTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("changedTime")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + changedTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("provisioningState")) + { + provisioningState = property.Value.GetString(); + continue; + } if (property.NameEquals("plan")) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -167,7 +196,7 @@ internal static GenericResourceData DeserializeGenericResource(JsonElement eleme continue; } } - return new GenericResourceData(id.Value, name.Value, type.Value, location.Value, Optional.ToDictionary(tags), plan.Value, properties.Value, kind.Value, managedBy.Value, sku.Value, identity.Value); + return new GenericResourceData(id.Value, name.Value, type.Value, location.Value, Optional.ToDictionary(tags), plan.Value, properties.Value, kind.Value, managedBy.Value, sku.Value, identity.Value, Optional.ToNullable(createdTime), Optional.ToNullable(changedTime), provisioningState.Value); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/GenericResourceExpandedData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/GenericResourceExpandedData.Serialization.cs deleted file mode 100644 index 5b1dbdd57d8c..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/GenericResourceExpandedData.Serialization.cs +++ /dev/null @@ -1,202 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - public partial class GenericResourceExpandedData : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(Plan)) - { - writer.WritePropertyName("plan"); - writer.WriteObjectValue(Plan); - } - if (Optional.IsDefined(Properties)) - { - writer.WritePropertyName("properties"); - writer.WriteObjectValue(Properties); - } - if (Optional.IsDefined(Kind)) - { - writer.WritePropertyName("kind"); - writer.WriteStringValue(Kind); - } - if (Optional.IsDefined(ManagedBy)) - { - writer.WritePropertyName("managedBy"); - writer.WriteStringValue(ManagedBy); - } - if (Optional.IsDefined(Sku)) - { - writer.WritePropertyName("sku"); - writer.WriteObjectValue(Sku); - } - if (Optional.IsDefined(Identity)) - { - writer.WritePropertyName("identity"); - writer.WriteObjectValue(Identity); - } - if (Optional.IsDefined(Location)) - { - writer.WritePropertyName("location"); - writer.WriteStringValue(Location); - } - if (Optional.IsCollectionDefined(Tags)) - { - writer.WritePropertyName("tags"); - writer.WriteStartObject(); - foreach (var item in Tags) - { - writer.WritePropertyName(item.Key); - writer.WriteStringValue(item.Value); - } - writer.WriteEndObject(); - } - writer.WriteEndObject(); - } - - internal static GenericResourceExpandedData DeserializeGenericResourceExpanded(JsonElement element) - { - Optional createdTime = default; - Optional changedTime = default; - Optional provisioningState = default; - Optional plan = default; - Optional properties = default; - Optional kind = default; - Optional managedBy = default; - Optional sku = default; - Optional identity = default; - Optional id = default; - Optional name = default; - Optional type = default; - Optional location = default; - Optional> tags = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("createdTime")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - createdTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("changedTime")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - changedTime = property.Value.GetDateTimeOffset("O"); - continue; - } - if (property.NameEquals("provisioningState")) - { - provisioningState = property.Value.GetString(); - continue; - } - if (property.NameEquals("plan")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - plan = Plan.DeserializePlan(property.Value); - continue; - } - if (property.NameEquals("properties")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - properties = property.Value.GetObject(); - continue; - } - if (property.NameEquals("kind")) - { - kind = property.Value.GetString(); - continue; - } - if (property.NameEquals("managedBy")) - { - managedBy = property.Value.GetString(); - continue; - } - if (property.NameEquals("sku")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - sku = Sku.DeserializeSku(property.Value); - continue; - } - if (property.NameEquals("identity")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - identity = ResourceIdentity.DeserializeResourceIdentity(property.Value); - continue; - } - if (property.NameEquals("id")) - { - id = property.Value.GetString(); - continue; - } - if (property.NameEquals("name")) - { - name = property.Value.GetString(); - continue; - } - if (property.NameEquals("type")) - { - type = property.Value.GetString(); - continue; - } - if (property.NameEquals("location")) - { - location = property.Value.GetString(); - continue; - } - if (property.NameEquals("tags")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, property0.Value.GetString()); - } - tags = dictionary; - continue; - } - } - return new GenericResourceExpandedData(id.Value, name.Value, type.Value, location.Value, Optional.ToDictionary(tags), plan.Value, properties.Value, kind.Value, managedBy.Value, sku.Value, identity.Value, Optional.ToNullable(createdTime), Optional.ToNullable(changedTime), provisioningState.Value); - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.Serialization.cs index 49703ae27ca0..a0e5bb030d0a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.Serialization.cs @@ -15,7 +15,7 @@ internal partial class ResourceListResult { internal static ResourceListResult DeserializeResourceListResult(JsonElement element) { - Optional> value = default; + Optional> value = default; Optional nextLink = default; foreach (var property in element.EnumerateObject()) { @@ -26,10 +26,10 @@ internal static ResourceListResult DeserializeResourceListResult(JsonElement ele property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GenericResourceExpandedData.DeserializeGenericResourceExpanded(item)); + array.Add(GenericResourceData.DeserializeGenericResource(item)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.cs index b0504ef5c9a3..1143709a8494 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Models/ResourceListResult.cs @@ -16,20 +16,20 @@ internal partial class ResourceListResult /// Initializes a new instance of ResourceListResult. internal ResourceListResult() { - Value = new ChangeTrackingList(); + Value = new ChangeTrackingList(); } /// Initializes a new instance of ResourceListResult. /// An array of resources. /// The URL to use for getting the next set of results. - internal ResourceListResult(IReadOnlyList value, string nextLink) + internal ResourceListResult(IReadOnlyList value, string nextLink) { Value = value; NextLink = nextLink; } /// An array of resources. - public IReadOnlyList Value { get; } + public IReadOnlyList Value { get; } /// The URL to use for getting the next set of results. public string NextLink { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Provider.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Provider.cs index 0a6af930a2f8..882d1229ee00 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Provider.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Provider.cs @@ -1,18 +1,26 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +// + +#nullable disable + using System; -using Azure.Core; +using System.Threading; +using System.Threading.Tasks; +using System.Xml.Linq; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { - /// - /// A class representing a generic azure resource along with the instance operations that can be performed on it. - /// - public class Provider : ProviderOperations + /// The Providers service client. + public partial class Provider : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly ProviderRestOperations _restClient; + private readonly ProviderData _data; + /// /// Initializes a new instance of the class for mocking. /// @@ -20,23 +28,186 @@ protected Provider() { } + /// + /// Initializes a new instance of the class. + /// + /// + /// + internal Provider(ClientContext clientContext, ResourceIdentifier id) + : base(clientContext, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ProviderRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + /// /// Initializes a new instance of the class. /// /// The operations object to copy the client parameters from. /// - /// If or is null. - internal Provider(ResourceOperations operations, ProviderData providerData) + internal Provider(ArmResource operations, ProviderData providerData) : base(operations, providerData.Id) { - Data = providerData; + _data = providerData; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ProviderRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + + /// + protected override ResourceType ValidResourceType => ResourceType; + + /// + /// Gets the resource type definition for a ResourceType. + /// + public static readonly ResourceType ResourceType = "Microsoft.Resources/providers"; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + + /// + /// Gets the data representing this provider. + /// + /// Throws if there is no data loaded in the current instance. + public virtual ProviderData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// Unregisters a subscription from a resource provider. + /// The namespace of the resource provider to unregister. + /// The cancellation token to use. + public virtual async Task> UnregisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Provider.Unregister"); + scope.Start(); + try + { + var result = await _restClient.UnregisterAsync(resourceProviderNamespace, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new Provider(this, result), result.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Unregisters a subscription from a resource provider. + /// The namespace of the resource provider to unregister. + /// The cancellation token to use. + public virtual Response Unregister(string resourceProviderNamespace, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Provider.Unregister"); + scope.Start(); + try + { + var result = _restClient.Unregister(resourceProviderNamespace, cancellationToken); + return Response.FromValue(new Provider(this, result), result.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Registers a subscription with a resource provider. + /// The namespace of the resource provider to register. + /// The cancellation token to use. + public virtual async Task> RegisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Provider.Register"); + scope.Start(); + try + { + var result = await _restClient.RegisterAsync(resourceProviderNamespace, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new Provider(this, result), result.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Registers a subscription with a resource provider. + /// The namespace of the resource provider to register. + /// The cancellation token to use. + public virtual Response Register(string resourceProviderNamespace, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Provider.Register"); + scope.Start(); + try + { + var result = _restClient.Register(resourceProviderNamespace, cancellationToken); + return Response.FromValue(new Provider(this, result), result.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } } - internal Provider(ProviderData result) => Data = result; + /// Gets the current Provider from Azure. + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Provider.Get"); + scope.Start(); + + try + { + var result = _restClient.Get(Id.Name, null, cancellationToken); + if (result.Value == null) + throw _clientDiagnostics.CreateRequestFailedException(result.GetRawResponse()); + + return Response.FromValue(new Provider(this, result), result.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the current Provider from Azure. + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Provider.Get"); + scope.Start(); + + try + { + var response = await _restClient.GetAsync(Id.Name, null, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + + return Response.FromValue(new Provider(this, response), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } /// - /// Gets the data representing this generic azure resource. + /// Gets the features under this provider /// - public virtual ProviderData Data { get; } + /// + public virtual FeatureContainer GetFeatures() + { + return new FeatureContainer(this); + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ProviderContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ProviderContainer.cs index f61a8c5fd652..eed9b304f91a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ProviderContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ProviderContainer.cs @@ -6,6 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; @@ -14,8 +15,11 @@ namespace Azure.ResourceManager.Resources /// /// A class representing collection of resources and their operations over their parent. /// - public class ProviderContainer : ResourceContainer + public class ProviderContainer : ArmContainer { + private ClientDiagnostics _clientDiagnostics; + private ProviderRestOperations _restClient; + /// /// Initializes a new instance of the class for mocking. /// @@ -27,31 +31,17 @@ protected ProviderContainer() /// Initializes a new instance of the class. /// /// The client context to use. - internal ProviderContainer(SubscriptionOperations parent) + internal ProviderContainer(Subscription parent) : base(parent) { } /// - protected override ResourceType ValidResourceType => SubscriptionOperations.ResourceType; + protected override ResourceType ValidResourceType => Subscription.ResourceType; - private ProviderRestOperations RestClient - { - get - { - string subscription; - if (Id is null || !Id.TryGetSubscriptionId(out subscription)) - { - subscription = Guid.Empty.ToString(); - } + private ProviderRestOperations RestClient => _restClient ??= new ProviderRestOperations(Diagnostics, Pipeline, Id.SubscriptionId, BaseUri); - return new ProviderRestOperations( - Diagnostics, - Pipeline, - subscription, - BaseUri); - } - } + private ClientDiagnostics Diagnostics => _clientDiagnostics ??= new ClientDiagnostics(ClientOptions); /// /// Gets the provider for a namespace. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ProviderOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ProviderOperations.cs deleted file mode 100644 index d565b392411c..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ProviderOperations.cs +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Threading; -using System.Threading.Tasks; -using Azure.ResourceManager.Core; - -namespace Azure.ResourceManager.Resources -{ - /// The Providers service client. - public partial class ProviderOperations : ResourceOperations - { - /// - /// Initializes a new instance of the class for mocking. - /// - protected ProviderOperations() - { } - - /// - /// Initializes a new instance of the class. - /// - /// - /// - internal ProviderOperations(ClientContext clientContext, ResourceIdentifier id) - : base(clientContext, id) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The resource operations to copy the options from. - /// The identifier of the resource that is the target of operations. - protected ProviderOperations(ResourceOperations operations, ResourceIdentifier id) - : base(operations, id) - { - } - - /// - protected override ResourceType ValidResourceType => ResourceType; - - /// - /// Gets the resource type definition for a ResourceType. - /// - public static readonly ResourceType ResourceType = "Microsoft.Resources/providers"; - - private ProviderRestOperations RestClient - { - get - { - return new ProviderRestOperations( - Diagnostics, - Pipeline, - Id.SubscriptionId, - BaseUri); - } - } - - /// Unregisters a subscription from a resource provider. - /// The namespace of the resource provider to unregister. - /// The cancellation token to use. - public virtual async Task> UnregisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ProviderOperations.Unregister"); - scope.Start(); - try - { - var result = await RestClient.UnregisterAsync(resourceProviderNamespace, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new Provider(result), result.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Unregisters a subscription from a resource provider. - /// The namespace of the resource provider to unregister. - /// The cancellation token to use. - public virtual Response Unregister(string resourceProviderNamespace, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ProviderOperations.Unregister"); - scope.Start(); - try - { - var result = RestClient.Unregister(resourceProviderNamespace, cancellationToken); - return Response.FromValue(new Provider(result), result.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Registers a subscription with a resource provider. - /// The namespace of the resource provider to register. - /// The cancellation token to use. - public virtual async Task> RegisterAsync(string resourceProviderNamespace, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ProviderOperations.Register"); - scope.Start(); - try - { - var result = await RestClient.RegisterAsync(resourceProviderNamespace, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new Provider(result), result.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Registers a subscription with a resource provider. - /// The namespace of the resource provider to register. - /// The cancellation token to use. - public virtual Response Register(string resourceProviderNamespace, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ProviderOperations.Register"); - scope.Start(); - try - { - var result = RestClient.Register(resourceProviderNamespace, cancellationToken); - return Response.FromValue(new Provider(result), result.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current Provider from Azure. - /// The cancellation token to use. - public virtual Response Get(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ProviderOperations.Get"); - scope.Start(); - - try - { - var result = RestClient.Get(Id.Name, null, cancellationToken); - if (result.Value == null) - throw Diagnostics.CreateRequestFailedException(result.GetRawResponse()); - - return Response.FromValue(new Provider(this, result), result.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current Provider from Azure. - /// The cancellation token to use. - public virtual async Task> GetAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ProviderOperations.Get"); - scope.Start(); - - try - { - var response = await RestClient.GetAsync(Id.Name, null, cancellationToken).ConfigureAwait(false); - if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); - - return Response.FromValue(new Provider(this, response), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Gets the features under this provider - /// - /// - public virtual FeatureContainer GetFeatures() - { - return new FeatureContainer(this); - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroup.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroup.cs index 9de124b698f4..fc445aab75e5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroup.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroup.cs @@ -1,16 +1,34 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Threading; +using System.Threading.Tasks; +using System.Xml.Linq; +using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { /// - /// A class representing a ResourceGroup along with the instance operations that can be performed on it. + /// A class representing the operations that can be performed over a specific ResourceGroup. /// - public class ResourceGroup : ResourceGroupOperations + public class ResourceGroup : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly ResourceGroupsRestOperations _restClient; + private readonly ResourcesRestOperations _genericRestClient; + private readonly ResourceGroupData _data; + + /// + /// Gets the resource type definition for a ResourceType. + /// + public static readonly ResourceType ResourceType = "Microsoft.Resources/resourceGroups"; + /// /// Initializes a new instance of the class for mocking. /// @@ -18,20 +36,712 @@ protected ResourceGroup() { } + /// + /// Initializes a new instance of the class. + /// + /// The client parameters to use in these operations. + /// The id of the resource group to use. + internal ResourceGroup(ClientContext options, ResourceIdentifier id) + : base(options, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ResourceGroupsRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + _genericRestClient ??= new ResourcesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + /// /// Initializes a new instance of the class. /// /// The operations to copy the client options from. /// The ResourceGroupData to use in these operations. - internal ResourceGroup(ResourceOperations operations, ResourceGroupData resource) + internal ResourceGroup(ArmResource operations, ResourceGroupData resource) : base(operations, resource.Id) { - Data = resource; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ResourceGroupsRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + _genericRestClient ??= new ResourcesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + _data = resource; + HasData = true; } + /// + protected override ResourceType ValidResourceType => ResourceType; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + /// /// Gets the data representing this ResourceGroup. /// - public virtual ResourceGroupData Data { get; } + /// Throws if there is no data loaded in the current instance. + public virtual ResourceGroupData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// + /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// A response with the operation for this resource. + public virtual Response Delete(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.Delete"); + scope.Start(); + + try + { + var operation = StartDelete(cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// A that on completion returns a response with the operation for this resource. + public virtual async Task DeleteAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.Delete"); + scope.Start(); + + try + { + var operation = await StartDeleteAsync(cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// A response with the operation for this resource. + /// + /// Details on long running operation object. + /// + public virtual ResourceGroupDeleteOperation StartDelete(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartDelete"); + scope.Start(); + + try + { + var originalResponse = _restClient.Delete(Id.Name, cancellationToken); + return new ResourceGroupDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// A that on completion returns a response with the operation for this resource. + /// + /// Details on long running operation object. + /// + public virtual async Task StartDeleteAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartDelete"); + scope.Start(); + + try + { + var originalResponse = await _restClient.DeleteAsync(Id.Name, cancellationToken).ConfigureAwait(false); + return new ResourceGroupDeleteOperation(_clientDiagnostics, Pipeline, _restClient.CreateDeleteRequest(Id.Name).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Captures the specified resource group as a template. + /// Parameters for exporting the template. + /// The cancellation token to use. + public virtual ResourceGroupExportTemplateOperation StartExportTemplate(ExportTemplateRequest parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartExportTemplate"); + scope.Start(); + try + { + var originalResponse = _restClient.ExportTemplate(Id.Name, parameters, cancellationToken); + return new ResourceGroupExportTemplateOperation(_clientDiagnostics, Pipeline, _restClient.CreateExportTemplateRequest(Id.Name, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Captures the specified resource group as a template. + /// Parameters for exporting the template. + /// The cancellation token to use. + public virtual async Task StartExportTemplateAsync(ExportTemplateRequest parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartExportTemplate"); + scope.Start(); + try + { + var originalResponse = await _restClient.ExportTemplateAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); + return new ResourceGroupExportTemplateOperation(_clientDiagnostics, Pipeline, _restClient.CreateExportTemplateRequest(Id.Name, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the current ResourceGroup from Azure. + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.Get"); + scope.Start(); + + try + { + var result = _restClient.Get(Id.Name, cancellationToken); + if (result.Value == null) + throw _clientDiagnostics.CreateRequestFailedException(result.GetRawResponse()); + + return Response.FromValue(new ResourceGroup(this, result), result.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the current ResourceGroup from Azure. + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.Get"); + scope.Start(); + + try + { + var response = await _restClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + + return Response.FromValue(new ResourceGroup(this, response), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained. + /// Parameters supplied to update a resource group. + /// The cancellation token to use. + public virtual Response Update(ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.Update"); + scope.Start(); + try + { + var originalResponse = _restClient.Update(Id.Name, parameters, cancellationToken); + return Response.FromValue(new ResourceGroup(this, originalResponse), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained. + /// Parameters supplied to update a resource group. + /// The cancellation token to use. + public virtual async Task> UpdateAsync(ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.Update"); + scope.Start(); + try + { + var originalResponse = await _restClient.UpdateAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new ResourceGroup(this, originalResponse), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add a tag to the current resource. + /// + /// The key for the tag. + /// The value for the tag. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual Response AddTag(string key, string value, CancellationToken cancellationToken = default) + { + if (string.IsNullOrWhiteSpace(key)) + throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.AddTag"); + scope.Start(); + + try + { + var originalTags = TagResourceOperations.Get(cancellationToken).Value; + originalTags.Data.Properties.TagsValue[key] = value; + TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); + var originalResponse = _restClient.Get(Id.Name, cancellationToken); + return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add a tag to the current resource. + /// + /// The key for the tag. + /// The value for the tag. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual async Task> AddTagAsync(string key, string value, CancellationToken cancellationToken = default) + { + if (string.IsNullOrWhiteSpace(key)) + throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.AddTag"); + scope.Start(); + + try + { + var originalTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.Properties.TagsValue[key] = value; + await TagContainer.CreateOrUpdateAsync(originalTags.Value.Data, cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// The set of tags to use as replacement. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual Response SetTags(IDictionary tags, CancellationToken cancellationToken = default) + { + if (tags == null) + throw new ArgumentNullException(nameof(tags)); + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.SetTags"); + scope.Start(); + + try + { + TagResourceOperations.Delete(cancellationToken); + var newTags = TagResourceOperations.Get(cancellationToken); + newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); + TagContainer.CreateOrUpdate(new TagResourceData(newTags.Value.Data.Properties), cancellationToken); + var originalResponse = _restClient.Get(Id.Name, cancellationToken); + return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// The set of tags to use as replacement. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual async Task> SetTagsAsync(IDictionary tags, CancellationToken cancellationToken = default) + { + if (tags == null) + throw new ArgumentNullException(nameof(tags)); + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.SetTags"); + scope.Start(); + + try + { + await TagResourceOperations.DeleteAsync(cancellationToken).ConfigureAwait(false); + var newTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); + newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); + await TagContainer.CreateOrUpdateAsync(new TagResourceData(newTags.Value.Data.Properties), cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// The key of the tag to remove. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual Response RemoveTag(string key, CancellationToken cancellationToken = default) + { + if (string.IsNullOrWhiteSpace(key)) + throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.RemoveTag"); + scope.Start(); + + try + { + var originalTags = TagResourceOperations.Get(cancellationToken).Value; + originalTags.Data.Properties.TagsValue.Remove(key); + TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); + var originalResponse = _restClient.Get(Id.Name, cancellationToken); + return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// The key of the tag to remove. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated resource with the tag added. + public virtual async Task> RemoveTagAsync(string key, CancellationToken cancellationToken = default) + { + if (string.IsNullOrWhiteSpace(key)) + throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.RemoveTag"); + scope.Start(); + + try + { + var originalTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.Properties.TagsValue.Remove(key); + await TagContainer.CreateOrUpdateAsync(originalTags.Value.Data, cancellationToken).ConfigureAwait(false); + var originalResponse = await _restClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Lists all available geo-locations. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// A collection of location that may take multiple service requests to iterate over. + public virtual IEnumerable GetAvailableLocations(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.GetAvailableLocations"); + scope.Start(); + + try + { + return ListAvailableLocations(ResourceType, cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Lists all available geo-locations. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// An async collection of location that may take multiple service requests to iterate over. + /// The default subscription id is null. + public virtual async Task> GetAvailableLocationsAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.GetAvailableLocations"); + scope.Start(); + + try + { + return await ListAvailableLocationsAsync(ResourceType, cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual Response MoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.MoveResources"); + scope.Start(); + try + { + var originalResponse = StartMoveResources(parameters, cancellationToken); + return originalResponse.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual async Task MoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.MoveResources"); + scope.Start(); + try + { + var originalResponse = await StartMoveResourcesAsync(parameters, cancellationToken).ConfigureAwait(false); + return await originalResponse.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual ResourceMoveResourcesOperation StartMoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartMoveResources"); + scope.Start(); + try + { + var originalResponse = _genericRestClient.MoveResources(Id.Name, parameters, cancellationToken); + return new ResourceMoveResourcesOperation(_clientDiagnostics, Pipeline, _genericRestClient.CreateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual async Task StartMoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartMoveResources"); + scope.Start(); + try + { + var originalResponse = await _genericRestClient.MoveResourcesAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); + return new ResourceMoveResourcesOperation(_clientDiagnostics, Pipeline, _genericRestClient.CreateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual Response ValidateMoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.ValidateMoveResources"); + scope.Start(); + try + { + var operation = StartValidateMoveResources(parameters, cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual async Task ValidateMoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.ValidateMoveResources"); + scope.Start(); + try + { + var operation = await StartValidateMoveResourcesAsync(parameters, cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual ResourceValidateMoveResourcesOperation StartValidateMoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartValidateMoveResources"); + scope.Start(); + try + { + var originalResponse = _genericRestClient.ValidateMoveResources(Id.Name, parameters, cancellationToken); + return new ResourceValidateMoveResourcesOperation(_clientDiagnostics, Pipeline, _genericRestClient.CreateValidateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. + /// Parameters for moving resources. + /// The cancellation token to use. + /// is null. + public virtual async Task StartValidateMoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) + { + if (parameters == null) + { + throw new ArgumentNullException(nameof(parameters)); + } + + using var scope = _clientDiagnostics.CreateScope("ResourceGroup.StartValidateMoveResources"); + scope.Start(); + try + { + var originalResponse = await _genericRestClient.ValidateMoveResourcesAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); + return new ResourceValidateMoveResourcesOperation(_clientDiagnostics, Pipeline, _genericRestClient.CreateValidateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Provides a way to reuse the protected client context. + /// + /// The actual type returned by the delegate. + /// The method to pass the internal properties to. + /// Whatever the delegate returns. + [EditorBrowsable(EditorBrowsableState.Never)] + [ForwardsClientCalls] + public virtual T UseClientContext(Func func) + { + return func(BaseUri, Credential, ClientOptions, Pipeline); + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupContainer.cs index 800988d38180..ccba49d397f2 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupContainer.cs @@ -7,6 +7,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; @@ -15,8 +16,11 @@ namespace Azure.ResourceManager.Resources /// /// A class representing collection of ResourceGroupContainer and their operations over a ResourceGroup. /// - public class ResourceGroupContainer : ResourceContainer + public class ResourceGroupContainer : ArmContainer { + private ClientDiagnostics _clientDiagnostics; + private ResourceGroupsRestOperations _restClient; + /// /// Initializes a new instance of the class for mocking. /// @@ -28,29 +32,22 @@ protected ResourceGroupContainer() /// Initializes a new instance of the class. /// /// The parent subscription. - internal ResourceGroupContainer(SubscriptionOperations subscription) + internal ResourceGroupContainer(Subscription subscription) : base(subscription) { } /// - protected override ResourceType ValidResourceType => SubscriptionOperations.ResourceType; + protected override ResourceType ValidResourceType => Subscription.ResourceType; /// /// Gets the parent resource of this resource. /// - protected new SubscriptionOperations Parent { get {return base.Parent as SubscriptionOperations;} } + protected new Subscription Parent { get {return base.Parent as Subscription;} } - private ResourceGroupsRestOperations RestClient - { - get - { - string subscriptionId; - if (Id is null || !Id.TryGetSubscriptionId(out subscriptionId)) - subscriptionId = Guid.NewGuid().ToString(); - return new ResourceGroupsRestOperations(Diagnostics, Pipeline, subscriptionId, BaseUri); - } - } + private ResourceGroupsRestOperations RestClient => _restClient ??= new ResourceGroupsRestOperations(Diagnostics, Pipeline, Id.SubscriptionId, BaseUri); + + private ClientDiagnostics Diagnostics => _clientDiagnostics ??= new ClientDiagnostics(ClientOptions); /// /// Returns the resource from Azure if it exists. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupOperations.cs deleted file mode 100644 index d4c6b58ffa91..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/ResourceGroupOperations.cs +++ /dev/null @@ -1,722 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.Core.Pipeline; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// - /// A class representing the operations that can be performed over a specific ResourceGroup. - /// - public class ResourceGroupOperations : ResourceOperations - { - /// - /// Gets the resource type definition for a ResourceType. - /// - public static readonly ResourceType ResourceType = "Microsoft.Resources/resourceGroups"; - - /// - /// Initializes a new instance of the class for mocking. - /// - protected ResourceGroupOperations() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The client parameters to use in these operations. - /// The id of the resource group to use. - internal ResourceGroupOperations(ClientContext options, ResourceIdentifier id) - : base(options, id) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The client parameters to use in these operations. - /// The identifier of the resource that is the target of operations. - protected ResourceGroupOperations(ResourceOperations options, ResourceIdentifier id) - : base(options, id) - { - } - - /// - protected override ResourceType ValidResourceType => ResourceType; - - private ResourceGroupsRestOperations RestClient => new ResourceGroupsRestOperations( - Diagnostics, - Pipeline, - Id.SubscriptionId, - BaseUri); - - private ResourcesRestOperations GenericRestClient => new ResourcesRestOperations(Diagnostics, Pipeline, Id.SubscriptionId, BaseUri); - - /// - /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// A response with the operation for this resource. - public virtual Response Delete(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.Delete"); - scope.Start(); - - try - { - var operation = StartDelete(cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// A that on completion returns a response with the operation for this resource. - public virtual async Task DeleteAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.Delete"); - scope.Start(); - - try - { - var operation = await StartDeleteAsync(cancellationToken).ConfigureAwait(false); - return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// A response with the operation for this resource. - /// - /// Details on long running operation object. - /// - public virtual ResourceGroupDeleteOperation StartDelete(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartDelete"); - scope.Start(); - - try - { - var originalResponse = RestClient.Delete(Id.Name, cancellationToken); - return new ResourceGroupDeleteOperation(Diagnostics, Pipeline, RestClient.CreateDeleteRequest(Id.Name).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// When you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// A that on completion returns a response with the operation for this resource. - /// - /// Details on long running operation object. - /// - public virtual async Task StartDeleteAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartDelete"); - scope.Start(); - - try - { - var originalResponse = await RestClient.DeleteAsync(Id.Name, cancellationToken).ConfigureAwait(false); - return new ResourceGroupDeleteOperation(Diagnostics, Pipeline, RestClient.CreateDeleteRequest(Id.Name).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Captures the specified resource group as a template. - /// Parameters for exporting the template. - /// The cancellation token to use. - public virtual ResourceGroupExportTemplateOperation StartExportTemplate(ExportTemplateRequest parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartExportTemplate"); - scope.Start(); - try - { - var originalResponse = RestClient.ExportTemplate(Id.Name, parameters, cancellationToken); - return new ResourceGroupExportTemplateOperation(Diagnostics, Pipeline, RestClient.CreateExportTemplateRequest(Id.Name, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Captures the specified resource group as a template. - /// Parameters for exporting the template. - /// The cancellation token to use. - public virtual async Task StartExportTemplateAsync(ExportTemplateRequest parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartExportTemplate"); - scope.Start(); - try - { - var originalResponse = await RestClient.ExportTemplateAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); - return new ResourceGroupExportTemplateOperation(Diagnostics, Pipeline, RestClient.CreateExportTemplateRequest(Id.Name, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current ResourceGroup from Azure. - /// The cancellation token to use. - public virtual Response Get(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.Get"); - scope.Start(); - - try - { - var result = RestClient.Get(Id.Name, cancellationToken); - if (result.Value == null) - throw Diagnostics.CreateRequestFailedException(result.GetRawResponse()); - - return Response.FromValue(new ResourceGroup(this, result), result.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current ResourceGroup from Azure. - /// The cancellation token to use. - public virtual async Task> GetAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.Get"); - scope.Start(); - - try - { - var response = await RestClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); - if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); - - return Response.FromValue(new ResourceGroup(this, response), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained. - /// Parameters supplied to update a resource group. - /// The cancellation token to use. - public virtual Response Update(ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.Update"); - scope.Start(); - try - { - var originalResponse = RestClient.Update(Id.Name, parameters, cancellationToken); - return Response.FromValue(new ResourceGroup(this, originalResponse), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained. - /// Parameters supplied to update a resource group. - /// The cancellation token to use. - public virtual async Task> UpdateAsync(ResourceGroupPatchable parameters, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.Update"); - scope.Start(); - try - { - var originalResponse = await RestClient.UpdateAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new ResourceGroup(this, originalResponse), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Add a tag to the current resource. - /// - /// The key for the tag. - /// The value for the tag. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual Response AddTag(string key, string value, CancellationToken cancellationToken = default) - { - if (string.IsNullOrWhiteSpace(key)) - throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.AddTag"); - scope.Start(); - - try - { - var originalTags = TagResourceOperations.Get(cancellationToken).Value; - originalTags.Data.Properties.TagsValue[key] = value; - TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); - var originalResponse = RestClient.Get(Id.Name, cancellationToken); - return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Add a tag to the current resource. - /// - /// The key for the tag. - /// The value for the tag. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual async Task> AddTagAsync(string key, string value, CancellationToken cancellationToken = default) - { - if (string.IsNullOrWhiteSpace(key)) - throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.AddTag"); - scope.Start(); - - try - { - var originalTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); - originalTags.Value.Data.Properties.TagsValue[key] = value; - await TagContainer.CreateOrUpdateAsync(originalTags.Value.Data, cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Replace the tags on the resource with the given set. - /// - /// The set of tags to use as replacement. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual Response SetTags(IDictionary tags, CancellationToken cancellationToken = default) - { - if (tags == null) - throw new ArgumentNullException(nameof(tags)); - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.SetTags"); - scope.Start(); - - try - { - TagResourceOperations.Delete(cancellationToken); - var newTags = TagResourceOperations.Get(cancellationToken); - newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); - TagContainer.CreateOrUpdate(new TagResourceData(newTags.Value.Data.Properties), cancellationToken); - var originalResponse = RestClient.Get(Id.Name, cancellationToken); - return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Replace the tags on the resource with the given set. - /// - /// The set of tags to use as replacement. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual async Task> SetTagsAsync(IDictionary tags, CancellationToken cancellationToken = default) - { - if (tags == null) - throw new ArgumentNullException(nameof(tags)); - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.SetTags"); - scope.Start(); - - try - { - await TagResourceOperations.DeleteAsync(cancellationToken).ConfigureAwait(false); - var newTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); - newTags.Value.Data.Properties.TagsValue.ReplaceWith(tags); - await TagContainer.CreateOrUpdateAsync(new TagResourceData(newTags.Value.Data.Properties), cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Removes a tag by key from the resource. - /// - /// The key of the tag to remove. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual Response RemoveTag(string key, CancellationToken cancellationToken = default) - { - if (string.IsNullOrWhiteSpace(key)) - throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.RemoveTag"); - scope.Start(); - - try - { - var originalTags = TagResourceOperations.Get(cancellationToken).Value; - originalTags.Data.Properties.TagsValue.Remove(key); - TagContainer.CreateOrUpdate(originalTags.Data, cancellationToken); - var originalResponse = RestClient.Get(Id.Name, cancellationToken); - return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Removes a tag by key from the resource. - /// - /// The key of the tag to remove. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated resource with the tag added. - public virtual async Task> RemoveTagAsync(string key, CancellationToken cancellationToken = default) - { - if (string.IsNullOrWhiteSpace(key)) - throw new ArgumentException($"{nameof(key)} provided cannot be null or a whitespace.", nameof(key)); - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.RemoveTag"); - scope.Start(); - - try - { - var originalTags = await TagResourceOperations.GetAsync(cancellationToken).ConfigureAwait(false); - originalTags.Value.Data.Properties.TagsValue.Remove(key); - await TagContainer.CreateOrUpdateAsync(originalTags.Value.Data, cancellationToken).ConfigureAwait(false); - var originalResponse = await RestClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new ResourceGroup(this, originalResponse.Value), originalResponse.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Lists all available geo-locations. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// A collection of location that may take multiple service requests to iterate over. - public virtual IEnumerable GetAvailableLocations(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.GetAvailableLocations"); - scope.Start(); - - try - { - return ListAvailableLocations(ResourceType, cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Lists all available geo-locations. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// An async collection of location that may take multiple service requests to iterate over. - /// The default subscription id is null. - public virtual async Task> GetAvailableLocationsAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.GetAvailableLocations"); - scope.Start(); - - try - { - return await ListAvailableLocationsAsync(ResourceType, cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual Response MoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.MoveResources"); - scope.Start(); - try - { - var originalResponse = StartMoveResources(parameters, cancellationToken); - return originalResponse.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual async Task MoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.MoveResources"); - scope.Start(); - try - { - var originalResponse = await StartMoveResourcesAsync(parameters, cancellationToken).ConfigureAwait(false); - return await originalResponse.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual ResourceMoveResourcesOperation StartMoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartMoveResources"); - scope.Start(); - try - { - var originalResponse = GenericRestClient.MoveResources(Id.Name, parameters, cancellationToken); - return new ResourceMoveResourcesOperation(Diagnostics, Pipeline, GenericRestClient.CreateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual async Task StartMoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartMoveResources"); - scope.Start(); - try - { - var originalResponse = await GenericRestClient.MoveResourcesAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); - return new ResourceMoveResourcesOperation(Diagnostics, Pipeline, GenericRestClient.CreateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual Response ValidateMoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.ValidateMoveResources"); - scope.Start(); - try - { - var operation = StartValidateMoveResources(parameters, cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual async Task ValidateMoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.ValidateMoveResources"); - scope.Start(); - try - { - var operation = await StartValidateMoveResourcesAsync(parameters, cancellationToken).ConfigureAwait(false); - return await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual ResourceValidateMoveResourcesOperation StartValidateMoveResources(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartValidateMoveResources"); - scope.Start(); - try - { - var originalResponse = GenericRestClient.ValidateMoveResources(Id.Name, parameters, cancellationToken); - return new ResourceValidateMoveResourcesOperation(Diagnostics, Pipeline, GenericRestClient.CreateValidateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. - /// Parameters for moving resources. - /// The cancellation token to use. - /// is null. - public virtual async Task StartValidateMoveResourcesAsync(ResourcesMoveInfo parameters, CancellationToken cancellationToken = default) - { - if (parameters == null) - { - throw new ArgumentNullException(nameof(parameters)); - } - - using var scope = Diagnostics.CreateScope("ResourceGroupOperations.StartValidateMoveResources"); - scope.Start(); - try - { - var originalResponse = await GenericRestClient.ValidateMoveResourcesAsync(Id.Name, parameters, cancellationToken).ConfigureAwait(false); - return new ResourceValidateMoveResourcesOperation(Diagnostics, Pipeline, GenericRestClient.CreateValidateMoveResourcesRequest(Id.Name, parameters).Request, originalResponse); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Provides a way to reuse the protected client context. - /// - /// The actual type returned by the delegate. - /// The method to pass the internal properties to. - /// Whatever the delegate returns. - [EditorBrowsable(EditorBrowsableState.Never)] - [ForwardsClientCalls] - public virtual T UseClientContext(Func func) - { - return func(BaseUri, Credential, ClientOptions, Pipeline); - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/RestApiContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/RestApiContainer.cs index 63f7ebc600c7..a1c28c80f529 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/RestApiContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/RestApiContainer.cs @@ -18,7 +18,7 @@ namespace Azure.ResourceManager.Resources /// /// A class which represents the RestApis for a given azure namespace. /// - public partial class RestApiContainer : ResourceContainer + public partial class RestApiContainer : ArmContainer { private readonly ClientDiagnostics _clientDiagnostics; private readonly string _nameSpace; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Subscription.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Subscription.cs index b0725fa4650f..c00e31fa916c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Subscription.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Subscription.cs @@ -1,16 +1,34 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.ComponentModel; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using System.Xml.Linq; +using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { /// - /// A class representing a Subscription along with the instance operations that can be performed on it. + /// A class representing the operations that can be performed over a specific subscription. /// - public class Subscription : SubscriptionOperations + public class Subscription : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly SubscriptionsRestOperations _restClient; + private readonly FeaturesRestOperations _featuresRestOperations; + private readonly SubscriptionData _data; + + /// + /// The resource type for subscription + /// + public static readonly ResourceType ResourceType = "Microsoft.Resources/subscriptions"; + /// /// Initializes a new instance of the class for mocking. /// @@ -18,20 +36,265 @@ protected Subscription() { } + /// + /// Initializes a new instance of the class. + /// + /// + /// The identifier of the resource that is the target of operations. + internal Subscription(ClientContext clientContext, ResourceIdentifier id) + : base(clientContext, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new SubscriptionsRestOperations(_clientDiagnostics, Pipeline, BaseUri); + _featuresRestOperations = new FeaturesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + /// /// Initializes a new instance of the class. /// /// The operations object to copy the client parameters from. /// The data model representing the generic azure resource. - internal Subscription(ResourceOperations operations, SubscriptionData subscriptionData) + internal Subscription(ArmResource operations, SubscriptionData subscriptionData) : base(operations, subscriptionData.Id) { - Data = subscriptionData; + _data = subscriptionData; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new SubscriptionsRestOperations(_clientDiagnostics, Pipeline, BaseUri); + _featuresRestOperations = new FeaturesRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + + /// + /// Provides a way to reuse the protected client context. + /// + /// The actual type returned by the delegate. + /// The method to pass the internal properties to. + /// Whatever the delegate returns. + [EditorBrowsable(EditorBrowsableState.Never)] + [ForwardsClientCalls] + public virtual T UseClientContext(Func func) + { + return func(BaseUri, Credential, ClientOptions, Pipeline); } + /// + /// Gets the valid resource type for this operation class + /// + protected override ResourceType ValidResourceType => ResourceType; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + /// /// Gets the subscription data model. /// - public virtual SubscriptionData Data { get; } + /// Throws if there is no data loaded in the current instance. + public virtual SubscriptionData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// + /// Gets the resource group container under this subscription. + /// + /// The resource group container. + public virtual ResourceGroupContainer GetResourceGroups() + { + return new ResourceGroupContainer(this); + } + + /// + /// Gets the predefined tag container under this subscription. + /// + /// The tags container. + public virtual PredefinedTagContainer GetPredefinedTags() + { + return new PredefinedTagContainer(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), Id); + } + + /// + /// Gets the provider container under this subscription. + /// + /// The provider container. + public virtual ProviderContainer GetProviders() + { + return new ProviderContainer(this); + } + + /// Gets the current Subscription from Azure. + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.Get"); + scope.Start(); + try + { + var response = _restClient.Get(Id.Name, cancellationToken); + if (response.Value == null) + throw _clientDiagnostics.CreateRequestFailedException(response.GetRawResponse()); + + return Response.FromValue(new Subscription(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the current Subscription from Azure. + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.Get"); + scope.Start(); + try + { + var response = await _restClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + + return Response.FromValue(new Subscription(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + /// The cancellation token to use. + public virtual AsyncPageable GetLocationsAsync(CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.GetLocations"); + scope.Start(); + try + { + var response = await _restClient.ListLocationsAsync(Id.Name, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value, null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, null); + } + + /// This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. + /// The cancellation token to use. + public virtual Pageable GetLocations(CancellationToken cancellationToken = default) + { + Page FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.GetLocations"); + scope.Start(); + try + { + var response = _restClient.ListLocations(Id.Name, cancellationToken); + return Page.FromValues(response.Value.Value, null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateEnumerable(FirstPageFunc, null); + } + + /// + /// Gets a container representing all resources as generic objects in the current tenant. + /// + /// GenericResource container. + public virtual GenericResourceContainer GetGenericResources() + { + return new GenericResourceContainer(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), Id); + } + + /// Gets all the preview features that are available through AFEC for the subscription. + /// The cancellation token to use. + public virtual Pageable GetFeatures(CancellationToken cancellationToken = default) + { + Page FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.GetFeatures"); + scope.Start(); + try + { + var response = _featuresRestOperations.ListAll(cancellationToken); + return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + Page NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.GetFeatures"); + scope.Start(); + try + { + var response = _featuresRestOperations.ListAllNextPage(nextLink, cancellationToken); + return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); + } + + /// Gets all the preview features that are available through AFEC for the subscription. + /// The cancellation token to use. + public virtual AsyncPageable GetFeaturesAsync(CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.GetFeatures"); + scope.Start(); + try + { + var response = await _featuresRestOperations.ListAllAsync(cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + async Task> NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Subscription.GetFeatures"); + scope.Start(); + try + { + var response = await _featuresRestOperations.ListAllNextPageAsync(nextLink, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/SubscriptionContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/SubscriptionContainer.cs index 18c8fde44115..bde89f67cad2 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/SubscriptionContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/SubscriptionContainer.cs @@ -15,8 +15,10 @@ namespace Azure.ResourceManager.Resources /// /// A class representing collection of Subscription and their operations /// - public class SubscriptionContainer : ResourceContainer + public class SubscriptionContainer : ArmContainer { + private readonly ClientDiagnostics _clientDiagnostics; + /// /// Initializes a new instance of the class for mocking. /// @@ -28,21 +30,22 @@ protected SubscriptionContainer() /// Initializes a new instance of the class. /// /// The resource representing the parent resource. - internal SubscriptionContainer(TenantOperations parent) + internal SubscriptionContainer(Tenant parent) : base(parent) { - RestClient = new SubscriptionsRestOperations(this.Diagnostics, this.Pipeline, this.BaseUri); + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + RestClient = new SubscriptionsRestOperations(_clientDiagnostics, Pipeline, BaseUri); } /// /// Gets the parent resource of this resource. /// - protected new TenantOperations Parent { get { return base.Parent as TenantOperations; } } + protected new Tenant Parent { get { return base.Parent as Tenant; } } /// /// Gets the valid resource type associated with the container. /// - protected override ResourceType ValidResourceType => TenantOperations.ResourceType; + protected override ResourceType ValidResourceType => Tenant.ResourceType; /// /// Gets the operations that can be performed on the container. @@ -60,7 +63,7 @@ public virtual Pageable GetAll(CancellationToken cancellationToken { Page FirstPageFunc(int? pageSizeHint) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.GetAll"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.GetAll"); scope.Start(); try { @@ -75,7 +78,7 @@ Page FirstPageFunc(int? pageSizeHint) } Page NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.GetAll"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.GetAll"); scope.Start(); try { @@ -102,7 +105,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken cancell { async Task> FirstPageFunc(int? pageSizeHint) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.GetAll"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.GetAll"); scope.Start(); try { @@ -117,7 +120,7 @@ async Task> FirstPageFunc(int? pageSizeHint) } async Task> NextPageFunc(string nextLink, int? pageSizeHint) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.GetAll"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.GetAll"); scope.Start(); try { @@ -142,13 +145,13 @@ async Task> NextPageFunc(string nextLink, int? pageSizeHint) /// subscriptionGuid cannot be null or a whitespace. public Response Get(string subscriptionGuid, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.Get"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.Get"); scope.Start(); try { var response = RestClient.Get(subscriptionGuid, cancellationToken); if (response.Value == null) - throw Diagnostics.CreateRequestFailedException(response.GetRawResponse()); + throw _clientDiagnostics.CreateRequestFailedException(response.GetRawResponse()); return Response.FromValue(new Subscription(this, response.Value), response.GetRawResponse()); } @@ -168,13 +171,13 @@ public Response Get(string subscriptionGuid, CancellationToken can /// subscriptionGuid cannot be null or a whitespace. public virtual async Task> GetAsync(string subscriptionGuid, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.Get"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.Get"); scope.Start(); try { var response = await RestClient.GetAsync(subscriptionGuid, cancellationToken).ConfigureAwait(false); if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); return Response.FromValue(new Subscription(this, response.Value), response.GetRawResponse()); } @@ -194,7 +197,7 @@ public virtual async Task> GetAsync(string subscriptionGu /// Whether or not the resource existed. public virtual Response GetIfExists(string subscriptionGuid, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.GetIfExists"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.GetIfExists"); scope.Start(); try @@ -220,7 +223,7 @@ public virtual Response GetIfExists(string subscriptionGuid, Cance /// Whether or not the resource existed. public virtual async Task> GetIfExistsAsync(string subscriptionGuid, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.GetIfExists"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.GetIfExists"); scope.Start(); try @@ -246,7 +249,7 @@ public virtual async Task> GetIfExistsAsync(string subscr /// Whether or not the resource existed. public virtual Response CheckIfExists(string subscriptionGuid, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.CheckIfExists"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.CheckIfExists"); scope.Start(); try @@ -270,7 +273,7 @@ public virtual Response CheckIfExists(string subscriptionGuid, Cancellatio /// Whether or not the resource existed. public virtual async Task> CheckIfExistsAsync(string subscriptionGuid, CancellationToken cancellationToken = default) { - using var scope = Diagnostics.CreateScope("SubscriptionContainer.CheckIfExists"); + using var scope = _clientDiagnostics.CreateScope("SubscriptionContainer.CheckIfExists"); scope.Start(); try diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/SubscriptionOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/SubscriptionOperations.cs deleted file mode 100644 index cd5b00afc24d..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/SubscriptionOperations.cs +++ /dev/null @@ -1,280 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.ComponentModel; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.Core.Pipeline; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// - /// A class representing the operations that can be performed over a specific subscription. - /// - public class SubscriptionOperations : ResourceOperations - { - /// - /// The resource type for subscription - /// - public static readonly ResourceType ResourceType = "Microsoft.Resources/subscriptions"; - - /// - /// Initializes a new instance of the class for mocking. - /// - protected SubscriptionOperations() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - /// The identifier of the resource that is the target of operations. - internal SubscriptionOperations(ClientContext clientContext, ResourceIdentifier id) - : base(clientContext, id) - { - } - - /// - /// Initializes a new instance of the class. - /// - /// The resource operations to copy the options from. - /// The identifier of the resource that is the target of operations. - protected SubscriptionOperations(ResourceOperations operations, ResourceIdentifier id) - : base(operations, id) - { - } - - /// - /// Provides a way to reuse the protected client context. - /// - /// The actual type returned by the delegate. - /// The method to pass the internal properties to. - /// Whatever the delegate returns. - [EditorBrowsable(EditorBrowsableState.Never)] - [ForwardsClientCalls] - public virtual T UseClientContext(Func func) - { - return func(BaseUri, Credential, ClientOptions, Pipeline); - } - - /// - /// Gets the valid resource type for this operation class - /// - protected override ResourceType ValidResourceType => ResourceType; - - private SubscriptionsRestOperations RestClient => new SubscriptionsRestOperations(Diagnostics, Pipeline, BaseUri); - - private FeaturesRestOperations FeaturesRestOperations => new FeaturesRestOperations(Diagnostics, Pipeline, Id.SubscriptionId, BaseUri); - - /// - /// Gets the resource group container under this subscription. - /// - /// The resource group container. - public virtual ResourceGroupContainer GetResourceGroups() - { - return new ResourceGroupContainer(this); - } - - /// - /// Gets the predefined tag container under this subscription. - /// - /// The tags container. - public virtual PredefinedTagContainer GetPredefinedTags() - { - return new PredefinedTagContainer(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), Id); - } - - /// - /// Gets the provider container under this subscription. - /// - /// The provider container. - public virtual ProviderContainer GetProviders() - { - return new ProviderContainer(this); - } - - /// Gets the current Subscription from Azure. - /// The cancellation token to use. - public virtual Response Get(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.Get"); - scope.Start(); - try - { - var response = RestClient.Get(Id.Name, cancellationToken); - if (response.Value == null) - throw Diagnostics.CreateRequestFailedException(response.GetRawResponse()); - - return Response.FromValue(new Subscription(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the current Subscription from Azure. - /// The cancellation token to use. - public virtual async Task> GetAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.Get"); - scope.Start(); - try - { - var response = await RestClient.GetAsync(Id.Name, cancellationToken).ConfigureAwait(false); - if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); - - return Response.FromValue(new Subscription(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. - /// The cancellation token to use. - public virtual AsyncPageable GetLocationsAsync(CancellationToken cancellationToken = default) - { - async Task> FirstPageFunc(int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.GetLocations"); - scope.Start(); - try - { - var response = await RestClient.ListLocationsAsync(Id.Name, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value, null, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, null); - } - - /// This operation provides all the locations that are available for resource providers; however, each resource provider may support a subset of this list. - /// The cancellation token to use. - public virtual Pageable GetLocations(CancellationToken cancellationToken = default) - { - Page FirstPageFunc(int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.GetLocations"); - scope.Start(); - try - { - var response = RestClient.ListLocations(Id.Name, cancellationToken); - return Page.FromValues(response.Value.Value, null, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateEnumerable(FirstPageFunc, null); - } - - /// - /// Gets a container representing all resources as generic objects in the current tenant. - /// - /// GenericResource container. - public virtual GenericResourceContainer GetGenericResources() - { - return new GenericResourceContainer(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), Id); - } - - /// - /// Gets the predefined tag operations under this subscription. - /// - /// The predefined tags operations. - public virtual PredefinedTagOperations GetPreDefinedTagOperations() - { - return new PredefinedTagOperations(new ClientContext(ClientOptions, Credential, BaseUri, Pipeline), Id); - } - - /// Gets all the preview features that are available through AFEC for the subscription. - /// The cancellation token to use. - public virtual Pageable GetFeatures(CancellationToken cancellationToken = default) - { - Page FirstPageFunc(int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.GetFeatures"); - scope.Start(); - try - { - var response = FeaturesRestOperations.ListAll(cancellationToken); - return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - Page NextPageFunc(string nextLink, int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.GetFeatures"); - scope.Start(); - try - { - var response = FeaturesRestOperations.ListAllNextPage(nextLink, cancellationToken); - return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); - } - - /// Gets all the preview features that are available through AFEC for the subscription. - /// The cancellation token to use. - public virtual AsyncPageable GetFeaturesAsync(CancellationToken cancellationToken = default) - { - async Task> FirstPageFunc(int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.GetFeatures"); - scope.Start(); - try - { - var response = await FeaturesRestOperations.ListAllAsync(cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - async Task> NextPageFunc(string nextLink, int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("SubscriptionOperations.GetFeatures"); - scope.Start(); - try - { - var response = await FeaturesRestOperations.ListAllNextPageAsync(nextLink, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value.Select(d => new Feature(this, d)), response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResource.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResource.cs index 114e4eef3000..222049156d23 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResource.cs @@ -1,26 +1,307 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.Threading; +using System.Threading.Tasks; +using System.Xml.Linq; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { /// - /// A class representing a TagsResource along with the instance operations that can be performed on it. + /// The tag client. /// - public class TagResource : TagResourceOperations + public class TagResource : ArmResource { + private readonly ClientDiagnostics _clientDiagnostics; + private readonly TagRestOperations _restClient; + private readonly TagResourceData _data; + + /// Initializes a new instance of the class for mocking. + protected TagResource() + { + } + + internal TagResource(ArmResource options, ResourceIdentifier id) + : base(options, id) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new TagRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + /// Initializes a new instance of the class. /// The client parameters to use in these operations. /// The resource that is the target of operations. - internal TagResource(ResourceOperations options, TagResourceData resource) + internal TagResource(ArmResource options, TagResourceData resource) : base(options, resource.Id) { - Data = resource; + _data = resource; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new TagRestOperations(_clientDiagnostics, Pipeline, Id.SubscriptionId, BaseUri); + } + + /// Gets the valid resource type for this object. + protected override ResourceType ValidResourceType => Id.ResourceType; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + + /// Gets the TagsResourceData. + /// Throws if there is no data loaded in the current instance. + public virtual TagResourceData Data + { + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } + } + + /// + /// Update tags with the resource. + /// + /// The tags to update. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated tags. + public virtual Response Update(TagPatchResource parameters, CancellationToken cancellationToken = default) + { + if (parameters is null) + throw new ArgumentNullException(nameof(parameters)); + + using var scope = _clientDiagnostics.CreateScope("TagResource.UpdateAtScope"); + scope.Start(); + + try + { + var operation = StartUpdate(parameters, cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } } - /// Gets or sets the TagsResourceData. - public TagResourceData Data { get; private set; } + /// + /// Update tags with the resource. + /// + /// The tags to update. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated tags. + public virtual async Task> UpdateAsync(TagPatchResource parameters, CancellationToken cancellationToken = default) + { + if (parameters is null) + throw new ArgumentNullException(nameof(parameters)); + + using var scope = _clientDiagnostics.CreateScope("TagResource.UpdateAtScope"); + scope.Start(); + + try + { + var operation = await StartUpdateAsync(parameters, cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get tags with the resource. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The tags associate with resource. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.GetAtScope"); + scope.Start(); + + try + { + var response = _restClient.GetAtScope(Id, cancellationToken); + if (response.Value == null) + throw _clientDiagnostics.CreateRequestFailedException(response.GetRawResponse()); + + return Response.FromValue(new TagResource(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get tags with the resource. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The tags associate with resource. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.GetAtScope"); + scope.Start(); + + try + { + var response = await _restClient.GetAtScopeAsync(Id, cancellationToken).ConfigureAwait(false); + if (response.Value == null) + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); + + return Response.FromValue(new TagResource(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete tags with the resource. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The delete response. + public virtual Response Delete(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.DeleteAtScope"); + scope.Start(); + + try + { + return StartDelete(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete tags with the resource. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The delete response. + public virtual async Task DeleteAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.DeleteAtScope"); + scope.Start(); + + try + { + return await StartDeleteAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update tags with the resource. + /// + /// The tags to update. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated tags. + /// + /// Details on long running operation object. + /// + public virtual TagCreateOrUpdateOperation StartUpdate(TagPatchResource parameters, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.StartUpdateAtScope"); + scope.Start(); + try + { + var response = _restClient.UpdateAtScope(Id, parameters, cancellationToken); + return new TagCreateOrUpdateOperation(this, response); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Update tags with the resource. + /// + /// The tags to update. + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The updated tags. + /// + /// Details on long running operation object. + /// + public virtual async Task StartUpdateAsync(TagPatchResource parameters, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.StartUpdateAtScope"); + scope.Start(); + try + { + var response = await _restClient.UpdateAtScopeAsync(Id, parameters, cancellationToken).ConfigureAwait(false); + return new TagCreateOrUpdateOperation(this, response); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete tags with the resource. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The delete response. + /// + /// Details on long running operation object. + /// + public virtual Response StartDelete(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.StartDeleteAtScope"); + scope.Start(); + try + { + return _restClient.DeleteAtScope(Id, cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Delete tags with the resource. + /// + /// A token to allow the caller to cancel the call to the service. The default value is . + /// The delete response. + /// + /// Details on long running operation object. + /// + public virtual async Task StartDeleteAsync(CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("TagResource.StartDeleteAtScope"); + scope.Start(); + try + { + return await _restClient.DeleteAtScopeAsync(Id, cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResourceContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResourceContainer.cs index 3e6e0c1bd38c..91c177fae02c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResourceContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResourceContainer.cs @@ -11,20 +11,19 @@ namespace Azure.ResourceManager.Resources { /// A class representing collection of tag and their operations over a scope. - public class TagResourceContainer : ResourceContainer + public class TagResourceContainer : ArmContainer { + private ClientDiagnostics _clientDiagnostics; + /// Initializes a new instance of the class for mocking. protected TagResourceContainer() { } - internal TagResourceContainer(ResourceOperations operationsBase) : base(operationsBase) + internal TagResourceContainer(ArmResource operationsBase) : base(operationsBase) { - _clientDiagnostics = new ClientDiagnostics(ClientOptions); } - private readonly ClientDiagnostics _clientDiagnostics; - private string _subscriptionId { get @@ -38,6 +37,8 @@ private string _subscriptionId /// Represents the REST operations. private TagRestOperations RestClient => new TagRestOperations(_clientDiagnostics, Pipeline, _subscriptionId, BaseUri); + private ClientDiagnostics Diagnostics => _clientDiagnostics ??= new ClientDiagnostics(ClientOptions); + /// Typed Resource Identifier for the container. public new ResourceIdentifier Id => base.Id as ResourceIdentifier; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResourceOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResourceOperations.cs deleted file mode 100644 index e2aa81ccc3f2..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TagResourceOperations.cs +++ /dev/null @@ -1,288 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core.Pipeline; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// - /// The tag client. - /// - public class TagResourceOperations : ResourceOperations - { - /// Initializes a new instance of the class for mocking. - protected TagResourceOperations() - { - } - - internal TagResourceOperations(ResourceOperations options, ResourceIdentifier id) : base(options, id) - { - _clientDiagnostics = new ClientDiagnostics(ClientOptions); - } - - private readonly ClientDiagnostics _clientDiagnostics; - - private string _subscriptionId - { - get { - string subscriptionId; - Id.TryGetSubscriptionId(out subscriptionId); - return subscriptionId; - } - } - - /// Represents the REST operations. - private TagRestOperations RestClient => new TagRestOperations(_clientDiagnostics, Pipeline, _subscriptionId, BaseUri); - - /// Typed Resource Identifier for the container. - public new ResourceIdentifier Id => base.Id as ResourceIdentifier; - - /// Gets the valid resource type for this object. - protected override ResourceType ValidResourceType => Id.ResourceType; - - /// - /// Update tags with the resource. - /// - /// The tags to update. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated tags. - public virtual Response Update(TagPatchResource parameters, CancellationToken cancellationToken = default) - { - if (parameters is null) - throw new ArgumentNullException(nameof(parameters)); - - using var scope = Diagnostics.CreateScope("TagsOperations.UpdateAtScope"); - scope.Start(); - - try - { - var operation = StartUpdate(parameters, cancellationToken); - return operation.WaitForCompletion(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Update tags with the resource. - /// - /// The tags to update. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated tags. - public virtual async Task> UpdateAsync(TagPatchResource parameters, CancellationToken cancellationToken = default) - { - if (parameters is null) - throw new ArgumentNullException(nameof(parameters)); - - using var scope = Diagnostics.CreateScope("TagsOperations.UpdateAtScope"); - scope.Start(); - - try - { - var operation = await StartUpdateAsync(parameters, cancellationToken).ConfigureAwait(false); - return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Get tags with the resource. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The tags associate with resource. - public virtual Response Get(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.GetAtScope"); - scope.Start(); - - try - { - var response = RestClient.GetAtScope(Id, cancellationToken); - if (response.Value == null) - throw Diagnostics.CreateRequestFailedException(response.GetRawResponse()); - - return Response.FromValue(new TagResource(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Get tags with the resource. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The tags associate with resource. - public virtual async Task> GetAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.GetAtScope"); - scope.Start(); - - try - { - var response = await RestClient.GetAtScopeAsync(Id, cancellationToken).ConfigureAwait(false); - if (response.Value == null) - throw await Diagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false); - - return Response.FromValue(new TagResource(this, response.Value), response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete tags with the resource. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The delete response. - public virtual Response Delete(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.DeleteAtScope"); - scope.Start(); - - try - { - return StartDelete(cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete tags with the resource. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The delete response. - public virtual async Task DeleteAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.DeleteAtScope"); - scope.Start(); - - try - { - return await StartDeleteAsync(cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Update tags with the resource. - /// - /// The tags to update. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated tags. - /// - /// Details on long running operation object. - /// - public virtual TagCreateOrUpdateOperation StartUpdate(TagPatchResource parameters, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.StartUpdateAtScope"); - scope.Start(); - try - { - var response = RestClient.UpdateAtScope(Id, parameters, cancellationToken); - return new TagCreateOrUpdateOperation(this, response); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Update tags with the resource. - /// - /// The tags to update. - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The updated tags. - /// - /// Details on long running operation object. - /// - public virtual async Task StartUpdateAsync(TagPatchResource parameters, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.StartUpdateAtScope"); - scope.Start(); - try - { - var response = await RestClient.UpdateAtScopeAsync(Id, parameters, cancellationToken).ConfigureAwait(false); - return new TagCreateOrUpdateOperation(this, response); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete tags with the resource. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The delete response. - /// - /// Details on long running operation object. - /// - public virtual Response StartDelete(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.StartDeleteAtScope"); - scope.Start(); - try - { - return RestClient.DeleteAtScope(Id, cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Delete tags with the resource. - /// - /// A token to allow the caller to cancel the call to the service. The default value is . - /// The delete response. - /// - /// Details on long running operation object. - /// - public virtual async Task StartDeleteAsync(CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TagsOperations.StartDeleteAtScope"); - scope.Start(); - try - { - return await RestClient.DeleteAtScopeAsync(Id, cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Tenant.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Tenant.cs index bfc0c9f2b8e3..b4ff91501c04 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Tenant.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/Tenant.cs @@ -1,16 +1,28 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; +using System.ComponentModel; +using System.Threading; +using System.Threading.Tasks; +using System.Xml.Linq; +using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; +using Azure.ResourceManager.Management; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { /// - /// A class representing a Tenant along with the instance operations that can be performed on it. + /// A class representing the operations that can be performed over a specific subscription. /// - public class Tenant : TenantOperations + public class Tenant : ArmResource { + private readonly ProviderRestOperations _providerRestOperations; + private readonly ClientDiagnostics _clientDiagnostics; + private readonly TenantData _data; + /// /// Initializes a new instance of the class for mocking. /// @@ -23,15 +35,221 @@ protected Tenant() /// /// The operations object to copy the client parameters from. /// The data model representing the generic azure resource. - internal Tenant(ResourceOperations operations, TenantData tenantData) - : base(operations.ClientOptions, operations.Credential, operations.BaseUri, operations.Pipeline) + internal Tenant(ArmResource operations, TenantData tenantData) + : base(operations, ResourceIdentifier.RootResourceIdentifier) + { + _data = tenantData; + HasData = true; + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _providerRestOperations = new ProviderRestOperations(_clientDiagnostics, Pipeline, Guid.Empty.ToString(), BaseUri); + } + + /// + /// Initializes a new instance of the class. + /// + /// The client parameters to use in these operations. + /// A credential used to authenticate to an Azure Service. + /// The base URI of the service. + /// The HTTP pipeline for sending and receiving REST requests and responses. + internal Tenant(ArmClientOptions options, TokenCredential credential, Uri baseUri, HttpPipeline pipeline) + : base(new ClientContext(options, credential, baseUri, pipeline), ResourceIdentifier.RootResourceIdentifier) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _providerRestOperations = new ProviderRestOperations(_clientDiagnostics, Pipeline, Guid.Empty.ToString(), BaseUri); + } + + /// + /// The resource type for subscription + /// + public static readonly ResourceType ResourceType = "Microsoft.Resources/tenants"; + + /// + /// Gets whether or not the current instance has data. + /// + public bool HasData { get; } + + /// + /// Gets the tenant data model. + /// + /// Throws if there is no data loaded in the current instance. + public virtual TenantData Data { - Data = tenantData; + get + { + if (!HasData) + throw new InvalidOperationException("The current instance does not have data you must call Get first"); + return _data; + } } /// - /// Gets the subscription data model. + /// Gets the valid resource type for this operation class /// - public virtual TenantData Data { get; } + protected override ResourceType ValidResourceType => ResourceType; + + /// + /// Provides a way to reuse the protected client context. + /// + /// The actual type returned by the delegate. + /// The method to pass the internal properties to. + /// Whatever the delegate returns. + [EditorBrowsable(EditorBrowsableState.Never)] + [ForwardsClientCalls] + public virtual T UseClientContext(Func func) + { + return func(BaseUri, Credential, ClientOptions, Pipeline); + } + + /// Gets all resource providers for a subscription. + /// The number of results to return. If null is passed returns all deployments. + /// The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. + /// The cancellation token to use. + public virtual Pageable GetTenantProviders(int? top = null, string expand = null, CancellationToken cancellationToken = default) + { + Page FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Tenant.GetTenantProviders"); + scope.Start(); + + try + { + Response response = _providerRestOperations.ListAtTenantScope(top, expand, cancellationToken); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + Page NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Tenant.GetTenantProviders"); + scope.Start(); + + try + { + Response response = _providerRestOperations.ListAtTenantScopeNextPage(nextLink, cancellationToken); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); + } + + /// Gets all resource providers for a subscription. + /// The number of results to return. If null is passed returns all deployments. + /// The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. + /// The cancellation token to use. + public virtual AsyncPageable GetTenantProvidersAsync(int? top = null, string expand = null, CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Tenant.GetTenantProviders"); + scope.Start(); + + try + { + Response response = await _providerRestOperations.ListAtTenantScopeAsync(top, expand, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + async Task> NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("Tenant.GetTenantProviders"); + scope.Start(); + + try + { + Response response = await _providerRestOperations.ListAtTenantScopeNextPageAsync(nextLink, cancellationToken).ConfigureAwait(false); + return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); + } + + /// Gets the specified resource provider at the tenant level. + /// The namespace of the resource provider. + /// The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. + /// The cancellation token to use. + /// is null. + public virtual Response GetTenantProvider(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Tenant.GetTenantProvider"); + scope.Start(); + + try + { + return _providerRestOperations.GetAtTenantScope(resourceProviderNamespace, expand, cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets the specified resource provider at the tenant level. + /// The namespace of the resource provider. + /// The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. + /// The cancellation token to use. + /// is null. + public virtual async Task> GetTenantProviderAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("Tenant.GetTenantProvider"); + scope.Start(); + + try + { + return await _providerRestOperations.GetAtTenantScopeAsync(resourceProviderNamespace, expand, cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Gets the management group container for this tenant. + /// + /// A container of the management groups. + public virtual ManagementGroupContainer GetManagementGroups() + { + return new ManagementGroupContainer(this); + } + + /// + /// Gets the managmeent group operations object associated with the id. + /// + /// The id of the management group operations. + /// A client to perform operations on the management group. + internal ManagementGroup GetManagementGroup(ResourceIdentifier id) + { + return new ManagementGroup(this, id); + } + + /// + /// Gets the subscription container for this tenant. + /// + /// A container of the subscriptions. + public virtual SubscriptionContainer GetSubscriptions() + { + return new SubscriptionContainer(this); + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TenantContainer.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TenantContainer.cs index d1c5b2b477dd..5d9e164b690a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TenantContainer.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TenantContainer.cs @@ -6,6 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; +using Azure.Core.Pipeline; using Azure.ResourceManager.Core; namespace Azure.ResourceManager.Resources @@ -13,8 +14,10 @@ namespace Azure.ResourceManager.Resources /// /// A class representing collection of Tenant and their operations over their parent. /// - public class TenantContainer : ResourceContainer + public class TenantContainer : ArmContainer { + private ClientDiagnostics _clientDiagnostics; + /// /// Initializes a new instance of the class for mocking. /// @@ -36,6 +39,8 @@ internal TenantContainer(ClientContext clientContext) private TenantsRestOperations RestClient => new TenantsRestOperations(Diagnostics, Pipeline, BaseUri); + private ClientDiagnostics Diagnostics => _clientDiagnostics ??= new ClientDiagnostics(ClientOptions); + /// Gets the tenants for your account. /// The cancellation token to use. public virtual AsyncPageable GetAllAsync(CancellationToken cancellationToken = default) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TenantOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TenantOperations.cs deleted file mode 100644 index b2964c17a449..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Generated/Resources/TenantOperations.cs +++ /dev/null @@ -1,218 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.ComponentModel; -using System.Threading; -using System.Threading.Tasks; -using Azure.Core; -using Azure.Core.Pipeline; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Management; -using Azure.ResourceManager.Resources.Models; - -namespace Azure.ResourceManager.Resources -{ - /// - /// A class representing the operations that can be performed over a specific subscription. - /// - public class TenantOperations : ResourceOperations - { - private ProviderRestOperations _providerRestOperations; - - /// - /// Initializes a new instance of the class for mocking. - /// - protected TenantOperations() - { - } - - /// - /// The resource type for subscription - /// - public static readonly ResourceType ResourceType = "Microsoft.Resources/tenants"; - - /// - /// Initializes a new instance of the class. - /// - /// The client parameters to use in these operations. - /// A credential used to authenticate to an Azure Service. - /// The base URI of the service. - /// The HTTP pipeline for sending and receiving REST requests and responses. - internal TenantOperations(ArmClientOptions options, TokenCredential credential, Uri baseUri, HttpPipeline pipeline) - : base(new ClientContext(options, credential, baseUri, pipeline), ResourceIdentifier.RootResourceIdentifier) - { - _providerRestOperations = new ProviderRestOperations(Diagnostics, Pipeline, Guid.Empty.ToString(), BaseUri); - } - - /// - /// Gets the valid resource type for this operation class - /// - protected override ResourceType ValidResourceType => ResourceType; - - /// - /// Provides a way to reuse the protected client context. - /// - /// The actual type returned by the delegate. - /// The method to pass the internal properties to. - /// Whatever the delegate returns. - [EditorBrowsable(EditorBrowsableState.Never)] - [ForwardsClientCalls] - public virtual T UseClientContext(Func func) - { - return func(BaseUri, Credential, ClientOptions, Pipeline); - } - - /// Gets all resource providers for a subscription. - /// The number of results to return. If null is passed returns all deployments. - /// The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. - /// The cancellation token to use. - public virtual Pageable GetProviders(int? top = null, string expand = null, CancellationToken cancellationToken = default) - { - Page FirstPageFunc(int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("TenantOperations.GetProviders"); - scope.Start(); - - try - { - Response response = _providerRestOperations.ListAtTenantScope(top, expand, cancellationToken); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - Page NextPageFunc(string nextLink, int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("TenantOperations.GetProviders"); - scope.Start(); - - try - { - Response response = _providerRestOperations.ListAtTenantScopeNextPage(nextLink, cancellationToken); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); - } - - /// Gets all resource providers for a subscription. - /// The number of results to return. If null is passed returns all deployments. - /// The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. - /// The cancellation token to use. - public virtual AsyncPageable GetProvidersAsync(int? top = null, string expand = null, CancellationToken cancellationToken = default) - { - async Task> FirstPageFunc(int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("TenantOperations.GetProviders"); - scope.Start(); - - try - { - Response response = await _providerRestOperations.ListAtTenantScopeAsync(top, expand, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - async Task> NextPageFunc(string nextLink, int? pageSizeHint) - { - using var scope = Diagnostics.CreateScope("TenantOperations.GetProviders"); - scope.Start(); - - try - { - Response response = await _providerRestOperations.ListAtTenantScopeNextPageAsync(nextLink, cancellationToken).ConfigureAwait(false); - return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); - } - - /// Gets the specified resource provider at the tenant level. - /// The namespace of the resource provider. - /// The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. - /// The cancellation token to use. - /// is null. - public virtual Response GetProvider(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TenantOperations.GetProvider"); - scope.Start(); - - try - { - return _providerRestOperations.GetAtTenantScope(resourceProviderNamespace, expand, cancellationToken); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Gets the specified resource provider at the tenant level. - /// The namespace of the resource provider. - /// The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. - /// The cancellation token to use. - /// is null. - public virtual async Task> GetProviderAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) - { - using var scope = Diagnostics.CreateScope("TenantOperations.GetProvider"); - scope.Start(); - - try - { - return await _providerRestOperations.GetAtTenantScopeAsync(resourceProviderNamespace, expand, cancellationToken).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// Gets the management group container for this tenant. - /// - /// A container of the management groups. - public virtual ManagementGroupContainer GetManagementGroups() - { - return new ManagementGroupContainer(this); - } - - /// - /// Gets the managmeent group operations object associated with the id. - /// - /// The id of the management group operations. - /// A client to perform operations on the management group. - internal ManagementGroupOperations GetManagementGroupOperations(string id) - { - return new ManagementGroupOperations(this, id); - } - - /// - /// Gets the subscription container for this tenant. - /// - /// A container of the subscriptions. - public virtual SubscriptionContainer GetSubscriptions() - { - return new SubscriptionContainer(this); - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceIdentifier.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ResourceIdentifier.cs index 4bb28d441f4a..1207036f56d7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceIdentifier.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ResourceIdentifier.cs @@ -28,7 +28,7 @@ public class ResourceIdentifier : IEquatable, IComparable /// The root of the resource hierarchy. /// - public static readonly ResourceIdentifier RootResourceIdentifier = new ResourceIdentifier(null, TenantOperations.ResourceType, string.Empty); + public static readonly ResourceIdentifier RootResourceIdentifier = new ResourceIdentifier(null, Tenant.ResourceType, string.Empty); /// /// For internal use only. @@ -78,7 +78,7 @@ private void Init(ResourceIdentifier parent, ResourceType resourceType, string n ResourceGroupName = parent.ResourceGroupName; } - if (resourceType == SubscriptionOperations.ResourceType) + if (resourceType == Subscription.ResourceType) { Guid output; if (!Guid.TryParse(name, out output)) @@ -89,10 +89,10 @@ private void Init(ResourceIdentifier parent, ResourceType resourceType, string n if (resourceType.LastType == LocationsKey) Location = name; - if (resourceType == ResourceGroupOperations.ResourceType) + if (resourceType == ResourceGroup.ResourceType) ResourceGroupName = name; - if (resourceType == ProviderOperations.ResourceType) + if (resourceType == Resources.Provider.ResourceType) Provider = name; Parent = parent ?? RootResourceIdentifier; @@ -104,8 +104,8 @@ private void Init(ResourceIdentifier parent, ResourceType resourceType, string n private static ResourceType ChooseResourceType(string resourceTypeName, ResourceIdentifier parent) => resourceTypeName.ToLowerInvariant() switch { - ResourceGroupsLowerKey => ResourceGroupOperations.ResourceType, - SubscriptionsKey => SubscriptionOperations.ResourceType, + ResourceGroupsLowerKey => ResourceGroup.ResourceType, + SubscriptionsKey => Subscription.ResourceType, _ => new ResourceType(parent.ResourceType, resourceTypeName) }; @@ -147,7 +147,7 @@ private static ResourceIdentifier AppendNext(ResourceIdentifier parent, List 3 && string.Equals(parts[0], ProvidersKey, StringComparison.InvariantCultureIgnoreCase)) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceListOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ResourceListOperations.cs index 5d8750fd7dfc..b079a7c8ae51 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ResourceListOperations.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ResourceListOperations.cs @@ -15,15 +15,15 @@ public static class ResourceListOperations /// /// List resources under the a resource context /// - /// The instance to use for the list. + /// The instance to use for the list. /// Optional filters for results. /// Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. /// The number of results to return. /// A token to allow the caller to cancel the call to the service. The default value is . /// A collection of resource operations that may take multiple service requests to iterate over. [EditorBrowsable(EditorBrowsableState.Never)] - public static Pageable GetAtContext( - ResourceGroupOperations resourceGroup, + public static Pageable GetAtContext( + ResourceGroup resourceGroup, ResourceFilterCollection resourceFilters = null, string expand = null, int? top = null, @@ -41,15 +41,15 @@ public static Pageable GetAtContext( /// /// List resources under the a resource context /// - /// The instance to use for the list. + /// The instance to use for the list. /// Optional filters for results. /// Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. /// The number of results to return. /// A token to allow the caller to cancel the call to the service. The default value is . /// An async collection of resource operations that may take multiple service requests to iterate over. [EditorBrowsable(EditorBrowsableState.Never)] - public static AsyncPageable GetAtContextAsync( - ResourceGroupOperations resourceGroup, + public static AsyncPageable GetAtContextAsync( + ResourceGroup resourceGroup, ResourceFilterCollection resourceFilters = null, string expand = null, int? top = null, @@ -67,15 +67,15 @@ public static AsyncPageable GetAtContextAsync( /// /// List resources under a subscription /// - /// The instance to use for the list. + /// The instance to use for the list. /// Optional filters for results. /// Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. /// The number of results to return. /// A token to allow the caller to cancel the call to the service. The default value is . /// A collection of resource operations that may take multiple service requests to iterate over. [EditorBrowsable(EditorBrowsableState.Never)] - public static Pageable GetAtContext( - SubscriptionOperations subscription, + public static Pageable GetAtContext( + Subscription subscription, ResourceFilterCollection resourceFilters = null, string expand = null, int? top = null, @@ -93,15 +93,15 @@ public static Pageable GetAtContext( /// /// List resources under the a resource context /// - /// The instance to use for the list. + /// The instance to use for the list. /// Optional filters for results. /// Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. /// The number of results to return. /// A token to allow the caller to cancel the call to the service. The default value is . /// An async collection of resource operations that may take multiple service requests to iterate over. [EditorBrowsable(EditorBrowsableState.Never)] - public static AsyncPageable GetAtContextAsync( - SubscriptionOperations subscription, + public static AsyncPageable GetAtContextAsync( + Subscription subscription, ResourceFilterCollection resourceFilters = null, string expand = null, int? top = null, @@ -116,13 +116,13 @@ public static AsyncPageable GetAtContextAsync( cancellationToken); } - private static GenericResourceContainer GetGenericResourceContainer(ResourceOperations resourceOperations) + private static GenericResourceContainer GetGenericResourceContainer(ArmResource resourceOperations) { return new GenericResourceContainer(new ClientContext(resourceOperations.ClientOptions, resourceOperations.Credential, resourceOperations.BaseUri, resourceOperations.Pipeline), resourceOperations.Id); } - private static AsyncPageable ListAtContextInternalAsync( - ResourceOperations resourceOperations, + private static AsyncPageable ListAtContextInternalAsync( + ArmResource resourceOperations, string scopeFilter, ResourceFilterCollection resourceFilters = null, string expand = null, @@ -130,7 +130,7 @@ private static AsyncPageable ListAtContextInternalAsync CancellationToken cancellationToken = default) { var restClient = GetGenericResourceContainer(resourceOperations); - AsyncPageable result; + AsyncPageable result; if (scopeFilter == null) { result = restClient.GetAllAsync(resourceFilters?.ToString(), expand, top, cancellationToken); @@ -148,8 +148,8 @@ private static AsyncPageable ListAtContextInternalAsync return result; } - private static Pageable ListAtContextInternal( - ResourceOperations resourceOperations, + private static Pageable ListAtContextInternal( + ArmResource resourceOperations, string scopeFilter = null, ResourceFilterCollection resourceFilters = null, string expand = null, @@ -157,7 +157,7 @@ private static Pageable ListAtContextInternal( CancellationToken cancellationToken = default) { var restClient = GetGenericResourceContainer(resourceOperations); - Pageable result; + Pageable result; if (scopeFilter == null) { result = restClient.GetAll(resourceFilters?.ToString(), expand, top, cancellationToken); diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/SingletonOperations.cs b/sdk/resourcemanager/Azure.ResourceManager/src/SingletonOperations.cs deleted file mode 100644 index f506cb372aa9..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/SingletonOperations.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -namespace Azure.ResourceManager.Core -{ - /// - /// A class representing the operations that can be performed over a specific resource. - /// - public abstract class SingletonOperations : ResourceOperations - { - /// - /// Initializes a new instance of the class for mocking. - /// - protected SingletonOperations() - { - } - - /// - /// Initializes a new instance of the class. - /// - /// - protected SingletonOperations(ResourceOperations parent) - : base(new ClientContext(parent.ClientOptions, parent.Credential, parent.BaseUri, parent.Pipeline), ResourceIdentifier.RootResourceIdentifier) - { - Parent = parent; - } - - /// - /// Gets the parent resource of this resource. - /// - protected ResourceOperations Parent { get; } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ArmClientTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ArmClientTests.cs index 71431a3395a6..9c7393bd6dcb 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ArmClientTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ArmClientTests.cs @@ -26,15 +26,15 @@ public async Task LocalOneTimeSetup() StopSessionRecording(); } - [TestCase] - [Ignore("4622 needs complete with a Mocked example to fill in this test")] - public void CreateResourceFromId() + [RecordedTest] + [SyncOnly] + public void ConstructWithInvalidSubscription() { - //TODO: 4622 needs complete with a Mocked example to fill in this test - //public ArmResponse CreateResource(string subscription, string resourceGroup, string name, TResource model, azure_proto_core.Location location = default) + var ex = Assert.Throws(() => new ArmClient(Guid.NewGuid().ToString(), TestEnvironment.Credential)); + Assert.AreEqual(404, ex.Status); } - [TestCase] + [RecordedTest] public void TestArmClientParamCheck() { Assert.Throws(() => { new ArmClient(null, null); }); @@ -42,7 +42,7 @@ public void TestArmClientParamCheck() Assert.Throws(() => { new ArmClient(defaultSubscriptionId: null, null, null); }); } - [TestCase] + [RecordedTest] public void GetGenericOperationsTests() { var ids = new List() @@ -53,60 +53,57 @@ public void GetGenericOperationsTests() $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-4" }; - var genericResourceOperationsList = Client.GetGenericResourceOperations(ids); + var genericResourceOperationsList = Client.GetGenericResources(ids); int index = 0; - foreach (GenericResourceOperations operations in genericResourceOperationsList) + foreach (GenericResource operations in genericResourceOperationsList) { Assert.AreEqual(ids[index], operations.Id.StringValue); index++; } - genericResourceOperationsList = Client.GetGenericResourceOperations(ids[0], ids[1], ids[2], ids[3]); + genericResourceOperationsList = Client.GetGenericResources(ids[0], ids[1], ids[2], ids[3]); index = 0; - foreach (GenericResourceOperations operations in genericResourceOperationsList) + foreach (GenericResource operations in genericResourceOperationsList) { Assert.AreEqual(ids[index], operations.Id.StringValue); index++; } } - [TestCase] + [RecordedTest] public void GetGenericResourcesOperationsTests() { - string id = $"/providers/Microsoft.Compute/virtualMachines/myVm"; - Assert.AreEqual(id, Client.GetGenericResourceOperations(new ResourceIdentifier(id)).Id.StringValue); + string id = $"/subscriptions/{TestEnvironment.SubscriptionId}/providers/Microsoft.Compute/virtualMachines/myVm"; + Assert.AreEqual(id, Client.GetGenericResource(new ResourceIdentifier(id)).Id.StringValue); } - [TestCase] + [RecordedTest] public void GetGenericResourceOperationsSingleIDTests() { string id = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-1"; - Assert.AreEqual(id, Client.GetGenericResourceOperations(id).Id.StringValue); + Assert.AreEqual(id, Client.GetGenericResource(id).Id.StringValue); } - [TestCase] [RecordedTest] public async Task GetGenericResourceOperationsWithSingleValidResource() { string id = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/{_rgName}"; - var genericResourceOperations = Client.GetGenericResourceOperations(id); + var genericResourceOperations = Client.GetGenericResource(id); var genericResource = await genericResourceOperations.GetAsync(); Assert.AreEqual(200, genericResource.GetRawResponse().Status); } - [TestCase] [RecordedTest] public void GetGenericResourceOperationsWithSingleInvalidResource() { string id = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-1"; - var genericResourceOperations = Client.GetGenericResourceOperations(id); + var genericResourceOperations = Client.GetGenericResource(id); RequestFailedException exception = Assert.ThrowsAsync(async () => await genericResourceOperations.GetAsync()); Assert.AreEqual(404, exception.Status); } - [TestCase] [RecordedTest] public async Task GetGenericOperationsWithListOfValidResource() { @@ -115,16 +112,15 @@ public async Task GetGenericOperationsWithListOfValidResource() $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/{_rgName}" }; - var genericResourceOperationsList = Client.GetGenericResourceOperations(ids); + var genericResourceOperationsList = Client.GetGenericResources(ids); - foreach (GenericResourceOperations operations in genericResourceOperationsList) + foreach (GenericResource operations in genericResourceOperationsList) { var genericResource = await operations.GetAsync(); Assert.AreEqual(200, genericResource.GetRawResponse().Status); } } - [TestCase] [RecordedTest] public void GetGenericOperationsWithListOfInvalidResource() { @@ -133,34 +129,34 @@ public void GetGenericOperationsWithListOfInvalidResource() $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/non-existent" }; - var genericResourceOperationsList = Client.GetGenericResourceOperations(ids); + var genericResourceOperationsList = Client.GetGenericResources(ids); - foreach (GenericResourceOperations operations in genericResourceOperationsList) + foreach (GenericResource operations in genericResourceOperationsList) { RequestFailedException exception = Assert.ThrowsAsync(async () => await operations.GetAsync()); Assert.AreEqual(404, exception.Status); } } - [TestCase] + [RecordedTest] public void GetGenericResourceOperationWithNullSetOfIds() { string[] x = null; - Assert.Throws(() => { Client.GetGenericResourceOperations(x); }); + Assert.Throws(() => { Client.GetGenericResources(x); }); } - [TestCase] + [RecordedTest] public void GetGenericResourceOperationWithNullId() { string x = null; - Assert.Throws(() => { Client.GetGenericResourceOperations(x); }); + Assert.Throws(() => { Client.GetGenericResource(x); }); } - [TestCase] + [RecordedTest] public void GetGenericResourceOperationEmptyTest() { var ids = new List(); - Assert.AreEqual(new List(), Client.GetGenericResourceOperations(ids)); + Assert.AreEqual(new List(), Client.GetGenericResources(ids)); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs index f7beaee21ffd..11a9577e523c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs @@ -1,4 +1,5 @@ -using System.Threading.Tasks; +using System; +using System.Threading.Tasks; using Azure.Core.TestFramework; using Azure.ResourceManager.Resources; using NUnit.Framework; @@ -12,6 +13,15 @@ public FeatureOperationsTests(bool isAsync) { } + [RecordedTest] + [SyncOnly] + public void NoDataValidation() + { + ///subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Features/providers/Microsoft.Compute/features/AHUB + var resource = Client.GetFeature($"/subscriptions/{Guid.NewGuid()}/providers/Microsoft.Features/providers/Microsoft.FakeNamespace/features/fakeFeature"); + Assert.Throws(() => { var data = resource.Data; }); + } + [RecordedTest] public async Task Get() { @@ -23,7 +33,7 @@ public async Task Get() Assert.AreEqual(featureFromContainer.Data.Properties.State, feature.Data.Properties.State); Assert.AreEqual(featureFromContainer.Data.Type, feature.Data.Type); - var ex = Assert.ThrowsAsync(async () => _ = await Client.GetFeatureOperations(feature.Data.Id + "x").GetAsync()); + var ex = Assert.ThrowsAsync(async () => _ = await Client.GetFeature(feature.Data.Id + "x").GetAsync()); Assert.AreEqual(404, ex.Status); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceContainerTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceContainerTests.cs index 713039f02344..5de1bc85338f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceContainerTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceContainerTests.cs @@ -46,6 +46,36 @@ public async Task List() Assert.GreaterOrEqual(count, 2); } + [TestCase] + [RecordedTest] + public async Task ListWithExpand() + { + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + _ = await CreateGenericAvailabilitySetAsync(rg1.Id); + ResourceGroup rg2 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + _ = await CreateGenericAvailabilitySetAsync(rg2.Id); + + int count = 0; + //`createdTime`, `changedTime` and `provisioningState` + await foreach (var genericResource in Client.DefaultSubscription.GetGenericResources().GetAllAsync(expand: "createdTime")) + { + Assert.NotNull(genericResource.Data.CreatedTime); + Assert.Null(genericResource.Data.ChangedTime); + Assert.Null(genericResource.Data.ProvisioningState); + count++; + } + + //`createdTime`, `changedTime` and `provisioningState` + await foreach (var genericResource in Client.DefaultSubscription.GetGenericResources().GetAllAsync(expand: "changedTime,provisioningState")) + { + Assert.Null(genericResource.Data.CreatedTime); + Assert.NotNull(genericResource.Data.ChangedTime); + Assert.NotNull(genericResource.Data.ProvisioningState); + } + + Assert.GreaterOrEqual(count, 2); + } + [TestCase] [RecordedTest] public async Task ListByResourceGroup() diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceExpandedOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceExpandedOperationsTests.cs deleted file mode 100644 index b0da1a0aff16..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceExpandedOperationsTests.cs +++ /dev/null @@ -1,161 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; -using Azure.Core.TestFramework; -using Azure.ResourceManager.Core; -using Azure.ResourceManager.Resources; -using Azure.ResourceManager.Resources.Models; -using NUnit.Framework; - -namespace Azure.ResourceManager.Tests -{ - [Parallelizable] - public class GenericResourceExpandedOperationsTests : ResourceManagerTestBase - { - private const string GenericResourceExpandString = "createdTime,changedTime,provisioningState"; - - public GenericResourceExpandedOperationsTests(bool isAsync) - : base(isAsync)//, RecordedTestMode.Record) - { - } - - [TestCase] - [RecordedTest] - public async Task Delete() - { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - var aset = await CreateGenericAvailabilitySetAsync(rg.Id); - - var resExp = await GetGenericResourceExpandedAsync(aset.Id, null, GenericResourceExpandString); - Assert.DoesNotThrowAsync(async () => await resExp.DeleteAsync()); - } - - [TestCase] - [RecordedTest] - public async Task StartDelete() - { - var rgOp = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - ResourceGroup rg = await rgOp.WaitForCompletionAsync(); - var createOp = await StartCreateGenericAvailabilitySetAsync(rg.Id); - GenericResource aset = await createOp.WaitForCompletionAsync(); - - var resExp = await GetGenericResourceExpandedAsync(aset.Id, null, GenericResourceExpandString); - Assert.DoesNotThrowAsync(async () => - { - var deleteOp = await resExp.StartDeleteAsync(); - _ = await deleteOp.WaitForCompletionResponseAsync(); - }); - } - - [TestCase] - [RecordedTest] - public async Task AddTag() - { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - var aset = await CreateGenericAvailabilitySetAsync(rg.Id); - - var resExp = await GetGenericResourceExpandedAsync(aset.Id, null, GenericResourceExpandString); - Assert.AreEqual(0, resExp.Data.Tags.Count); - aset = await resExp.AddTagAsync("key", "value"); - - Assert.IsTrue(aset.Data.Tags.ContainsKey("key")); - Assert.AreEqual("value", aset.Data.Tags["key"]); - } - - [TestCase] - [RecordedTest] - public async Task SetTags() - { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - var aset = await CreateGenericAvailabilitySetAsync(rg.Id); - - var resExp = await GetGenericResourceExpandedAsync(aset.Id, null, GenericResourceExpandString); - Assert.AreEqual(0, resExp.Data.Tags.Count); - - Dictionary tags = new Dictionary(); - tags.Add("key", "value"); - aset = await resExp.SetTagsAsync(tags); - - Assert.IsTrue(aset.Data.Tags.ContainsKey("key")); - Assert.AreEqual("value", aset.Data.Tags["key"]); - } - - [TestCase] - [RecordedTest] - public async Task RemoveTag() - { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - var aset = await CreateGenericAvailabilitySetAsync(rg.Id); - - var resExp = await GetGenericResourceExpandedAsync(aset.Id, null, GenericResourceExpandString); - Dictionary tags = new Dictionary(); - tags.Add("key", "value"); - _ = await resExp.SetTagsAsync(tags); - - aset = await resExp.RemoveTagAsync("key"); - - Assert.IsFalse(aset.Data.Tags.ContainsKey("key")); - Assert.AreEqual(0, aset.Data.Tags.Count); - } - - [TestCase] - [RecordedTest] - public async Task Update() - { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - var aset = await CreateGenericAvailabilitySetAsync(rg.Id); - - var resExp = await GetGenericResourceExpandedAsync(aset.Id, null, GenericResourceExpandString); - var data = ConstructGenericAvailabilitySet(); - data.Tags.Add("key", "value"); - aset = await resExp.UpdateAsync(data); - - Assert.IsTrue(aset.Data.Tags.ContainsKey("key")); - Assert.AreEqual("value", aset.Data.Tags["key"]); - - Assert.ThrowsAsync(async () => _ = await resExp.UpdateAsync(null)); - } - - [TestCase] - [RecordedTest] - public async Task StartUpdate() - { - var rgOp = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - ResourceGroup rg = await rgOp.WaitForCompletionAsync(); - var createOp = await StartCreateGenericAvailabilitySetAsync(rg.Id); - GenericResource aset = await createOp.WaitForCompletionAsync(); - - var resExp = await GetGenericResourceExpandedAsync(aset.Id, null, GenericResourceExpandString); - var data = ConstructGenericAvailabilitySet(); - data.Tags.Add("key", "value"); - var updateOp = await resExp.StartUpdateAsync(data); - aset = await updateOp.WaitForCompletionAsync(); - - Assert.IsTrue(aset.Data.Tags.ContainsKey("key")); - Assert.AreEqual("value", aset.Data.Tags["key"]); - - Assert.ThrowsAsync(async () => - { - var updateOp = await resExp.StartUpdateAsync(null); - _ = await updateOp.WaitForCompletionAsync(); - }); - } - - private async Task GetGenericResourceExpandedAsync( - ResourceIdentifier resourceId, - string filter = default, - string expand = default) - { - var resExp = await (Client.DefaultSubscription.GetGenericResources() - .GetAllAsync(filter, expand) - .FirstOrDefaultAsync(r => r.Id.Equals(resourceId))); - - Assert.NotNull(resExp); - Assert.NotNull(resExp.Data.CreatedTime); - Assert.NotNull(resExp.Data.ChangedTime); - Assert.IsFalse(string.IsNullOrWhiteSpace(resExp.Data.ProvisioningState)); - - return resExp; - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceOperationsTests.cs index 2c0280ca1604..3067a06f61c3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/GenericResourceOperationsTests.cs @@ -23,7 +23,7 @@ public async Task GetGenericsConfirmException() var rgName = Recording.GenerateAssetName("testrg"); _ = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(rgName); var asetid = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/{rgName}/providers/Microsoft.Compute/availabilitySets/testavset"; - var genericResourceOperations = Client.GetGenericResourceOperations(asetid); + var genericResourceOperations = Client.GetGenericResource(asetid); RequestFailedException exception = Assert.ThrowsAsync(async () => await genericResourceOperations.GetAsync()); Assert.AreEqual(404, exception.Status); Assert.True(exception.Message.Contains("ResourceNotFound")); @@ -36,7 +36,7 @@ public async Task GetGenericsBadNameSpace() var rgName = Recording.GenerateAssetName("testrg"); _ = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(rgName); var asetid = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/{rgName}/providers/Microsoft.NotAValidNameSpace123/availabilitySets/testavset"; - var genericResourceOperations = Client.GetGenericResourceOperations(asetid); + var genericResourceOperations = Client.GetGenericResource(asetid); InvalidOperationException exception = Assert.ThrowsAsync(async () => await genericResourceOperations.GetAsync()); Assert.IsTrue(exception.Message.Equals($"An invalid resouce id was given {asetid}")); } @@ -50,7 +50,7 @@ public async Task GetGenericsBadApiVersion() ArmClientOptions options = new ArmClientOptions(); options.ApiVersions.SetApiVersion(rg.Id.ResourceType, "1500-10-10"); var client = GetArmClient(options); - var genericResourceOperations = client.GetGenericResourceOperations(rg.Id); + var genericResourceOperations = client.GetGenericResource(rg.Id); RequestFailedException exception = Assert.ThrowsAsync(async () => await genericResourceOperations.GetAsync()); Assert.IsTrue(exception.Message.Contains("InvalidApiVersionParameter")); } @@ -61,7 +61,7 @@ public async Task GetGenericsGoodApiVersion() { var rgName = Recording.GenerateAssetName("testrg"); ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(rgName); - var genericResourceOperations = Client.GetGenericResourceOperations(rg.Id); + var genericResourceOperations = Client.GetGenericResource(rg.Id); var genericResource = await genericResourceOperations.GetAsync(); Assert.IsNotNull(genericResource.Value); Assert.IsTrue(genericResource.Value.Data.Name.Equals(rgName)); @@ -129,7 +129,7 @@ public async Task Get() AssertAreEqual(aset, aset2); - var ex = Assert.ThrowsAsync(async () => _ = await Client.GetGenericResourceOperations(aset2.Id + "x").GetAsync()); + var ex = Assert.ThrowsAsync(async () => _ = await Client.GetGenericResource(aset2.Id + "x").GetAsync()); Assert.AreEqual(404, ex.Status); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupContainerTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupContainerTests.cs index 05c0e69d62d9..46cb162d2108 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupContainerTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupContainerTests.cs @@ -29,7 +29,7 @@ public async Task GetGlobalManagementGroup() public async Task List() { var mgmtGroupContainer = Client.GetManagementGroups(); - ManagementGroupInfo mgmtGroup = null; + ManagementGroup mgmtGroup = null; await foreach(var item in mgmtGroupContainer.GetAllAsync("no-cache")) { mgmtGroup = item; @@ -41,6 +41,8 @@ public async Task List() Assert.IsNotNull(mgmtGroup.Data.Name, "Name was null"); Assert.IsNotNull(mgmtGroup.Data.TenantId, "TenantId was null"); Assert.IsNotNull(mgmtGroup.Data.Type, "Type was null"); + Assert.IsEmpty(mgmtGroup.Data.Children); + Assert.IsNull(mgmtGroup.Data.Details); } [RecordedTest] @@ -77,7 +79,7 @@ public async Task CreateOrUpdate() Assert.AreEqual($"/providers/Microsoft.Management/managementGroups/{mgmtGroupName}", mgmtGroup.Data.Id.ToString()); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.Name); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.DisplayName); - Assert.AreEqual(ManagementGroupOperations.ResourceType, mgmtGroup.Data.Type); + Assert.AreEqual(ManagementGroup.ResourceType, mgmtGroup.Data.Type); } [RecordedTest] @@ -89,7 +91,7 @@ public async Task StartCreateOrUpdate() Assert.AreEqual($"/providers/Microsoft.Management/managementGroups/{mgmtGroupName}", mgmtGroup.Data.Id.ToString()); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.Name); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.DisplayName); - Assert.AreEqual(ManagementGroupOperations.ResourceType, mgmtGroup.Data.Type); + Assert.AreEqual(ManagementGroup.ResourceType, mgmtGroup.Data.Type); } [RecordedTest] diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs index 474a4dd473dc..82ed7d54dc79 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs @@ -28,9 +28,9 @@ public async Task GetGlobalManagementGroup() [RecordedTest] public async Task Get() { - var mgmtGroup = await Client.GetManagementGroupOperations(_mgmtGroup.Id).GetAsync(); + var mgmtGroup = await Client.GetManagementGroup(_mgmtGroup.Id).GetAsync(); CompareMgmtGroups(_mgmtGroup, mgmtGroup.Value); - RequestFailedException ex = Assert.ThrowsAsync(async () => _ = await Client.GetManagementGroupOperations(_mgmtGroup.Id + "x").GetAsync()); + RequestFailedException ex = Assert.ThrowsAsync(async () => _ = await Client.GetManagementGroup(_mgmtGroup.Id + "x").GetAsync()); Assert.AreEqual(403, ex.Status); } @@ -56,7 +56,7 @@ public async Task StartDelete() [RecordedTest] public async Task GetDescendants() { - ManagementGroup mgmtGroup = await Client.GetManagementGroupOperations(_mgmtGroup.Id).GetAsync(); + ManagementGroup mgmtGroup = await Client.GetManagementGroup(_mgmtGroup.Id).GetAsync(); DescendantInfo descendant = null; await foreach(var desc in mgmtGroup.GetDescendantsAsync()) { diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagContainerTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagContainerTests.cs index f38474277c6c..cf15f8867663 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagContainerTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagContainerTests.cs @@ -22,7 +22,6 @@ public PredefinedTagContainerTests(bool isAsync) protected async Task GlobalTagCleanupAsync() { var container = Client.DefaultSubscription.GetPredefinedTags(); - var operation = Client.DefaultSubscription.GetPreDefinedTagOperations(); var listResult = (await container.GetAllAsync().ToEnumerableAsync()).Where(x => x.Data.TagName.StartsWith("tagName")); foreach (var item in listResult) { diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagOperationsTests.cs index caffcee5d4e0..ffbba8baf19e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PreDefinedTagOperationsTests.cs @@ -1,10 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System.Collections.Generic; +using System; using System.Linq; using System.Threading.Tasks; using Azure.Core.TestFramework; +using Azure.ResourceManager.Resources; using NUnit.Framework; namespace Azure.ResourceManager.Tests @@ -20,7 +21,6 @@ public PredefinedTagOperationsTests(bool isAsync) protected async Task GlobalTagCleanupAsync() { var container = Client.DefaultSubscription.GetPredefinedTags(); - var operation = Client.DefaultSubscription.GetPreDefinedTagOperations(); var listResult = (await container.GetAllAsync().ToEnumerableAsync()).Where(x => x.Data.TagName.StartsWith("tagName")); foreach (var item in listResult) { @@ -28,11 +28,20 @@ protected async Task GlobalTagCleanupAsync() }; } + [RecordedTest] + [SyncOnly] + public void NoDataValidation() + { + ///subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab/tagNames/platformsettings.host_environment.service.platform_optedin_for_rootcerts + var resource = Client.GetPreDefinedTag($"/subscriptions/{Guid.NewGuid()}/tagNames/fakeTagName"); + Assert.Throws(() => { var data = resource.Data; }); + } + [TestCase] [RecordedTest] public void GetTagsOperation() { - var operation = Client.DefaultSubscription.GetPreDefinedTagOperations(); + var operation = Client.GetPreDefinedTag($"/subscriptions/{Client.DefaultSubscription.Id.SubscriptionId}/tagNames/fakeTagName"); string subscriptionId; Assert.IsTrue(operation.Id.TryGetSubscriptionId(out subscriptionId)); Assert.AreEqual(subscriptionId, TestEnvironment.SubscriptionId); @@ -43,14 +52,13 @@ public void GetTagsOperation() public async Task ValueTest() { var tagName = Recording.GenerateAssetName("tagName"); - var operation = Client.DefaultSubscription.GetPreDefinedTagOperations(); var container = Client.DefaultSubscription.GetPredefinedTags(); - await container.CreateOrUpdateAsync(tagName).ConfigureAwait(false); + PredefinedTag preDefinedTag = await container.CreateOrUpdateAsync(tagName).ConfigureAwait(false); // Assert create tag value - var createValue = await operation.CreateOrUpdateValueAsync(tagName, "testValue").ConfigureAwait(false); + var createValue = await preDefinedTag.CreateOrUpdateValueAsync(tagName, "testValue").ConfigureAwait(false); Assert.IsTrue(createValue.Value.TagValueValue.Equals("testValue")); // Assert delete tag value - await operation.DeleteValueAsync(tagName, "testValue").ConfigureAwait(false); + await preDefinedTag.DeleteValueAsync(tagName, "testValue").ConfigureAwait(false); var listResult = await container.GetAllAsync().ToEnumerableAsync(); var expectTag = listResult.Where(x => x.Data.TagName == tagName).FirstOrDefault(); var expectValue = expectTag.Data.Values.Where(x => x.TagValueValue == "testValue").FirstOrDefault(); @@ -62,10 +70,9 @@ public async Task ValueTest() public async Task DeleteTag() { var tagName = Recording.GenerateAssetName("tagName"); - var operation = Client.DefaultSubscription.GetPreDefinedTagOperations(); var container = Client.DefaultSubscription.GetPredefinedTags(); - await container.CreateOrUpdateAsync(tagName).ConfigureAwait(false); - await operation.DeleteAsync(tagName).ConfigureAwait(false); + PredefinedTag preDefinedTag = await container.CreateOrUpdateAsync(tagName).ConfigureAwait(false); + await preDefinedTag.DeleteAsync(tagName).ConfigureAwait(false); var listResult = await container.GetAllAsync().ToEnumerableAsync(); var expectTag = listResult.Where(x => x.Data.TagName.Equals(tagName)).FirstOrDefault(); Assert.IsNull(expectTag); @@ -76,10 +83,9 @@ public async Task DeleteTag() public async Task StartDelete() { var tagName = Recording.GenerateAssetName("tagName"); - var operation = Client.DefaultSubscription.GetPreDefinedTagOperations(); var container = Client.DefaultSubscription.GetPredefinedTags(); - await container.CreateOrUpdateAsync(tagName).ConfigureAwait(false); - await operation.StartDeleteAsync(tagName).ConfigureAwait(false); + PredefinedTag preDefinedTag = await container.CreateOrUpdateAsync(tagName).ConfigureAwait(false); + await preDefinedTag.StartDeleteAsync(tagName).ConfigureAwait(false); var listResult = await container.GetAllAsync().ToEnumerableAsync(); var expectTag = listResult.Where(x => x.Data.TagName.Equals(tagName)).FirstOrDefault(); Assert.IsNull(expectTag); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ProviderOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ProviderOperationsTests.cs index aa7a7c6dee3e..ab3c74037e55 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ProviderOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ProviderOperationsTests.cs @@ -13,6 +13,15 @@ public ProviderOperationsTests(bool isAsync) { } + [RecordedTest] + [SyncOnly] + public void NoDataValidation() + { + ///subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/microsoft.insights + var resource = Client.GetProvider($"/subscriptions/{Guid.NewGuid()}/providers/microsoft.FakeNamespace"); + Assert.Throws(() => { var data = resource.Data; }); + } + [TestCase] [RecordedTest] public async Task Get() @@ -22,7 +31,7 @@ public async Task Get() Provider result = response.Value; Assert.IsNotNull(result); - var ex = Assert.ThrowsAsync(async () => await Client.GetProviderOperations(result.Data.Id + "x").GetAsync()); + var ex = Assert.ThrowsAsync(async () => await Client.GetProvider(result.Data.Id + "x").GetAsync()); Assert.AreEqual(404, ex.Status); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs index 40b0998727a4..0e88ccd4be57 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs @@ -18,11 +18,20 @@ public ResourceGroupOperationsTests(bool isAsync) { } + [RecordedTest] + [SyncOnly] + public void NoDataValidation() + { + ////subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/myRg + var resource = Client.GetResourceGroup($"/subscriptions/{Guid.NewGuid()}/resourceGroups/fakeRg"); + Assert.Throws(() => { var data = resource.Data; }); + } + [TestCase] [RecordedTest] public async Task DeleteRg() { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); await rg.DeleteAsync(); } @@ -30,7 +39,7 @@ public async Task DeleteRg() [RecordedTest] public async Task StartDeleteRg() { - var rgOp = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + var rgOp = await Client.DefaultSubscription.GetResourceGroups().StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); ResourceGroup rg = await rgOp.WaitForCompletionAsync(); var deleteOp = await rg.StartDeleteAsync(); var response = deleteOp.GetRawResponse(); @@ -39,7 +48,7 @@ public async Task StartDeleteRg() await deleteOp.WaitForCompletionResponseAsync(); await deleteOp.WaitForCompletionResponseAsync(TimeSpan.FromSeconds(2)); - var rgOp2 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + var rgOp2 = await Client.DefaultSubscription.GetResourceGroups().StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); ResourceGroup rg2 = await rgOp.WaitForCompletionAsync(); rg2.Id.Name = null; Assert.ThrowsAsync(async () => _ = await rg2.StartDeleteAsync()); @@ -49,7 +58,7 @@ public async Task StartDeleteRg() [RecordedTest] public void StartDeleteNonExistantRg() { - var rgOp = InstrumentClientExtension(Client.GetResourceGroupOperations($"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/fake")); + var rgOp = InstrumentClientExtension(Client.GetResourceGroup($"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/fake")); var deleteOpTask = rgOp.StartDeleteAsync(); RequestFailedException exception = Assert.ThrowsAsync(async () => await deleteOpTask); Assert.AreEqual(404, exception.Status); @@ -59,7 +68,7 @@ public void StartDeleteNonExistantRg() [RecordedTest] public async Task Get() { - ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); ResourceGroup rg2 = await rg1.GetAsync(); Assert.AreEqual(rg1.Data.Name, rg2.Data.Name); Assert.AreEqual(rg1.Data.Id, rg2.Data.Id); @@ -72,7 +81,7 @@ public async Task Get() rg1.Id.Name = null; Assert.ThrowsAsync(async () => _ = await rg1.GetAsync()); - var ex = Assert.ThrowsAsync(async () => await Client.GetResourceGroupOperations(rg1.Data.Id + "x").GetAsync()); + var ex = Assert.ThrowsAsync(async () => await Client.GetResourceGroup(rg1.Data.Id + "x").GetAsync()); Assert.AreEqual(404, ex.Status); } @@ -81,7 +90,7 @@ public async Task Get() public async Task Update() { var rgName = Recording.GenerateAssetName("testrg"); - ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(rgName); + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(rgName, new ResourceGroupData(Location.WestUS2)); var parameters = new ResourceGroupPatchable { Name = rgName @@ -105,7 +114,7 @@ public async Task Update() [RecordedTest] public async Task StartExportTemplate() { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); var parameters = new ExportTemplateRequest(); parameters.Resources.Add("*"); var expOp = await rg.StartExportTemplateAsync(parameters); @@ -125,7 +134,7 @@ public async Task StartExportTemplate() [RecordedTest] public async Task AddTag() { - ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); Assert.AreEqual(0, rg1.Data.Tags.Count); ResourceGroup rg2 = await rg1.AddTagAsync("key", "value"); Assert.AreEqual(1, rg2.Data.Tags.Count); @@ -145,7 +154,7 @@ public async Task AddTag() [RecordedTest] public async Task SetTags() { - ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); Assert.AreEqual(0, rg1.Data.Tags.Count); var tags = new Dictionary() { @@ -167,7 +176,7 @@ public async Task SetTags() [RecordedTest] public async Task RemoveTag() { - ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); var tags = new Dictionary() { { "k1", "v1"}, @@ -195,7 +204,7 @@ public async Task RemoveTag() [RecordedTest] public async Task ListAvailableLocations() { - ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); var locations = await rg.GetAvailableLocationsAsync(); int count = 0; foreach (var location in locations) @@ -209,8 +218,8 @@ public async Task ListAvailableLocations() [RecordedTest] public async Task MoveResources() { - ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - ResourceGroup rg2 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); + ResourceGroup rg2 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); var genericResources = Client.DefaultSubscription.GetGenericResources(); var aset = await CreateGenericAvailabilitySetAsync(rg1.Id); @@ -236,8 +245,8 @@ public async Task MoveResources() [RecordedTest] public async Task StartMoveResources() { - var rg1Op = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - var rg2Op = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + var rg1Op = await Client.DefaultSubscription.GetResourceGroups().StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); + var rg2Op = await Client.DefaultSubscription.GetResourceGroups().StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); ResourceGroup rg1 = await rg1Op.WaitForCompletionAsync(); ResourceGroup rg2 = await rg2Op.WaitForCompletionAsync(); var genericResources = Client.DefaultSubscription.GetGenericResources(); @@ -271,8 +280,8 @@ public async Task StartMoveResources() [RecordedTest] public async Task ValidateMoveResources() { - ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - ResourceGroup rg2 = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + ResourceGroup rg1 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); + ResourceGroup rg2 = await Client.DefaultSubscription.GetResourceGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); var aset = await CreateGenericAvailabilitySetAsync(rg1.Id); var moveInfo = new ResourcesMoveInfo(); @@ -289,8 +298,8 @@ public async Task ValidateMoveResources() [RecordedTest] public async Task StartValidateMoveResources() { - var rg1Op = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); - var rg2Op = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); + var rg1Op = await Client.DefaultSubscription.GetResourceGroups().StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); + var rg2Op = await Client.DefaultSubscription.GetResourceGroups().StartCreateOrUpdateAsync(Recording.GenerateAssetName("testrg"), new ResourceGroupData(Location.WestUS2)); ResourceGroup rg1 = await rg1Op.WaitForCompletionAsync(); ResourceGroup rg2 = await rg2Op.WaitForCompletionAsync(); var asetOp = await StartCreateGenericAvailabilitySetAsync(rg1.Id); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceListOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceListOperationsTests.cs index fe61d7143d65..07ec7b7e7583 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceListOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceListOperationsTests.cs @@ -21,7 +21,7 @@ public async Task ListAtContext() ResourceGroup rg = await Client.DefaultSubscription.GetResourceGroups().Construct(Location.WestUS2).CreateOrUpdateAsync(Recording.GenerateAssetName("testrg")); _ = await CreateGenericAvailabilitySetAsync(rg.Id); - ResourceGroupOperations rgOp = Client.GetResourceGroupOperations(rg.Id); + ResourceGroup rgOp = Client.GetResourceGroup(rg.Id); var result = 0; var pageable = ResourceListOperations.GetAtContextAsync(rgOp); await foreach (var resource in pageable) diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionContainerTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionContainerTests.cs index 73781ed72e50..70fa53571f2a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionContainerTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionContainerTests.cs @@ -13,7 +13,6 @@ public SubscriptionContainerTests(bool isAsync) { } - [TestCase] [RecordedTest] public async Task List() { @@ -25,7 +24,6 @@ public async Task List() Assert.GreaterOrEqual(count, 1); } - [TestCase] [RecordedTest] public async Task TryGet() { @@ -37,7 +35,6 @@ public async Task TryGet() Assert.IsTrue(subscription.Id.SubscriptionId.Equals(subscriptionId)); } - [TestCase] [RecordedTest] public async Task Get() { @@ -50,7 +47,6 @@ public async Task Get() Assert.AreEqual(404, ex.Status); } - [TestCase] [RecordedTest] public async Task CheckIfExists() { diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionOperationsTests.cs index 26c16e60a081..75372b1ca9f9 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/SubscriptionOperationsTests.cs @@ -19,6 +19,15 @@ public SubscriptionOperationsTests(bool isAsync) { } + [RecordedTest] + [SyncOnly] + public void NoDataValidation() + { + ///subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c + var resource = Client.GetSubscription($"/subscriptions/{Guid.NewGuid()}"); + Assert.Throws(() => { var data = resource.Data; }); + } + [TestCase] [RecordedTest] public async Task GetSubscriptionOperation() @@ -142,7 +151,7 @@ public async Task TestGetSubscription() var subscription = await Client.DefaultSubscription.GetAsync(); Assert.NotNull(subscription.Value.Data.Id); - RequestFailedException ex = Assert.ThrowsAsync(async () => _ = await Client.GetSubscriptionOperations($"/subscriptions/{new Guid()}").GetAsync()); + RequestFailedException ex = Assert.ThrowsAsync(async () => _ = await Client.GetSubscription($"/subscriptions/{new Guid()}").GetAsync()); Assert.AreEqual(404, ex.Status); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json index aaeccd000a95..0ec1e8b5e788 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json @@ -6,7 +6,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "5a471502cc785e70e671623a1a452721", "x-ms-return-client-request-id": "true" }, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:21 GMT", + "Date": "Tue, 10 Aug 2021 19:39:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f0beb302-2651-49a3-ba29-87a613dc9ed5", + "x-ms-correlation-request-id": "cd9a7ff0-41ae-4b76-b964-a4ab5d3cd4ea", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "f0beb302-2651-49a3-ba29-87a613dc9ed5", - "x-ms-routing-request-id": "WESTUS2:20210726T005122Z:f0beb302-2651-49a3-ba29-87a613dc9ed5" + "x-ms-request-id": "cd9a7ff0-41ae-4b76-b964-a4ab5d3cd4ea", + "x-ms-routing-request-id": "WESTUS2:20210810T193910Z:cd9a7ff0-41ae-4b76-b964-a4ab5d3cd4ea" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,8 +51,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1a60b64fb044b64f898bd4e824cf1094-11d0c50638249749-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "traceparent": "00-c448e7a83b0dda47b61256bd4bc5a995-16b5cd5614be1e4b-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "7f043350e1a08916b2e6d331bf887312", "x-ms-return-client-request-id": "true" }, @@ -62,15 +62,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:21 GMT", + "Date": "Tue, 10 Aug 2021 19:39:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0618f624-96ef-412a-aea9-de151078dcda", + "x-ms-correlation-request-id": "18bfee3e-06ff-4ace-a48e-25ce7f5d7e68", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "0618f624-96ef-412a-aea9-de151078dcda", - "x-ms-routing-request-id": "WESTUS2:20210726T005122Z:0618f624-96ef-412a-aea9-de151078dcda" + "x-ms-request-id": "18bfee3e-06ff-4ace-a48e-25ce7f5d7e68", + "x-ms-routing-request-id": "WESTUS2:20210810T193910Z:18bfee3e-06ff-4ace-a48e-25ce7f5d7e68" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -99,7 +99,8 @@ "Authorization": "Sanitized", "Content-Length": "39", "Content-Type": "application/json", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "traceparent": "00-dde12742a326644190bd996b8d039195-1d86fbe377bbcb42-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "1de8ca6ff16afc375aa8a238b9711bfb", "x-ms-return-client-request-id": "true" }, @@ -112,15 +113,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:22 GMT", + "Date": "Tue, 10 Aug 2021 19:39:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3c344ed0-5554-450b-8661-160ebba143e1", + "x-ms-correlation-request-id": "ee33dabb-e420-4638-8875-e9c8134e6541", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "3c344ed0-5554-450b-8661-160ebba143e1", - "x-ms-routing-request-id": "WESTUS2:20210726T005123Z:3c344ed0-5554-450b-8661-160ebba143e1" + "x-ms-request-id": "ee33dabb-e420-4638-8875-e9c8134e6541", + "x-ms-routing-request-id": "WESTUS2:20210810T193911Z:ee33dabb-e420-4638-8875-e9c8134e6541" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json index 97eb237dbb08..9e4702078d86 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json @@ -6,7 +6,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "5a471502cc785e70e671623a1a452721", "x-ms-return-client-request-id": "true" }, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:11 GMT", + "Date": "Tue, 10 Aug 2021 18:13:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "43eefd1e-8984-4b59-9822-a6dbbb27726e", + "x-ms-correlation-request-id": "b0c6291c-1199-4bb7-bf50-86680b38c17d", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "43eefd1e-8984-4b59-9822-a6dbbb27726e", - "x-ms-routing-request-id": "WESTUS2:20210726T005212Z:43eefd1e-8984-4b59-9822-a6dbbb27726e" + "x-ms-request-id": "b0c6291c-1199-4bb7-bf50-86680b38c17d", + "x-ms-routing-request-id": "WESTUS:20210810T181307Z:b0c6291c-1199-4bb7-bf50-86680b38c17d" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,8 +51,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-68d537d3d2a0224dafda3fff51cd0033-74c149852f1b2540-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "traceparent": "00-c9701ad3cab98149baf17a9f021921f7-07eef43e40c24042-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "7f043350e1a08916b2e6d331bf887312", "x-ms-return-client-request-id": "true" }, @@ -62,15 +62,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:12 GMT", + "Date": "Tue, 10 Aug 2021 18:13:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d6ef7d03-7423-4425-b048-d04770ded39e", + "x-ms-correlation-request-id": "15e3d4d7-364b-44b8-b985-b77de91c155d", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "d6ef7d03-7423-4425-b048-d04770ded39e", - "x-ms-routing-request-id": "WESTUS2:20210726T005213Z:d6ef7d03-7423-4425-b048-d04770ded39e" + "x-ms-request-id": "15e3d4d7-364b-44b8-b985-b77de91c155d", + "x-ms-routing-request-id": "WESTUS:20210810T181307Z:15e3d4d7-364b-44b8-b985-b77de91c155d" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -99,7 +99,8 @@ "Authorization": "Sanitized", "Content-Length": "39", "Content-Type": "application/json", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "traceparent": "00-114ba4fda1b8bb4aa779b8d44dd4d824-6abb619e34be0649-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "1de8ca6ff16afc375aa8a238b9711bfb", "x-ms-return-client-request-id": "true" }, @@ -112,15 +113,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:12 GMT", + "Date": "Tue, 10 Aug 2021 18:13:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e1e75226-3bb7-4872-ba30-934b73b235fc", + "x-ms-correlation-request-id": "207dc383-4094-4df6-9e69-38beec9c6615", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "e1e75226-3bb7-4872-ba30-934b73b235fc", - "x-ms-routing-request-id": "WESTUS2:20210726T005213Z:e1e75226-3bb7-4872-ba30-934b73b235fc" + "x-ms-request-id": "207dc383-4094-4df6-9e69-38beec9c6615", + "x-ms-routing-request-id": "WESTUS:20210810T181308Z:207dc383-4094-4df6-9e69-38beec9c6615" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ConstructWithInvalidSubscription.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ConstructWithInvalidSubscription.json index a559e59f32c4..e73e4f67084e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/ConstructWithInvalidSubscription.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ed82218f3b5be08677d154bfc82678b3", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7d8fdd92866dc194f5fa8ed6bc0c2f04", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:13 GMT", + "Date": "Tue, 10 Aug 2021 19:39:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2638b79c-d15e-4bf4-ac9e-acb7fa9a8158", + "x-ms-correlation-request-id": "a8c39fac-d711-4512-8485-7cec07f4a019", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "2638b79c-d15e-4bf4-ac9e-acb7fa9a8158", - "x-ms-routing-request-id": "WESTUS2:20210726T005214Z:2638b79c-d15e-4bf4-ac9e-acb7fa9a8158" + "x-ms-request-id": "a8c39fac-d711-4512-8485-7cec07f4a019", + "x-ms-routing-request-id": "WESTUS2:20210810T193912Z:a8c39fac-d711-4512-8485-7cec07f4a019" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "525146284", + "RandomSeed": "1274397941", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests.json new file mode 100644 index 000000000000..6c88f7fa23c9 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c2372e6fa22eda9a50ded4dd71583461", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 18:10:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "22373e11-6254-44b1-8531-983377ac1a63", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "22373e11-6254-44b1-8531-983377ac1a63", + "x-ms-routing-request-id": "WESTUS2:20210810T181035Z:22373e11-6254-44b1-8531-983377ac1a63" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "1764408609", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTestsAsync.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTestsAsync.json index a786d285df13..2111d576845e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsTestsAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "0eb3d93b133c8a58c719ba989fc8bd8f", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4d76384a04c0abe54ab871c52558644e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:23 GMT", + "Date": "Tue, 10 Aug 2021 18:13:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5ad972a0-8e1e-42cd-a398-00dcee11161b", + "x-ms-correlation-request-id": "5f374a24-ac6e-4734-8a23-24747c2aa95f", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "5ad972a0-8e1e-42cd-a398-00dcee11161b", - "x-ms-routing-request-id": "WESTUS2:20210726T005124Z:5ad972a0-8e1e-42cd-a398-00dcee11161b" + "x-ms-request-id": "5f374a24-ac6e-4734-8a23-24747c2aa95f", + "x-ms-routing-request-id": "WESTUS:20210810T181308Z:5f374a24-ac6e-4734-8a23-24747c2aa95f" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "173774393", + "RandomSeed": "268042834", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource.json similarity index 96% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource.json index 6702718d8424..0615b648b311 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "fff178d6ed5866066762532553bb0b30", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7002e2a0ca0ae2d8e772e5062627168e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:13 GMT", + "Date": "Tue, 10 Aug 2021 18:10:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d80a5ee7-80bc-4d11-9556-621f581f8ff8", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "d80a5ee7-80bc-4d11-9556-621f581f8ff8", - "x-ms-routing-request-id": "WESTUS2:20210726T005214Z:d80a5ee7-80bc-4d11-9556-621f581f8ff8" + "x-ms-correlation-request-id": "4288c8ee-3e09-4637-8ed6-85aaef74afc3", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "4288c8ee-3e09-4637-8ed6-85aaef74afc3", + "x-ms-routing-request-id": "WESTUS2:20210810T181035Z:4288c8ee-3e09-4637-8ed6-85aaef74afc3" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,8 +51,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5f5613df99ea89dbe0435f022d33f1a9", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3912fa933666b44426d1fa6dd1c3c49c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -61,15 +61,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:13 GMT", + "Date": "Tue, 10 Aug 2021 18:10:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e4f35ac5-c09b-4882-a8bd-fd79a2515177", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "e4f35ac5-c09b-4882-a8bd-fd79a2515177", - "x-ms-routing-request-id": "WESTUS2:20210726T005214Z:e4f35ac5-c09b-4882-a8bd-fd79a2515177" + "x-ms-correlation-request-id": "6fc094fd-3054-4747-a792-83869f2ef146", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "6fc094fd-3054-4747-a792-83869f2ef146", + "x-ms-routing-request-id": "WESTUS2:20210810T181035Z:6fc094fd-3054-4747-a792-83869f2ef146" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1243,8 +1243,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "681d18f8bcf8700deb324820f46c97ef", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "bb03309fc4e0db7e00d08bced9d65524", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1253,16 +1253,16 @@ "Cache-Control": "no-cache", "Content-Length": "104", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:13 GMT", + "Date": "Tue, 10 Aug 2021 18:10:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e73f426d-08fa-4b47-a4d9-9887e28ecaf4", + "x-ms-correlation-request-id": "22c51493-01b7-42c6-ba9e-892571b8cf4b", "x-ms-failure-cause": "gateway", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "e73f426d-08fa-4b47-a4d9-9887e28ecaf4", - "x-ms-routing-request-id": "WESTUS2:20210726T005214Z:e73f426d-08fa-4b47-a4d9-9887e28ecaf4" + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "22c51493-01b7-42c6-ba9e-892571b8cf4b", + "x-ms-routing-request-id": "WESTUS2:20210810T181035Z:22c51493-01b7-42c6-ba9e-892571b8cf4b" }, "ResponseBody": { "error": { @@ -1273,7 +1273,7 @@ } ], "Variables": { - "RandomSeed": "1176186604", + "RandomSeed": "731733848", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResourceAsync.json similarity index 96% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResourceAsync.json index c59059f45345..c8d13b5f320d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResourceAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "fff178d6ed5866066762532553bb0b30", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1b24673e3d306cc41eb07b27aef58b27", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:23 GMT", + "Date": "Tue, 10 Aug 2021 18:13:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "672ab986-9041-4dd8-8a75-5cdbe6496844", + "x-ms-correlation-request-id": "b16c061d-c58c-42bd-9bdb-b63af7bf3a95", "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "672ab986-9041-4dd8-8a75-5cdbe6496844", - "x-ms-routing-request-id": "WESTUS2:20210726T005124Z:672ab986-9041-4dd8-8a75-5cdbe6496844" + "x-ms-request-id": "b16c061d-c58c-42bd-9bdb-b63af7bf3a95", + "x-ms-routing-request-id": "WESTUS:20210810T181309Z:b16c061d-c58c-42bd-9bdb-b63af7bf3a95" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,8 +51,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5f5613df99ea89dbe0435f022d33f1a9", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6c84397ed654bd79d533505a4eb83eb9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -61,15 +61,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:23 GMT", + "Date": "Tue, 10 Aug 2021 18:13:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cdccb27c-699f-4d4a-bc18-ec8da7993f51", + "x-ms-correlation-request-id": "80467c57-be6c-4bf6-bc06-fcd2d578f017", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "cdccb27c-699f-4d4a-bc18-ec8da7993f51", - "x-ms-routing-request-id": "WESTUS2:20210726T005124Z:cdccb27c-699f-4d4a-bc18-ec8da7993f51" + "x-ms-request-id": "80467c57-be6c-4bf6-bc06-fcd2d578f017", + "x-ms-routing-request-id": "WESTUS:20210810T181309Z:80467c57-be6c-4bf6-bc06-fcd2d578f017" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1243,8 +1243,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "681d18f8bcf8700deb324820f46c97ef", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "69f8e7d732f016474ec87682f96b2232", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1253,16 +1253,16 @@ "Cache-Control": "no-cache", "Content-Length": "104", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:23 GMT", + "Date": "Tue, 10 Aug 2021 18:13:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fcfba24d-6ed3-499c-b37f-d2878d102ee0", + "x-ms-correlation-request-id": "5bb7c796-4316-4b44-8258-c8090d7eac3b", "x-ms-failure-cause": "gateway", "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "fcfba24d-6ed3-499c-b37f-d2878d102ee0", - "x-ms-routing-request-id": "WESTUS2:20210726T005124Z:fcfba24d-6ed3-499c-b37f-d2878d102ee0" + "x-ms-request-id": "5bb7c796-4316-4b44-8258-c8090d7eac3b", + "x-ms-routing-request-id": "WESTUS:20210810T181309Z:5bb7c796-4316-4b44-8258-c8090d7eac3b" }, "ResponseBody": { "error": { @@ -1273,7 +1273,7 @@ } ], "Variables": { - "RandomSeed": "1176186604", + "RandomSeed": "499927117", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource.json similarity index 96% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource.json index 5025ea16ca9e..930d714009eb 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "15cd3fd2bc0730150f9cc5c030808029", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "331eab245307a495a79db971989beafa", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", + "Date": "Tue, 10 Aug 2021 18:11:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "01bbfec1-d518-4fe5-ab05-d2afeff13571", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "01bbfec1-d518-4fe5-ab05-d2afeff13571", - "x-ms-routing-request-id": "WESTUS2:20210726T005214Z:01bbfec1-d518-4fe5-ab05-d2afeff13571" + "x-ms-correlation-request-id": "124ff3d3-65be-4b01-ae08-7bd59b6f7905", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "124ff3d3-65be-4b01-ae08-7bd59b6f7905", + "x-ms-routing-request-id": "WESTUS2:20210810T181149Z:124ff3d3-65be-4b01-ae08-7bd59b6f7905" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,8 +51,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "bc343c692f023928889ec6859a769849", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "96ac9c29461a8fbf26ea981b3fe6af8c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -61,15 +61,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", + "Date": "Tue, 10 Aug 2021 18:11:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7d840986-2e0d-4d3a-bc3a-876e9d3d47e2", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "7d840986-2e0d-4d3a-bc3a-876e9d3d47e2", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:7d840986-2e0d-4d3a-bc3a-876e9d3d47e2" + "x-ms-correlation-request-id": "79e3c98f-aa16-48bd-896d-2c3e34bae417", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "79e3c98f-aa16-48bd-896d-2c3e34bae417", + "x-ms-routing-request-id": "WESTUS2:20210810T181149Z:79e3c98f-aa16-48bd-896d-2c3e34bae417" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1243,8 +1243,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "94377ed6ad3d8024b8e3d077bdc8cea6", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6c8c8f78dde0773992ef44b8792cc4d6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1253,15 +1253,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", + "Date": "Tue, 10 Aug 2021 18:11:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e06a7728-ca42-469c-83b0-d96ca04e9bba", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "e06a7728-ca42-469c-83b0-d96ca04e9bba", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:e06a7728-ca42-469c-83b0-d96ca04e9bba" + "x-ms-correlation-request-id": "d7ae679f-3d61-4ffb-b8d6-661b0cce8a27", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "d7ae679f-3d61-4ffb-b8d6-661b0cce8a27", + "x-ms-routing-request-id": "WESTUS2:20210810T181149Z:d7ae679f-3d61-4ffb-b8d6-661b0cce8a27" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", @@ -1276,7 +1276,7 @@ } ], "Variables": { - "RandomSeed": "248817585", + "RandomSeed": "438858902", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResourceAsync.json similarity index 96% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResourceAsync.json index facaab7131df..3f279ba2dab0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResourceAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "03b22673cd589bc632da34fa8ebeecdd", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ed3f06e790537133a93ef7bd71c1947c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:24 GMT", + "Date": "Tue, 10 Aug 2021 18:13:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4d120567-f1bf-4132-9326-dfc3377fb8a8", + "x-ms-correlation-request-id": "3a184294-f75e-4d0b-93cb-36c36ebe3c90", "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "4d120567-f1bf-4132-9326-dfc3377fb8a8", - "x-ms-routing-request-id": "WESTUS2:20210726T005124Z:4d120567-f1bf-4132-9326-dfc3377fb8a8" + "x-ms-request-id": "3a184294-f75e-4d0b-93cb-36c36ebe3c90", + "x-ms-routing-request-id": "WESTUS:20210810T181309Z:3a184294-f75e-4d0b-93cb-36c36ebe3c90" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,8 +51,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ba05ff9db8c329941c97cb3cfbd3cba6", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0efb64a24c709330a8dcea90a6b4364b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -61,15 +61,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:24 GMT", + "Date": "Tue, 10 Aug 2021 18:13:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "39bac991-4e6d-41ac-8864-2828121b5f32", + "x-ms-correlation-request-id": "3a220662-af0f-4c11-bbec-0c09270ba10b", "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "39bac991-4e6d-41ac-8864-2828121b5f32", - "x-ms-routing-request-id": "WESTUS2:20210726T005125Z:39bac991-4e6d-41ac-8864-2828121b5f32" + "x-ms-request-id": "3a220662-af0f-4c11-bbec-0c09270ba10b", + "x-ms-routing-request-id": "WESTUS:20210810T181309Z:3a220662-af0f-4c11-bbec-0c09270ba10b" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1243,8 +1243,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "b060e2a71de0d9a31829b05fa7214486", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5c12d8abf022659df6526dd2b28f5c46", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1253,15 +1253,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:24 GMT", + "Date": "Tue, 10 Aug 2021 18:13:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bf299d14-9fca-45e2-8877-1fb918789f8a", + "x-ms-correlation-request-id": "3d33da8e-011c-4bbe-9c11-d983587250c0", "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "bf299d14-9fca-45e2-8877-1fb918789f8a", - "x-ms-routing-request-id": "WESTUS2:20210726T005125Z:bf299d14-9fca-45e2-8877-1fb918789f8a" + "x-ms-request-id": "3d33da8e-011c-4bbe-9c11-d983587250c0", + "x-ms-routing-request-id": "WESTUS:20210810T181309Z:3d33da8e-011c-4bbe-9c11-d983587250c0" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", @@ -1276,7 +1276,7 @@ } ], "Variables": { - "RandomSeed": "129329977", + "RandomSeed": "1300885708", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest.json new file mode 100644 index 000000000000..ddbb9787aabf --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4377c031e07bd97785ccd03dcfc71e13", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 18:10:35 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7f088dee-7c77-4dce-87f8-35d898373a7d", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "7f088dee-7c77-4dce-87f8-35d898373a7d", + "x-ms-routing-request-id": "WESTUS2:20210810T181036Z:7f088dee-7c77-4dce-87f8-35d898373a7d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "2064245151", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTestAsync.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTestAsync.json index 5e5b30bfba30..ce8d5e63a7b3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTestAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "4a2c43a9d7fdc394e066c1f2f03f3a9d", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ff089b17099de9e3adae64c4fb2a2728", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", + "Date": "Tue, 10 Aug 2021 18:13:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "80477068-b9ed-49f7-9520-c9c69c8fe0d8", + "x-ms-correlation-request-id": "6a1328fb-1272-443d-8138-5280b901aff8", "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "80477068-b9ed-49f7-9520-c9c69c8fe0d8", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:80477068-b9ed-49f7-9520-c9c69c8fe0d8" + "x-ms-request-id": "6a1328fb-1272-443d-8138-5280b901aff8", + "x-ms-routing-request-id": "WESTUS:20210810T181310Z:6a1328fb-1272-443d-8138-5280b901aff8" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "54454898", + "RandomSeed": "335995093", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId.json new file mode 100644 index 000000000000..e900a23ecb05 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8eac8b04ca203605fed23e0a6e4a4d81", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 18:10:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2662d4f8-a36e-4fda-98ec-44323135ed66", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "2662d4f8-a36e-4fda-98ec-44323135ed66", + "x-ms-routing-request-id": "WESTUS2:20210810T181037Z:2662d4f8-a36e-4fda-98ec-44323135ed66" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "942513445", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullIdAsync.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullIdAsync.json index 6eaedb5d9ffa..3174bdbfbef2 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullIdAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5b36cce4d8b6440da9769a1e4abf1f94", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2bc02a0fa4fc7e01fd0f48f99cb2101a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:13:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2c377865-4f14-4ef4-8d29-7dd4abe13da2", + "x-ms-correlation-request-id": "886b911f-8ca6-47be-b1e8-930bef8411ef", "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "2c377865-4f14-4ef4-8d29-7dd4abe13da2", - "x-ms-routing-request-id": "WESTUS2:20210726T005126Z:2c377865-4f14-4ef4-8d29-7dd4abe13da2" + "x-ms-request-id": "886b911f-8ca6-47be-b1e8-930bef8411ef", + "x-ms-routing-request-id": "WESTUS:20210810T181311Z:886b911f-8ca6-47be-b1e8-930bef8411ef" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "293300777", + "RandomSeed": "628740702", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds.json index d997af2be39f..64e86463cb1c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "d1fb875a5285579edf3d1821cd46642f", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "077879469b549cf4d867c1a1482e7469", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:15 GMT", + "Date": "Tue, 10 Aug 2021 18:10:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6b5d932d-3405-4ba0-b4e2-926fa877d160", + "x-ms-correlation-request-id": "f5ba46b3-af17-480a-a116-9d34c79aee1d", "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "6b5d932d-3405-4ba0-b4e2-926fa877d160", - "x-ms-routing-request-id": "WESTUS2:20210726T005216Z:6b5d932d-3405-4ba0-b4e2-926fa877d160" + "x-ms-request-id": "f5ba46b3-af17-480a-a116-9d34c79aee1d", + "x-ms-routing-request-id": "WESTUS2:20210810T181037Z:f5ba46b3-af17-480a-a116-9d34c79aee1d" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "2096503466", + "RandomSeed": "635754083", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIdsAsync.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIdsAsync.json index e4a6bdd937e2..243109e481e2 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIdsAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5df048b56051266ed016766021651ef4", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b6076f99262d6a70c730caf6fe2bca7f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:13:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8562276d-4539-447a-9faa-32bb7f0264bc", + "x-ms-correlation-request-id": "d9b949c9-9d74-47ae-b90a-893af0913c0d", "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "8562276d-4539-447a-9faa-32bb7f0264bc", - "x-ms-routing-request-id": "WESTUS2:20210726T005126Z:8562276d-4539-447a-9faa-32bb7f0264bc" + "x-ms-request-id": "d9b949c9-9d74-47ae-b90a-893af0913c0d", + "x-ms-routing-request-id": "WESTUS:20210810T181312Z:d9b949c9-9d74-47ae-b90a-893af0913c0d" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "1356406201", + "RandomSeed": "973021660", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json deleted file mode 100644 index db7b8e35309e..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "2aa907ce87b7fb24b7c3375bf544f422", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5f238c9b-140d-4e58-be63-701b478bd122", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "5f238c9b-140d-4e58-be63-701b478bd122", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:5f238c9b-140d-4e58-be63-701b478bd122" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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" - } - } - } - ], - "Variables": { - "RandomSeed": "1468932213", - "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests.json index 83ee628336fb..c681df5a9bd3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "8f53a9e517d6796610db2498ee0aa671", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "11792d0ee0388b876ca6473f5937451c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:24 GMT", + "Date": "Tue, 10 Aug 2021 18:10:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3f5e1d57-3c30-45a4-bc49-9efbe150e7cd", + "x-ms-correlation-request-id": "c0b3bca1-ee49-44ab-ae2a-713112a71976", "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "3f5e1d57-3c30-45a4-bc49-9efbe150e7cd", - "x-ms-routing-request-id": "WESTUS2:20210726T005125Z:3f5e1d57-3c30-45a4-bc49-9efbe150e7cd" + "x-ms-request-id": "c0b3bca1-ee49-44ab-ae2a-713112a71976", + "x-ms-routing-request-id": "WESTUS2:20210810T181036Z:c0b3bca1-ee49-44ab-ae2a-713112a71976" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "1005163647", + "RandomSeed": "680198499", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTestsAsync.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTestsAsync.json index 527062c016dd..6ce199c5d8cd 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTestsAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "60080ba5a2ac8da3888d338db503af96", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f1a6779ba806b6c261cb6bf1a0f175f9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:24 GMT", + "Date": "Tue, 10 Aug 2021 18:13:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fe98ad84-d083-48bc-8935-0876f7b04395", + "x-ms-correlation-request-id": "6f96c7fc-2695-4331-aaf2-b73cb6f57417", "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "fe98ad84-d083-48bc-8935-0876f7b04395", - "x-ms-routing-request-id": "WESTUS2:20210726T005125Z:fe98ad84-d083-48bc-8935-0876f7b04395" + "x-ms-request-id": "6f96c7fc-2695-4331-aaf2-b73cb6f57417", + "x-ms-routing-request-id": "WESTUS:20210810T181310Z:6f96c7fc-2695-4331-aaf2-b73cb6f57417" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "1274569526", + "RandomSeed": "1869960016", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource.json similarity index 96% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource.json index 65dae9ab1137..40256d3281e0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "d9d4f9e773e1f4926221b6248fe6d67f", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "12d96bf6a6867cb7807ab5df490b444c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", + "Date": "Tue, 10 Aug 2021 18:10:35 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "51c0fbd5-6c51-44ff-a757-f6efa4a424b5", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "51c0fbd5-6c51-44ff-a757-f6efa4a424b5", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:51c0fbd5-6c51-44ff-a757-f6efa4a424b5" + "x-ms-correlation-request-id": "a2ef9c27-a230-4cb9-b3db-5a340f75c1da", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "a2ef9c27-a230-4cb9-b3db-5a340f75c1da", + "x-ms-routing-request-id": "WESTUS2:20210810T181036Z:a2ef9c27-a230-4cb9-b3db-5a340f75c1da" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,9 +51,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b868274196e00b40b8d91c5fe3deab86-aeb870211f96c74e-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "50b76f28d619e604b6f1153554fe8161", + "traceparent": "00-cfcb7a49b5cee7468aca896caaebc2fa-568b3d2f3a095f45-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d536b4bfefff3ff77b154c8b4f03136e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -62,15 +62,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", + "Date": "Tue, 10 Aug 2021 18:10:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6873301b-2bb1-4a17-b04f-f6bbf30a0ef7", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "6873301b-2bb1-4a17-b04f-f6bbf30a0ef7", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:6873301b-2bb1-4a17-b04f-f6bbf30a0ef7" + "x-ms-correlation-request-id": "d8c7204d-57c3-4baf-a77d-60b2e896aa86", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "d8c7204d-57c3-4baf-a77d-60b2e896aa86", + "x-ms-routing-request-id": "WESTUS2:20210810T181036Z:d8c7204d-57c3-4baf-a77d-60b2e896aa86" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1244,9 +1244,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b868274196e00b40b8d91c5fe3deab86-8ef2eff50eab2840-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "9ac66980cb80101e5fec3c01f035b843", + "traceparent": "00-cfcb7a49b5cee7468aca896caaebc2fa-e26c02454249014f-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f9e5d5ebc3621a765d66b621e1f42385", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1255,16 +1255,16 @@ "Cache-Control": "no-cache", "Content-Length": "97", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:14 GMT", + "Date": "Tue, 10 Aug 2021 18:10:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0556aa43-27d0-4e85-b0f4-d9c7e91c4cf6", + "x-ms-correlation-request-id": "14bb8b51-df55-4bdf-bb1a-2b088aa8ce74", "x-ms-failure-cause": "gateway", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "0556aa43-27d0-4e85-b0f4-d9c7e91c4cf6", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:0556aa43-27d0-4e85-b0f4-d9c7e91c4cf6" + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "14bb8b51-df55-4bdf-bb1a-2b088aa8ce74", + "x-ms-routing-request-id": "WESTUS2:20210810T181037Z:14bb8b51-df55-4bdf-bb1a-2b088aa8ce74" }, "ResponseBody": { "error": { @@ -1275,7 +1275,7 @@ } ], "Variables": { - "RandomSeed": "967810164", + "RandomSeed": "1211751211", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResourceAsync.json similarity index 96% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResourceAsync.json index ba1f73ca8a74..843669412519 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResourceAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "8452f61dcff28bd37c929efad100d5bf", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "036f0ccb22502d726446d7f8365908a5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:13:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "149095a3-41ff-4d7a-93ae-0a4779cb384c", + "x-ms-correlation-request-id": "75e30237-c3ab-49b9-8c53-22fabae609f4", "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "149095a3-41ff-4d7a-93ae-0a4779cb384c", - "x-ms-routing-request-id": "WESTUS2:20210726T005125Z:149095a3-41ff-4d7a-93ae-0a4779cb384c" + "x-ms-request-id": "75e30237-c3ab-49b9-8c53-22fabae609f4", + "x-ms-routing-request-id": "WESTUS:20210810T181310Z:75e30237-c3ab-49b9-8c53-22fabae609f4" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,9 +51,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-82742884b6638d45bc5da695bf7bce97-533b27271e871f47-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "cd5989a57a2d5d59af0831da884c949a", + "traceparent": "00-dbc2c0c785671f438b38781da2a7d997-b70264da0ca1084b-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8713e0cc1cd6a4fd8c09354efa346bd7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -62,15 +62,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:13:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "41a39120-cb37-464c-ab43-a78abb535de9", + "x-ms-correlation-request-id": "0e15f6b7-a54a-402b-8022-de55cde2d7ff", "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "41a39120-cb37-464c-ab43-a78abb535de9", - "x-ms-routing-request-id": "WESTUS2:20210726T005125Z:41a39120-cb37-464c-ab43-a78abb535de9" + "x-ms-request-id": "0e15f6b7-a54a-402b-8022-de55cde2d7ff", + "x-ms-routing-request-id": "WESTUS:20210810T181311Z:0e15f6b7-a54a-402b-8022-de55cde2d7ff" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1244,9 +1244,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-82742884b6638d45bc5da695bf7bce97-bef6603a9a5b4e4e-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "256cf19cc1d06814db6a73585db96cf0", + "traceparent": "00-dbc2c0c785671f438b38781da2a7d997-e1ae36207b355e4f-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "30a9f1dd9a2e3aed2360deb00d4ee272", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1255,16 +1255,16 @@ "Cache-Control": "no-cache", "Content-Length": "97", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:13:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8bc224a7-9458-4068-9f74-163683b4bda2", + "x-ms-correlation-request-id": "fedcc479-b6f1-4216-9784-ce200810a024", "x-ms-failure-cause": "gateway", "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "8bc224a7-9458-4068-9f74-163683b4bda2", - "x-ms-routing-request-id": "WESTUS2:20210726T005125Z:8bc224a7-9458-4068-9f74-163683b4bda2" + "x-ms-request-id": "fedcc479-b6f1-4216-9784-ce200810a024", + "x-ms-routing-request-id": "WESTUS:20210810T181311Z:fedcc479-b6f1-4216-9784-ce200810a024" }, "ResponseBody": { "error": { @@ -1275,7 +1275,7 @@ } ], "Variables": { - "RandomSeed": "960719231", + "RandomSeed": "905069401", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource.json similarity index 95% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource.json index 4bf68b1d9e3e..f2dff52f398d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "abef9890c604fa01edaf32ba52b3ded4", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3a752ce9cf15097c0e3f5a4864f9364e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:12:20 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "49d1c5a3-4cab-46b0-b271-6d8e10d78064", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "49d1c5a3-4cab-46b0-b271-6d8e10d78064", - "x-ms-routing-request-id": "WESTUS2:20210726T005126Z:49d1c5a3-4cab-46b0-b271-6d8e10d78064" + "x-ms-correlation-request-id": "f6c2da2b-fcb9-461e-8863-e40d145ade5f", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "f6c2da2b-fcb9-461e-8863-e40d145ade5f", + "x-ms-routing-request-id": "WESTUS2:20210810T181221Z:f6c2da2b-fcb9-461e-8863-e40d145ade5f" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,9 +51,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d58b1b4a6f55e94d860cb950ceb0de83-da863c52a09d9648-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f22e9a4c4b34bdbb899aaf6bacfa7af3", + "traceparent": "00-bcae47c24fb6114988527af6b92efd53-a37a91828c6c6546-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8ea9528fc941fe4764b795401df80fcf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -62,15 +62,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:12:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fde161e5-470e-42b2-afc5-30a4df087173", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "fde161e5-470e-42b2-afc5-30a4df087173", - "x-ms-routing-request-id": "WESTUS2:20210726T005126Z:fde161e5-470e-42b2-afc5-30a4df087173" + "x-ms-correlation-request-id": "ae8963c6-e8b2-4b0a-a1b4-296934ff0740", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "ae8963c6-e8b2-4b0a-a1b4-296934ff0740", + "x-ms-routing-request-id": "WESTUS2:20210810T181221Z:ae8963c6-e8b2-4b0a-a1b4-296934ff0740" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1244,9 +1244,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d58b1b4a6f55e94d860cb950ceb0de83-33820b72179f6e4e-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "8de05a5389b3607407763250aa5af357", + "traceparent": "00-bcae47c24fb6114988527af6b92efd53-d4c87e8ad6181942-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4f0d8dc94c26ccdcfb208f7572416e32", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1255,15 +1255,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:25 GMT", + "Date": "Tue, 10 Aug 2021 18:12:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "84fbd74e-d0d6-44b4-a0b5-d241791b31d8", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "84fbd74e-d0d6-44b4-a0b5-d241791b31d8", - "x-ms-routing-request-id": "WESTUS2:20210726T005126Z:84fbd74e-d0d6-44b4-a0b5-d241791b31d8" + "x-ms-correlation-request-id": "b97c1c33-615b-4492-b768-93738c99d2dd", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "b97c1c33-615b-4492-b768-93738c99d2dd", + "x-ms-routing-request-id": "WESTUS2:20210810T181221Z:b97c1c33-615b-4492-b768-93738c99d2dd" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", @@ -1278,7 +1278,7 @@ } ], "Variables": { - "RandomSeed": "1768768755", + "RandomSeed": "1517055720", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResourceAsync.json similarity index 96% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResourceAsync.json index d21501557932..80a4a4cb6691 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResourceAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "b951bc0c279a2c2239922c8cacec9003", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7d9538f6b8d2849252b0c93003102ebd", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:15 GMT", + "Date": "Tue, 10 Aug 2021 18:13:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b1609d57-8ec4-4bbb-b81e-ff9d74ab9aa5", + "x-ms-correlation-request-id": "3c61cbda-1ec7-4252-9c55-89624330213a", "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "b1609d57-8ec4-4bbb-b81e-ff9d74ab9aa5", - "x-ms-routing-request-id": "WESTUS2:20210726T005215Z:b1609d57-8ec4-4bbb-b81e-ff9d74ab9aa5" + "x-ms-request-id": "3c61cbda-1ec7-4252-9c55-89624330213a", + "x-ms-routing-request-id": "WESTUS:20210810T181311Z:3c61cbda-1ec7-4252-9c55-89624330213a" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,9 +51,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-3c4fa3301805864f8cf572e02b27a59d-082d9d63cbaa4d4f-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "395be66455874f1669c2f12b31a91758", + "traceparent": "00-bbf530fc0723ab4bb88ba0afbb6fd26a-210657c5bf456743-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "97b58e6e527bbdcf56477c299f162a8f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -62,15 +62,15 @@ "Cache-Control": "no-cache", "Content-Length": "16481", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:15 GMT", + "Date": "Tue, 10 Aug 2021 18:13:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4cfa120c-949d-4057-86a4-399fe2e1bb39", + "x-ms-correlation-request-id": "d9d5ccd4-c233-468b-ac40-e31746bee87d", "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "4cfa120c-949d-4057-86a4-399fe2e1bb39", - "x-ms-routing-request-id": "WESTUS2:20210726T005216Z:4cfa120c-949d-4057-86a4-399fe2e1bb39" + "x-ms-request-id": "d9d5ccd4-c233-468b-ac40-e31746bee87d", + "x-ms-routing-request-id": "WESTUS:20210810T181311Z:d9d5ccd4-c233-468b-ac40-e31746bee87d" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1244,9 +1244,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-3c4fa3301805864f8cf572e02b27a59d-4c548c2bc066754a-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "22e807d2e26ee2084a54a792c274842f", + "traceparent": "00-bbf530fc0723ab4bb88ba0afbb6fd26a-1ee534cc71189243-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0ea13a73a6933adb48d08e8912a358f5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1255,15 +1255,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:15 GMT", + "Date": "Tue, 10 Aug 2021 18:13:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "276d9527-3537-4780-aac7-9f23030f9ca6", + "x-ms-correlation-request-id": "b47290ad-f4b5-4277-be6d-84e1d5e53775", "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "276d9527-3537-4780-aac7-9f23030f9ca6", - "x-ms-routing-request-id": "WESTUS2:20210726T005216Z:276d9527-3537-4780-aac7-9f23030f9ca6" + "x-ms-request-id": "b47290ad-f4b5-4277-be6d-84e1d5e53775", + "x-ms-routing-request-id": "WESTUS:20210810T181311Z:b47290ad-f4b5-4277-be6d-84e1d5e53775" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", @@ -1278,7 +1278,7 @@ } ], "Variables": { - "RandomSeed": "234803832", + "RandomSeed": "1129862751", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests().json deleted file mode 100644 index e17233ff99d5..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests().json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "9a3a1de13593d44a71c3d5f3bc5e683e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:26 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "af0508ac-777a-4264-abdd-4eb60cadb0fd", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "af0508ac-777a-4264-abdd-4eb60cadb0fd", - "x-ms-routing-request-id": "WESTUS2:20210726T005127Z:af0508ac-777a-4264-abdd-4eb60cadb0fd" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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" - } - } - } - ], - "Variables": { - "RandomSeed": "1977607695", - "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests.json index 8753b5f172ae..771a3904e854 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "b1724a7f043f8f2db6a68e89e04c1eb4", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "07d2b72e5ea28d25ec332f422e017499", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:15 GMT", + "Date": "Tue, 10 Aug 2021 18:10:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ebfe9ac9-9fb3-4ce8-b7f5-7f8fc21f7cb0", + "x-ms-correlation-request-id": "3dace2e7-62ab-4054-b6f7-c7340102ef8f", "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "ebfe9ac9-9fb3-4ce8-b7f5-7f8fc21f7cb0", - "x-ms-routing-request-id": "WESTUS2:20210726T005216Z:ebfe9ac9-9fb3-4ce8-b7f5-7f8fc21f7cb0" + "x-ms-request-id": "3dace2e7-62ab-4054-b6f7-c7340102ef8f", + "x-ms-routing-request-id": "WESTUS2:20210810T181037Z:3dace2e7-62ab-4054-b6f7-c7340102ef8f" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "1363497134", + "RandomSeed": "1167306795", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTestsAsync.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTestsAsync.json index 3fef7a390a6a..b55171d87106 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTests()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/GetGenericResourcesOperationsTestsAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "357170750c0ffc2170f3188efaa79fd8", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "840fdb7624ea1c80aefe41f8799bf187", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:15 GMT", + "Date": "Tue, 10 Aug 2021 18:13:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d32bcae2-5fc1-4383-a866-00987d907ba1", + "x-ms-correlation-request-id": "61f6a0d2-592f-458a-b577-9bcb9e9e1c01", "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "d32bcae2-5fc1-4383-a866-00987d907ba1", - "x-ms-routing-request-id": "WESTUS2:20210726T005216Z:d32bcae2-5fc1-4383-a866-00987d907ba1" + "x-ms-request-id": "61f6a0d2-592f-458a-b577-9bcb9e9e1c01", + "x-ms-routing-request-id": "WESTUS:20210810T181312Z:61f6a0d2-592f-458a-b577-9bcb9e9e1c01" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "880551783", + "RandomSeed": "1736458655", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck()Async.json deleted file mode 100644 index 9f48c6a60413..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck()Async.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "053e3b04d40dba15c7a3dd5c371ad85e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:52:15 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8df911fe-75e5-4413-a485-5c4b9d9f3bb5", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "8df911fe-75e5-4413-a485-5c4b9d9f3bb5", - "x-ms-routing-request-id": "WESTUS2:20210726T005216Z:8df911fe-75e5-4413-a485-5c4b9d9f3bb5" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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" - } - } - } - ], - "Variables": { - "RandomSeed": "2041229862", - "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck.json new file mode 100644 index 000000000000..bd2b684db7a3 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6980fea57e86c6528beabe0394689aba", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 18:09:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "edf1256f-8913-41a1-b6e5-298238aaab5d", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "edf1256f-8913-41a1-b6e5-298238aaab5d", + "x-ms-routing-request-id": "WESTUS2:20210810T180926Z:edf1256f-8913-41a1-b6e5-298238aaab5d" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "1746004530", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheckAsync.json similarity index 78% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheckAsync.json index fb0061bf60a8..f915156c6e43 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheck().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ArmClientTests/TestArmClientParamCheckAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210725.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "33c69a93f85bebf3c5f940f97a9e731c", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b04e59c44f78de514c58b99cf7bce8aa", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 26 Jul 2021 00:51:26 GMT", + "Date": "Tue, 10 Aug 2021 18:13:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b5e57b34-f3ff-4ab8-a550-cb0c9d57011d", + "x-ms-correlation-request-id": "fe1448d3-7c3f-4d69-9acd-cc36aa186786", "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "b5e57b34-f3ff-4ab8-a550-cb0c9d57011d", - "x-ms-routing-request-id": "WESTUS2:20210726T005127Z:b5e57b34-f3ff-4ab8-a550-cb0c9d57011d" + "x-ms-request-id": "fe1448d3-7c3f-4d69-9acd-cc36aa186786", + "x-ms-routing-request-id": "WESTUS:20210810T181312Z:fe1448d3-7c3f-4d69-9acd-cc36aa186786" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ } ], "Variables": { - "RandomSeed": "168997273", + "RandomSeed": "55198516", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/FeatureOperationsTests/NoDataValidation.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/FeatureOperationsTests/NoDataValidation.json new file mode 100644 index 000000000000..cab006f2abcb --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/FeatureOperationsTests/NoDataValidation.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210806.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "bde8c9ce3db6d9fbd4b4a1f33b822258", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 17:17:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9fe8ddbd-558d-4106-b023-91c0a1e4502f", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "9fe8ddbd-558d-4106-b023-91c0a1e4502f", + "x-ms-routing-request-id": "WESTUS2:20210809T171721Z:9fe8ddbd-558d-4106-b023-91c0a1e4502f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "1891552855", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Update()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceContainerTests/ListWithExpand().json similarity index 81% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Update()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceContainerTests/ListWithExpand().json index 0f309c28776c..61716e9e76bb 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Update()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceContainerTests/ListWithExpand().json @@ -6,9 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-aa5adcdb43f70e42bbe95780448333e8-54db01ee4f244e4a-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e0ed93493f62d037b3079715a40f4aa2", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8f9df496c973d8d962b335f6ce84011c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:32 GMT", + "Date": "Mon, 09 Aug 2021 18:01:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "419f09ce-7d96-4691-817a-7f6748c410da", - "x-ms-ratelimit-remaining-subscription-reads": "11928", - "x-ms-request-id": "419f09ce-7d96-4691-817a-7f6748c410da", - "x-ms-routing-request-id": "WESTUS:20210712T223532Z:419f09ce-7d96-4691-817a-7f6748c410da" + "x-ms-correlation-request-id": "a8e0c92c-2eed-488b-89fe-b7b2267fce48", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "a8e0c92c-2eed-488b-89fe-b7b2267fce48", + "x-ms-routing-request-id": "WESTUS2:20210809T180117Z:a8e0c92c-2eed-488b-89fe-b7b2267fce48" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,16 +46,15 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testrg9445?api-version=2019-10-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testrg9270?api-version=2019-10-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "32", "Content-Type": "application/json", - "traceparent": "00-ae632babfe136e4bb4de0f2a17a17133-4867391cb1a8eb45-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "574a3a0a69c1d044aece24a6d0e7d0e4", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e0d08900f935f012568fb8b0223a14c0", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -68,19 +66,19 @@ "Cache-Control": "no-cache", "Content-Length": "228", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:33 GMT", + "Date": "Mon, 09 Aug 2021 18:01:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8ca25bf8-ec65-42be-bb64-6e816d9b884b", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "8ca25bf8-ec65-42be-bb64-6e816d9b884b", - "x-ms-routing-request-id": "WESTUS:20210712T223534Z:8ca25bf8-ec65-42be-bb64-6e816d9b884b" + "x-ms-correlation-request-id": "acc286bf-7db8-43dc-9d26-77c821c95679", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "acc286bf-7db8-43dc-9d26-77c821c95679", + "x-ms-routing-request-id": "WESTUS2:20210809T180117Z:acc286bf-7db8-43dc-9d26-77c821c95679" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9445", - "name": "testrg9445", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9270", + "name": "testrg9270", "type": "Microsoft.Resources/resourceGroups", "location": "westus2", "tags": {}, @@ -95,26 +93,25 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-7cc4c48c6efcb74287f95858cee0c564-4ab4628dcbd80c4a-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ae2e4b5a381fb5e427f56524a0036dd1", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4f43c9dee7646502ecf1df2af79ef0cc", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "54667", + "Content-Length": "54810", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:34 GMT", + "Date": "Mon, 09 Aug 2021 18:01:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f4a11e3b-ec6f-4065-a0f0-76e99ac78589", - "x-ms-ratelimit-remaining-subscription-reads": "11936", - "x-ms-request-id": "f4a11e3b-ec6f-4065-a0f0-76e99ac78589", - "x-ms-routing-request-id": "WESTUS:20210712T223534Z:f4a11e3b-ec6f-4065-a0f0-76e99ac78589" + "x-ms-correlation-request-id": "7f768d82-ec20-4924-8e69-e0f094550c0f", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "7f768d82-ec20-4924-8e69-e0f094550c0f", + "x-ms-routing-request-id": "WESTUS2:20210809T180117Z:7f768d82-ec20-4924-8e69-e0f094550c0f" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", @@ -1816,6 +1813,9 @@ "resourceType": "locations/edgeZones", "locations": [], "apiVersions": [ + "2021-07-01", + "2021-04-01", + "2021-03-01", "2020-12-01" ], "capabilities": "None" @@ -1860,6 +1860,9 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", + "2021-04-01", + "2021-03-01", "2020-12-01" ], "capabilities": "None" @@ -2453,6 +2456,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2503,6 +2507,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2553,6 +2558,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2603,6 +2609,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2653,6 +2660,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -4223,16 +4231,118 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9445/providers/Microsoft.Compute/availabilitySets/test-aset9967?api-version=2021-07-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9270/providers/Microsoft.Compute/availabilitySets/test-aset790?api-version=2021-07-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "131", "Content-Type": "application/json", - "traceparent": "00-7cc4c48c6efcb74287f95858cee0c564-b013d0df8b510045-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "768ab4768866a82910b3711229e220c7", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3126ae9a61938bfa9f1d3921273f7921", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 2 + }, + "sku": { + "name": "Aligned" + }, + "location": "westus2", + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "406", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 18:01: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": "3126ae9a61938bfa9f1d3921273f7921", + "x-ms-correlation-request-id": "d6158e09-ba9e-4f82-87e0-a9478ec47d8c", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1199", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "1ec97500-95c6-47d3-859c-b1e65646b623", + "x-ms-routing-request-id": "WESTUS2:20210809T180118Z:d6158e09-ba9e-4f82-87e0-a9478ec47d8c" + }, + "ResponseBody": [ + "{\r\n", + " \u0022name\u0022: \u0022test-aset790\u0022,\r\n", + " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9270/providers/Microsoft.Compute/availabilitySets/test-aset790\u0022,\r\n", + " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", + " \u0022location\u0022: \u0022westus2\u0022,\r\n", + " \u0022tags\u0022: {},\r\n", + " \u0022properties\u0022: {\r\n", + " \u0022platformUpdateDomainCount\u0022: 5,\r\n", + " \u0022platformFaultDomainCount\u0022: 2\r\n", + " },\r\n", + " \u0022sku\u0022: {\r\n", + " \u0022name\u0022: \u0022Aligned\u0022\r\n", + " }\r\n", + "}" + ] + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testrg5374?api-version=2019-10-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "32", + "Content-Type": "application/json", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ed8b88e4ad8fce7cb8b047aee13dac78", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "location": "westus2", + "tags": {} + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 18:01:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "edc38b18-6fe0-42af-a5c2-cf533da18ea2", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "edc38b18-6fe0-42af-a5c2-cf533da18ea2", + "x-ms-routing-request-id": "WESTUS2:20210809T180118Z:edc38b18-6fe0-42af-a5c2-cf533da18ea2" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5374", + "name": "testrg5374", + "type": "Microsoft.Resources/resourceGroups", + "location": "westus2", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5374/providers/Microsoft.Compute/availabilitySets/test-aset3451?api-version=2021-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b8f86af5fdf38412641818f258d9be48", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -4251,7 +4361,7 @@ "Cache-Control": "no-cache", "Content-Length": "408", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:35 GMT", + "Date": "Mon, 09 Aug 2021 18:01:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4260,17 +4370,17 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-client-request-id": "768ab4768866a82910b3711229e220c7", - "x-ms-correlation-request-id": "14cabab8-e179-4411-ac2f-8cf809cc3e7b", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;171,Microsoft.Compute/PutVM30Min;1131", - "x-ms-ratelimit-remaining-subscription-writes": "1179", - "x-ms-request-id": "bbbd4dee-0b64-4c1a-972e-bdf1d7ce45bb", - "x-ms-routing-request-id": "WESTUS:20210712T223536Z:14cabab8-e179-4411-ac2f-8cf809cc3e7b" + "x-ms-client-request-id": "b8f86af5fdf38412641818f258d9be48", + "x-ms-correlation-request-id": "a27f49f1-0786-4c76-83ac-242301082b9e", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1198", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "08323b82-4260-4e82-bb5d-819b5f07ab28", + "x-ms-routing-request-id": "WESTUS2:20210809T180118Z:a27f49f1-0786-4c76-83ac-242301082b9e" }, "ResponseBody": [ "{\r\n", - " \u0022name\u0022: \u0022test-aset9967\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9445/providers/Microsoft.Compute/availabilitySets/test-aset9967\u0022,\r\n", + " \u0022name\u0022: \u0022test-aset3451\u0022,\r\n", + " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5374/providers/Microsoft.Compute/availabilitySets/test-aset3451\u0022,\r\n", " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", " \u0022location\u0022: \u0022westus2\u0022,\r\n", " \u0022tags\u0022: {},\r\n", @@ -4285,31 +4395,30 @@ ] }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime\u0026api-version=2019-10-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ce5da07662cfe64482e4a0e10ae8ec0d-1f764a9dae3c8c44-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "325ad4b76d46d2f221869e6cc7d28b45", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f4cf748f0ef88bf078682a9564dc5fd6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17960", + "Content-Length": "11795", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:35 GMT", + "Date": "Mon, 09 Aug 2021 18:01:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4ed4db06-7777-4cbd-a9b5-2d62a6d3aaef", - "x-ms-ratelimit-remaining-subscription-reads": "11935", - "x-ms-request-id": "4ed4db06-7777-4cbd-a9b5-2d62a6d3aaef", - "x-ms-routing-request-id": "WESTUS:20210712T223536Z:4ed4db06-7777-4cbd-a9b5-2d62a6d3aaef" + "x-ms-correlation-request-id": "37768d35-46ec-4b48-912e-7d39044ed603", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "37768d35-46ec-4b48-912e-7d39044ed603", + "x-ms-routing-request-id": "WESTUS2:20210809T180118Z:37768d35-46ec-4b48-912e-7d39044ed603" }, "ResponseBody": { "value": [ @@ -4318,36 +4427,28 @@ "name": "ema7925a82c", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" + "createdTime": "2015-02-20T19:43:15.0632092Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", "name": "portalvhds3285b8sydlcm1", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" + "createdTime": "2014-05-24T04:55:36.974557Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", "name": "storagetestghqqxrrqnr", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" + "createdTime": "2014-10-23T23:54:52.3824535Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", "name": "portalvhds2wdcfvkv5phc9", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" + "createdTime": "2014-05-24T04:55:34.6927361Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", @@ -4355,8 +4456,6 @@ "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "westus2", "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", "tags": {} }, { @@ -4365,8 +4464,6 @@ "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", "tags": {} }, { @@ -4375,8 +4472,6 @@ "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "westus", "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", "tags": {} }, { @@ -4389,588 +4484,749 @@ "type": "None" }, "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", "tags": { "defaultExperience": "Azure Cosmos DB for MongoDB API", "hidden-cosmos-mmspecial": "" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus2", + "name": "AzSecPackAutoConfigUA-eastus2", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "eastus2", + "createdTime": "2021-07-19T07:49:19.9955718Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/components/track2mlappinsight", + "name": "track2mlappinsight", + "type": "microsoft.insights/components", + "kind": "web", "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-05T08:22:29.2001751Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.KeyVault/vaults/track2mltestkeyvault", + "name": "track2mltestkeyvault", + "type": "Microsoft.KeyVault/vaults", + "location": "westus2", + "createdTime": "2021-08-05T08:23:50.7906578Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.Storage/storageAccounts/track2mlstorage", + "name": "track2mlstorage", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_LRS", + "tier": "Standard" }, + "kind": "StorageV2", "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-05T08:26:30.047889Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.ContainerRegistry/registries/track2mlacr", + "name": "track2mlacr", + "type": "Microsoft.ContainerRegistry/registries", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-05T08:27:48.4577997Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/actiongroups/Application Insights Smart Detection", + "name": "Application Insights Smart Detection", + "type": "microsoft.insights/actiongroups", + "location": "global", + "createdTime": "2021-08-05T08:32:43.8569531Z" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.alertsmanagement/smartDetectorAlertRules/Failure Anomalies - track2mlappinsight", + "name": "Failure Anomalies - track2mlappinsight", + "type": "microsoft.alertsmanagement/smartDetectorAlertRules", + "location": "global", + "createdTime": "2021-08-05T08:32:45.3526028Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations874/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "7c450693-45d2-4b0c-9cb8-87c48c0e8b58", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T02:28:11.9393591Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations468/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "ef2e32b1-ff22-4422-9186-265a8b545a39", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T02:32:12.2614665Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1982/providers/Microsoft.Storage/storageAccounts/aaa1229", + "name": "aaa1229", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T06:24:45.524037Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2856/providers/Microsoft.Storage/storageAccounts/aaa9996", + "name": "aaa9996", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T06:34:10.1726467Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-971/providers/Microsoft.Storage/storageAccounts/aaa9634", + "name": "aaa9634", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T06:45:58.8129464Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4197/providers/Microsoft.Storage/storageAccounts/aaa5198", + "name": "aaa5198", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T07:14:09.6864157Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5702/providers/Microsoft.Storage/storageAccounts/teststorage5522", + "name": "teststorage5522", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T07:35:58.6946875Z", + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4101/providers/Microsoft.Storage/storageAccounts/teststorage1208", + "name": "teststorage1208", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T08:55:03.5139334Z", + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations8653/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "a4a72e22-1946-40e2-8e3e-5ab2ba2a2e36", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T13:41:10.2195317Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations2816/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "77e751ff-874c-48e8-bac3-2cbf7813c646", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T13:44:19.9716149Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations4230/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "a8d935d3-a089-4bc1-8c33-be4b56356e3d", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T15:18:16.2330914Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations8203/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "52d8c054-b1fd-4784-899c-05be8f26e3c0", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T15:19:24.2343186Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9270/providers/Microsoft.Compute/availabilitySets/test-aset790", + "name": "test-aset790", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-09T18:01:18.0661458Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5374/providers/Microsoft.Compute/availabilitySets/test-aset3451", + "name": "test-aset3451", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-09T18:01:18.7038326Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup", + "name": "cleanupResourcegroup", + "type": "Microsoft.Automation/automationAccounts", + "location": "eastus2", + "createdTime": "2021-08-02T08:50:19.4622473Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup/runbooks/cleanupRunbook", + "name": "cleanupResourcegroup/cleanupRunbook", + "type": "Microsoft.Automation/automationAccounts/runbooks", + "location": "eastus2", + "createdTime": "2021-08-02T09:03:10.4838434Z", + "tags": {} + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=changedTime%2CprovisioningState\u0026api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f98866888af44f8b8acf4fd30fbd9279", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "12789", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 18:01:18 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "deb38816-1a2f-463c-8835-ee7e0e13b8b4", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "deb38816-1a2f-463c-8835-ee7e0e13b8b4", + "x-ms-routing-request-id": "WESTUS2:20210809T180118Z:deb38816-1a2f-463c-8835-ee7e0e13b8b4" + }, + "ResponseBody": { + "value": [ + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", + "name": "ema7925a82c", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "westus", + "changedTime": "2021-07-12T11:11:34.9848325Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", + "name": "portalvhds3285b8sydlcm1", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "eastus", + "changedTime": "2021-07-12T13:11:37.9698445Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", + "name": "storagetestghqqxrrqnr", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "eastasia", + "changedTime": "2021-07-12T11:11:41.8364976Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", + "name": "portalvhds2wdcfvkv5phc9", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "westus", + "changedTime": "2021-07-12T11:11:39.8951663Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", + "name": "AzSecPackAutoConfigUA-westus2", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", + "changedTime": "2021-03-18T22:05:38.7997788Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", + "name": "AzSecPackAutoConfigUA-eastus", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "eastus", + "changedTime": "2021-04-27T07:24:53.4570423Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", + "name": "AzSecPackAutoConfigUA-westus", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "westus", + "changedTime": "2021-06-17T22:42:48.1625939Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", + "name": "sdkcodegen", + "type": "Microsoft.DocumentDb/databaseAccounts", + "kind": "MongoDB", + "location": "westus", + "identity": { + "type": "None" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:16.5705084Z", + "changedTime": "2021-07-07T07:03:04.9723107Z", "provisioningState": "Succeeded", "tags": { - "key": "value" + "defaultExperience": "Azure Cosmos DB for MongoDB API", + "hidden-cosmos-mmspecial": "" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset4461", - "name": "test-aset4461", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus2", + "name": "AzSecPackAutoConfigUA-eastus2", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "eastus2", + "changedTime": "2021-07-19T07:59:26.2352389Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/components/track2mlappinsight", + "name": "track2mlappinsight", + "type": "microsoft.insights/components", + "kind": "web", "location": "westus2", - "createdTime": "2021-07-12T22:35:15.3435773Z", - "changedTime": "2021-07-12T22:35:15.7934685Z", + "changedTime": "2021-08-05T08:32:38.1279741Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset3357", - "name": "test-aset3357", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.KeyVault/vaults/track2mltestkeyvault", + "name": "track2mltestkeyvault", + "type": "Microsoft.KeyVault/vaults", "location": "westus2", - "createdTime": "2021-07-12T22:35:16.1246705Z", - "changedTime": "2021-07-12T22:35:16.5998399Z", + "changedTime": "2021-08-05T08:33:56.9954341Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset6019", - "name": "test-aset6019", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.Storage/storageAccounts/track2mlstorage", + "name": "track2mlstorage", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_LRS", + "tier": "Standard" }, + "kind": "StorageV2", "location": "westus2", - "createdTime": "2021-07-12T22:35:16.4545024Z", - "changedTime": "2021-07-12T22:35:16.9005606Z", + "changedTime": "2021-08-05T08:37:07.5078969Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457", - "name": "test-aset6457", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.ContainerRegistry/registries/track2mlacr", + "name": "track2mlacr", + "type": "Microsoft.ContainerRegistry/registries", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:16.6846369Z", - "changedTime": "2021-07-12T22:35:19.0599999Z", + "changedTime": "2021-08-05T08:37:52.9025663Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset4614", - "name": "test-aset4614", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/actiongroups/Application Insights Smart Detection", + "name": "Application Insights Smart Detection", + "type": "microsoft.insights/actiongroups", + "location": "global", + "changedTime": "2021-08-05T08:42:44.6571561Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.alertsmanagement/smartDetectorAlertRules/Failure Anomalies - track2mlappinsight", + "name": "Failure Anomalies - track2mlappinsight", + "type": "microsoft.alertsmanagement/smartDetectorAlertRules", + "location": "global", + "changedTime": "2021-08-05T08:42:46.9826961Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations874/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:17.6726885Z", - "changedTime": "2021-07-12T22:35:18.1501326Z", + "identity": { + "principalId": "7c450693-45d2-4b0c-9cb8-87c48c0e8b58", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T02:38:37.6839578Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1144/providers/Microsoft.Compute/availabilitySets/test-aset6937", - "name": "test-aset6937", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations468/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:18.0805643Z", - "changedTime": "2021-07-12T22:35:18.5242545Z", + "identity": { + "principalId": "ef2e32b1-ff22-4422-9186-265a8b545a39", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T02:43:29.7697384Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5925/providers/Microsoft.Compute/availabilitySets/test-aset360", - "name": "test-aset360", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1982/providers/Microsoft.Storage/storageAccounts/aaa1229", + "name": "aaa1229", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:19.8307393Z", - "changedTime": "2021-07-12T22:35:20.2900404Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T06:35:13.6276767Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6374/providers/Microsoft.Compute/availabilitySets/test-aset5069", - "name": "test-aset5069", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2856/providers/Microsoft.Storage/storageAccounts/aaa9996", + "name": "aaa9996", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:22.7203564Z", - "changedTime": "2021-07-12T22:35:23.1761653Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T06:44:40.626445Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6377/providers/Microsoft.Compute/availabilitySets/test-aset9023", - "name": "test-aset9023", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-971/providers/Microsoft.Storage/storageAccounts/aaa9634", + "name": "aaa9634", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:23.8634822Z", - "changedTime": "2021-07-12T22:35:26.7124832Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T06:56:28.8662363Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8472/providers/Microsoft.Compute/availabilitySets/test-aset7846", - "name": "test-aset7846", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4197/providers/Microsoft.Storage/storageAccounts/aaa5198", + "name": "aaa5198", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:24.0879677Z", - "changedTime": "2021-07-12T22:35:24.5333857Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T07:24:38.8714581Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3934/providers/Microsoft.Compute/availabilitySets/test-aset4013", - "name": "test-aset4013", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5702/providers/Microsoft.Storage/storageAccounts/teststorage5522", + "name": "teststorage5522", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:25.1960009Z", - "changedTime": "2021-07-12T22:35:29.2418126Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T07:46:26.8281065Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758", - "name": "test-aset2758", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4101/providers/Microsoft.Storage/storageAccounts/teststorage1208", + "name": "teststorage1208", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:25.2990585Z", - "changedTime": "2021-07-12T22:35:27.0221818Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T09:05:33.6998018Z", "provisioningState": "Succeeded", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1674/providers/Microsoft.Compute/availabilitySets/test-aset2660", - "name": "test-aset2660", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations8653/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:26.519006Z", - "changedTime": "2021-07-12T22:35:26.9769439Z", + "identity": { + "principalId": "a4a72e22-1946-40e2-8e3e-5ab2ba2a2e36", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T13:51:37.5981482Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585/providers/Microsoft.Compute/availabilitySets/test-aset5689", - "name": "test-aset5689", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations2816/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:28.7372429Z", - "changedTime": "2021-07-12T22:35:30.5375091Z", + "identity": { + "principalId": "77e751ff-874c-48e8-bac3-2cbf7813c646", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T13:55:40.2073665Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3687/providers/Microsoft.Compute/availabilitySets/test-aset2941", - "name": "test-aset2941", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations4230/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:30.7005465Z", - "changedTime": "2021-07-12T22:35:32.6481109Z", + "identity": { + "principalId": "a8d935d3-a089-4bc1-8c33-be4b56356e3d", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T15:28:48.9182576Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2678/providers/Microsoft.Compute/availabilitySets/test-aset8446", - "name": "test-aset8446", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations8203/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:31.8146484Z", - "changedTime": "2021-07-12T22:35:33.0538678Z", + "identity": { + "principalId": "52d8c054-b1fd-4784-899c-05be8f26e3c0", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T15:29:57.4508649Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2426/providers/Microsoft.Compute/availabilitySets/test-aset6283", - "name": "test-aset6283", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9270/providers/Microsoft.Compute/availabilitySets/test-aset790", + "name": "test-aset790", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:32.6911866Z", - "changedTime": "2021-07-12T22:35:35.8719375Z", + "changedTime": "2021-08-09T18:01:18.259998Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9445/providers/Microsoft.Compute/availabilitySets/test-aset9967", - "name": "test-aset9967", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5374/providers/Microsoft.Compute/availabilitySets/test-aset3451", + "name": "test-aset3451", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:35.24467Z", - "changedTime": "2021-07-12T22:35:35.6926166Z", + "changedTime": "2021-08-09T18:01:18.7832014Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup", + "name": "cleanupResourcegroup", + "type": "Microsoft.Automation/automationAccounts", + "location": "eastus2", + "changedTime": "2021-08-02T09:00:20.8857725Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup/runbooks/cleanupRunbook", + "name": "cleanupResourcegroup/cleanupRunbook", + "type": "Microsoft.Automation/automationAccounts/runbooks", + "location": "eastus2", + "changedTime": "2021-08-02T09:13:17.2320444Z", "provisioningState": "Succeeded", "tags": {} } ] } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9445/providers/Microsoft.Compute/availabilitySets/test-aset9967?api-version=2021-07-01", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "144", - "Content-Type": "application/json", - "traceparent": "00-b5b6ab989d9b334ebd70c178fbc19f50-02a2eced4d705c4c-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "55f29dd56e4e8e5dca8711c3eeb6c863", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": { - "key": "value" - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "432", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "55f29dd56e4e8e5dca8711c3eeb6c863", - "x-ms-correlation-request-id": "efb794ef-4f35-482b-a2ef-0bb8e907ea54", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;168,Microsoft.Compute/PutVM30Min;1128", - "x-ms-ratelimit-remaining-subscription-writes": "1178", - "x-ms-request-id": "5c04d29f-68bc-4f0f-b03b-6527abe5cf27", - "x-ms-routing-request-id": "WESTUS:20210712T223536Z:efb794ef-4f35-482b-a2ef-0bb8e907ea54" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset9967\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9445/providers/Microsoft.Compute/availabilitySets/test-aset9967\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] } ], "Variables": { - "RandomSeed": "742208027", + "RandomSeed": "138869705", + "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } } \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Update().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceContainerTests/ListWithExpand()Async.json similarity index 81% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Update().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceContainerTests/ListWithExpand()Async.json index d21e80b0b54d..d1bf4a51be15 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Update().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceContainerTests/ListWithExpand()Async.json @@ -6,9 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-4aab350542f34541a8e23c785fdc8912-47e9c9248bde4b40-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e18a506fc651f223118187f70d5ee296", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "84783e24aee4ca7f27167e507dde8b15", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:28 GMT", + "Date": "Mon, 09 Aug 2021 18:01:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "adbfbade-1516-4eb7-af0d-195272b3dd32", - "x-ms-ratelimit-remaining-subscription-reads": "11931", - "x-ms-request-id": "adbfbade-1516-4eb7-af0d-195272b3dd32", - "x-ms-routing-request-id": "WESTUS:20210712T223528Z:adbfbade-1516-4eb7-af0d-195272b3dd32" + "x-ms-correlation-request-id": "6fd2012c-a5e3-45d8-ba8f-9ede65d7d49d", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "6fd2012c-a5e3-45d8-ba8f-9ede65d7d49d", + "x-ms-routing-request-id": "WESTUS2:20210809T180132Z:6fd2012c-a5e3-45d8-ba8f-9ede65d7d49d" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,16 +46,15 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testrg2678?api-version=2019-10-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testrg2722?api-version=2019-10-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "32", "Content-Type": "application/json", - "traceparent": "00-02f0338d514d444d88a02025abd45e6d-d0320e36af01d24b-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ec4b7cefd791e57fb4114e3bed654bac", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d542f82c9da1914247a8e3dc799f3220", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -68,19 +66,19 @@ "Cache-Control": "no-cache", "Content-Length": "228", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:30 GMT", + "Date": "Mon, 09 Aug 2021 18:01:32 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b052f6a9-a7f0-4715-99a6-3b1df9272c5c", - "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-request-id": "b052f6a9-a7f0-4715-99a6-3b1df9272c5c", - "x-ms-routing-request-id": "WESTUS:20210712T223531Z:b052f6a9-a7f0-4715-99a6-3b1df9272c5c" + "x-ms-correlation-request-id": "f5ac1199-9f53-4a4f-a2b6-ae78c76924b3", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "f5ac1199-9f53-4a4f-a2b6-ae78c76924b3", + "x-ms-routing-request-id": "WESTUS2:20210809T180132Z:f5ac1199-9f53-4a4f-a2b6-ae78c76924b3" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2678", - "name": "testrg2678", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2722", + "name": "testrg2722", "type": "Microsoft.Resources/resourceGroups", "location": "westus2", "tags": {}, @@ -95,26 +93,25 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-6e0de8c31586b341921acf66ee7216ea-16f715731f58c942-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3ed8ed2f1e4665446363745e048ec370", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fb3f810484a11bd8ad9431489d75a5d0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "54667", + "Content-Length": "54810", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:30 GMT", + "Date": "Mon, 09 Aug 2021 18:01:32 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "be1845ce-4a53-47a4-84ab-6de321a7afd0", - "x-ms-ratelimit-remaining-subscription-reads": "11930", - "x-ms-request-id": "be1845ce-4a53-47a4-84ab-6de321a7afd0", - "x-ms-routing-request-id": "WESTUS:20210712T223531Z:be1845ce-4a53-47a4-84ab-6de321a7afd0" + "x-ms-correlation-request-id": "32b8a5b1-1757-4523-8de3-9869aafb93b4", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "32b8a5b1-1757-4523-8de3-9869aafb93b4", + "x-ms-routing-request-id": "WESTUS2:20210809T180132Z:32b8a5b1-1757-4523-8de3-9869aafb93b4" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", @@ -1816,6 +1813,9 @@ "resourceType": "locations/edgeZones", "locations": [], "apiVersions": [ + "2021-07-01", + "2021-04-01", + "2021-03-01", "2020-12-01" ], "capabilities": "None" @@ -1860,6 +1860,9 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", + "2021-04-01", + "2021-03-01", "2020-12-01" ], "capabilities": "None" @@ -2453,6 +2456,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2503,6 +2507,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2553,6 +2558,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2603,6 +2609,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -2653,6 +2660,7 @@ "West US 3" ], "apiVersions": [ + "2021-07-01", "2021-03-01", "2020-09-30", "2019-12-01", @@ -4223,16 +4231,118 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2678/providers/Microsoft.Compute/availabilitySets/test-aset8446?api-version=2021-07-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2722/providers/Microsoft.Compute/availabilitySets/test-aset2388?api-version=2021-07-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "131", + "Content-Type": "application/json", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "148d51b5837c36a0f29d059ceeae764c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": { + "platformUpdateDomainCount": 5, + "platformFaultDomainCount": 2 + }, + "sku": { + "name": "Aligned" + }, + "location": "westus2", + "tags": {} + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "408", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 18:01: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": "148d51b5837c36a0f29d059ceeae764c", + "x-ms-correlation-request-id": "1e828355-4365-4a71-91d4-27a069717be7", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;237,Microsoft.Compute/PutVM30Min;1197", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "a20e5936-0035-4157-9d23-9e8a3533ad3f", + "x-ms-routing-request-id": "WESTUS2:20210809T180133Z:1e828355-4365-4a71-91d4-27a069717be7" + }, + "ResponseBody": [ + "{\r\n", + " \u0022name\u0022: \u0022test-aset2388\u0022,\r\n", + " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2722/providers/Microsoft.Compute/availabilitySets/test-aset2388\u0022,\r\n", + " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", + " \u0022location\u0022: \u0022westus2\u0022,\r\n", + " \u0022tags\u0022: {},\r\n", + " \u0022properties\u0022: {\r\n", + " \u0022platformUpdateDomainCount\u0022: 5,\r\n", + " \u0022platformFaultDomainCount\u0022: 2\r\n", + " },\r\n", + " \u0022sku\u0022: {\r\n", + " \u0022name\u0022: \u0022Aligned\u0022\r\n", + " }\r\n", + "}" + ] + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testrg8003?api-version=2019-10-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "32", + "Content-Type": "application/json", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a54ec30c530be1810808047e3b2cfe1e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "location": "westus2", + "tags": {} + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "228", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 18:01:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ed04a1b9-d682-493e-8a19-1eb5a78b76bc", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "ed04a1b9-d682-493e-8a19-1eb5a78b76bc", + "x-ms-routing-request-id": "WESTUS2:20210809T180133Z:ed04a1b9-d682-493e-8a19-1eb5a78b76bc" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8003", + "name": "testrg8003", + "type": "Microsoft.Resources/resourceGroups", + "location": "westus2", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8003/providers/Microsoft.Compute/availabilitySets/test-aset2283?api-version=2021-07-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "131", "Content-Type": "application/json", - "traceparent": "00-6e0de8c31586b341921acf66ee7216ea-f75aea11901cf543-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "8382990fdd960b79fc9cb5d5b6241c3c", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9b9bf01865fa18c6aac28f9725a9f3d3", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -4251,7 +4361,7 @@ "Cache-Control": "no-cache", "Content-Length": "408", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:31 GMT", + "Date": "Mon, 09 Aug 2021 18:01:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Server": [ @@ -4260,17 +4370,17 @@ ], "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-client-request-id": "8382990fdd960b79fc9cb5d5b6241c3c", - "x-ms-correlation-request-id": "ca075aba-5419-491d-b0b6-5b03f65780dc", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;176,Microsoft.Compute/PutVM30Min;1136", - "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-request-id": "b79ce06e-5b23-49bb-a807-d19c69113c41", - "x-ms-routing-request-id": "WESTUS:20210712T223532Z:ca075aba-5419-491d-b0b6-5b03f65780dc" + "x-ms-client-request-id": "9b9bf01865fa18c6aac28f9725a9f3d3", + "x-ms-correlation-request-id": "29c4101e-640b-485f-8c4b-55c06328dcb6", + "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;236,Microsoft.Compute/PutVM30Min;1196", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "5f17af6a-d4c6-45b6-9b2c-a9b1e9294378", + "x-ms-routing-request-id": "WESTUS2:20210809T180133Z:29c4101e-640b-485f-8c4b-55c06328dcb6" }, "ResponseBody": [ "{\r\n", - " \u0022name\u0022: \u0022test-aset8446\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2678/providers/Microsoft.Compute/availabilitySets/test-aset8446\u0022,\r\n", + " \u0022name\u0022: \u0022test-aset2283\u0022,\r\n", + " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8003/providers/Microsoft.Compute/availabilitySets/test-aset2283\u0022,\r\n", " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", " \u0022location\u0022: \u0022westus2\u0022,\r\n", " \u0022tags\u0022: {},\r\n", @@ -4285,31 +4395,30 @@ ] }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime\u0026api-version=2019-10-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-afb83c8d858b0b4bb16055d82cfbd144-6c4582808668424f-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ccddcb8a28c951d474cd42a9696eae3f", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b9302beaa2975d11888c6191f149e25e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17141", + "Content-Length": "11797", "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:31 GMT", + "Date": "Mon, 09 Aug 2021 18:01:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5481cf51-3f52-4cf6-9df6-c03a7ff4a884", - "x-ms-ratelimit-remaining-subscription-reads": "11929", - "x-ms-request-id": "5481cf51-3f52-4cf6-9df6-c03a7ff4a884", - "x-ms-routing-request-id": "WESTUS:20210712T223532Z:5481cf51-3f52-4cf6-9df6-c03a7ff4a884" + "x-ms-correlation-request-id": "b4a770c6-c2d9-4dc4-970f-7b8c8010b89f", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "b4a770c6-c2d9-4dc4-970f-7b8c8010b89f", + "x-ms-routing-request-id": "WESTUS2:20210809T180133Z:b4a770c6-c2d9-4dc4-970f-7b8c8010b89f" }, "ResponseBody": { "value": [ @@ -4318,36 +4427,28 @@ "name": "ema7925a82c", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" + "createdTime": "2015-02-20T19:43:15.0632092Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", "name": "portalvhds3285b8sydlcm1", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" + "createdTime": "2014-05-24T04:55:36.974557Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", "name": "storagetestghqqxrrqnr", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" + "createdTime": "2014-10-23T23:54:52.3824535Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", "name": "portalvhds2wdcfvkv5phc9", "type": "Microsoft.ClassicStorage/storageAccounts", "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" + "createdTime": "2014-05-24T04:55:34.6927361Z" }, { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", @@ -4355,8 +4456,6 @@ "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "westus2", "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", "tags": {} }, { @@ -4365,8 +4464,6 @@ "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", "tags": {} }, { @@ -4375,8 +4472,6 @@ "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "westus", "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", "tags": {} }, { @@ -4389,556 +4484,749 @@ "type": "None" }, "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", "tags": { "defaultExperience": "Azure Cosmos DB for MongoDB API", "hidden-cosmos-mmspecial": "" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus2", + "name": "AzSecPackAutoConfigUA-eastus2", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "eastus2", + "createdTime": "2021-07-19T07:49:19.9955718Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/components/track2mlappinsight", + "name": "track2mlappinsight", + "type": "microsoft.insights/components", + "kind": "web", "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-05T08:22:29.2001751Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.KeyVault/vaults/track2mltestkeyvault", + "name": "track2mltestkeyvault", + "type": "Microsoft.KeyVault/vaults", + "location": "westus2", + "createdTime": "2021-08-05T08:23:50.7906578Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.Storage/storageAccounts/track2mlstorage", + "name": "track2mlstorage", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_LRS", + "tier": "Standard" }, + "kind": "StorageV2", "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-05T08:26:30.047889Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.ContainerRegistry/registries/track2mlacr", + "name": "track2mlacr", + "type": "Microsoft.ContainerRegistry/registries", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-05T08:27:48.4577997Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/actiongroups/Application Insights Smart Detection", + "name": "Application Insights Smart Detection", + "type": "microsoft.insights/actiongroups", + "location": "global", + "createdTime": "2021-08-05T08:32:43.8569531Z" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.alertsmanagement/smartDetectorAlertRules/Failure Anomalies - track2mlappinsight", + "name": "Failure Anomalies - track2mlappinsight", + "type": "microsoft.alertsmanagement/smartDetectorAlertRules", + "location": "global", + "createdTime": "2021-08-05T08:32:45.3526028Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations874/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "7c450693-45d2-4b0c-9cb8-87c48c0e8b58", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T02:28:11.9393591Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations468/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "ef2e32b1-ff22-4422-9186-265a8b545a39", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T02:32:12.2614665Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1982/providers/Microsoft.Storage/storageAccounts/aaa1229", + "name": "aaa1229", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T06:24:45.524037Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2856/providers/Microsoft.Storage/storageAccounts/aaa9996", + "name": "aaa9996", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T06:34:10.1726467Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-971/providers/Microsoft.Storage/storageAccounts/aaa9634", + "name": "aaa9634", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T06:45:58.8129464Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4197/providers/Microsoft.Storage/storageAccounts/aaa5198", + "name": "aaa5198", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T07:14:09.6864157Z", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5702/providers/Microsoft.Storage/storageAccounts/teststorage5522", + "name": "teststorage5522", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T07:35:58.6946875Z", + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4101/providers/Microsoft.Storage/storageAccounts/teststorage1208", + "name": "teststorage1208", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" + }, + "kind": "Storage", + "location": "eastus2", + "createdTime": "2021-08-09T08:55:03.5139334Z", + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations8653/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "sku": { + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "a4a72e22-1946-40e2-8e3e-5ab2ba2a2e36", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T13:41:10.2195317Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations2816/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "77e751ff-874c-48e8-bac3-2cbf7813c646", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T13:44:19.9716149Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations4230/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "a8d935d3-a089-4bc1-8c33-be4b56356e3d", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T15:18:16.2330914Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations8203/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", + "identity": { + "principalId": "52d8c054-b1fd-4784-899c-05be8f26e3c0", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "createdTime": "2021-08-09T15:19:24.2343186Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2722/providers/Microsoft.Compute/availabilitySets/test-aset2388", + "name": "test-aset2388", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", + "createdTime": "2021-08-09T18:01:33.2170069Z", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8003/providers/Microsoft.Compute/availabilitySets/test-aset2283", + "name": "test-aset2283", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", + "createdTime": "2021-08-09T18:01:33.7435806Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup", + "name": "cleanupResourcegroup", + "type": "Microsoft.Automation/automationAccounts", + "location": "eastus2", + "createdTime": "2021-08-02T08:50:19.4622473Z", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup/runbooks/cleanupRunbook", + "name": "cleanupResourcegroup/cleanupRunbook", + "type": "Microsoft.Automation/automationAccounts/runbooks", + "location": "eastus2", + "createdTime": "2021-08-02T09:03:10.4838434Z", + "tags": {} + } + ] + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=changedTime%2CprovisioningState\u0026api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4adcab11f514f33e9642722d1e3f237b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "12792", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 18:01:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7b8c4201-e81a-40c5-910a-587edcc81f0c", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "7b8c4201-e81a-40c5-910a-587edcc81f0c", + "x-ms-routing-request-id": "WESTUS2:20210809T180134Z:7b8c4201-e81a-40c5-910a-587edcc81f0c" + }, + "ResponseBody": { + "value": [ + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", + "name": "ema7925a82c", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "westus", + "changedTime": "2021-07-12T11:11:34.9848325Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", + "name": "portalvhds3285b8sydlcm1", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "eastus", + "changedTime": "2021-07-12T13:11:37.9698445Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", + "name": "storagetestghqqxrrqnr", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "eastasia", + "changedTime": "2021-07-12T11:11:41.8364976Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", + "name": "portalvhds2wdcfvkv5phc9", + "type": "Microsoft.ClassicStorage/storageAccounts", + "location": "westus", + "changedTime": "2021-07-12T11:11:39.8951663Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", + "name": "AzSecPackAutoConfigUA-westus2", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "westus2", + "changedTime": "2021-03-18T22:05:38.7997788Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", + "name": "AzSecPackAutoConfigUA-eastus", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "eastus", + "changedTime": "2021-04-27T07:24:53.4570423Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", + "name": "AzSecPackAutoConfigUA-westus", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "westus", + "changedTime": "2021-06-17T22:42:48.1625939Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", + "name": "sdkcodegen", + "type": "Microsoft.DocumentDb/databaseAccounts", + "kind": "MongoDB", + "location": "westus", + "identity": { + "type": "None" }, + "changedTime": "2021-07-07T07:03:04.9723107Z", + "provisioningState": "Succeeded", + "tags": { + "defaultExperience": "Azure Cosmos DB for MongoDB API", + "hidden-cosmos-mmspecial": "" + } + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus2", + "name": "AzSecPackAutoConfigUA-eastus2", + "type": "Microsoft.ManagedIdentity/userAssignedIdentities", + "location": "eastus2", + "changedTime": "2021-07-19T07:59:26.2352389Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/components/track2mlappinsight", + "name": "track2mlappinsight", + "type": "microsoft.insights/components", + "kind": "web", "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", + "changedTime": "2021-08-05T08:32:38.1279741Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.KeyVault/vaults/track2mltestkeyvault", + "name": "track2mltestkeyvault", + "type": "Microsoft.KeyVault/vaults", "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", + "changedTime": "2021-08-05T08:33:56.9954341Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.Storage/storageAccounts/track2mlstorage", + "name": "track2mlstorage", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_LRS", + "tier": "Standard" }, + "kind": "StorageV2", "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:16.5705084Z", + "changedTime": "2021-08-05T08:37:07.5078969Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset4461", - "name": "test-aset4461", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/Microsoft.ContainerRegistry/registries/track2mlacr", + "name": "track2mlacr", + "type": "Microsoft.ContainerRegistry/registries", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:15.3435773Z", - "changedTime": "2021-07-12T22:35:15.7934685Z", + "changedTime": "2021-08-05T08:37:52.9025663Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset3357", - "name": "test-aset3357", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.insights/actiongroups/Application Insights Smart Detection", + "name": "Application Insights Smart Detection", + "type": "microsoft.insights/actiongroups", + "location": "global", + "changedTime": "2021-08-05T08:42:44.6571561Z", + "provisioningState": "Succeeded" + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-ml-common/providers/microsoft.alertsmanagement/smartDetectorAlertRules/Failure Anomalies - track2mlappinsight", + "name": "Failure Anomalies - track2mlappinsight", + "type": "microsoft.alertsmanagement/smartDetectorAlertRules", + "location": "global", + "changedTime": "2021-08-05T08:42:46.9826961Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations874/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:16.1246705Z", - "changedTime": "2021-07-12T22:35:16.5998399Z", + "identity": { + "principalId": "7c450693-45d2-4b0c-9cb8-87c48c0e8b58", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T02:38:37.6839578Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset6019", - "name": "test-aset6019", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations468/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:16.4545024Z", - "changedTime": "2021-07-12T22:35:16.9005606Z", + "identity": { + "principalId": "ef2e32b1-ff22-4422-9186-265a8b545a39", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T02:43:29.7697384Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457", - "name": "test-aset6457", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-1982/providers/Microsoft.Storage/storageAccounts/aaa1229", + "name": "aaa1229", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.6846369Z", - "changedTime": "2021-07-12T22:35:19.0599999Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T06:35:13.6276767Z", "provisioningState": "Succeeded", "tags": { - "key": "value" + "key1": "value1", + "key2": "value2" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset4614", - "name": "test-aset4614", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-2856/providers/Microsoft.Storage/storageAccounts/aaa9996", + "name": "aaa9996", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:17.6726885Z", - "changedTime": "2021-07-12T22:35:18.1501326Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T06:44:40.626445Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1144/providers/Microsoft.Compute/availabilitySets/test-aset6937", - "name": "test-aset6937", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-971/providers/Microsoft.Storage/storageAccounts/aaa9634", + "name": "aaa9634", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:18.0805643Z", - "changedTime": "2021-07-12T22:35:18.5242545Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T06:56:28.8662363Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5925/providers/Microsoft.Compute/availabilitySets/test-aset360", - "name": "test-aset360", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4197/providers/Microsoft.Storage/storageAccounts/aaa5198", + "name": "aaa5198", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:19.8307393Z", - "changedTime": "2021-07-12T22:35:20.2900404Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T07:24:38.8714581Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6374/providers/Microsoft.Compute/availabilitySets/test-aset5069", - "name": "test-aset5069", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-5702/providers/Microsoft.Storage/storageAccounts/teststorage5522", + "name": "teststorage5522", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:22.7203564Z", - "changedTime": "2021-07-12T22:35:23.1761653Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T07:46:26.8281065Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6377/providers/Microsoft.Compute/availabilitySets/test-aset9023", - "name": "test-aset9023", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRG-4101/providers/Microsoft.Storage/storageAccounts/teststorage1208", + "name": "teststorage1208", + "type": "Microsoft.Storage/storageAccounts", "sku": { - "name": "Aligned" + "name": "Standard_GRS", + "tier": "Standard" }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:23.8634822Z", - "changedTime": "2021-07-12T22:35:26.7124832Z", + "kind": "Storage", + "location": "eastus2", + "changedTime": "2021-08-09T09:05:33.6998018Z", "provisioningState": "Succeeded", - "tags": {} + "tags": { + "key1": "value1", + "key2": "value2" + } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8472/providers/Microsoft.Compute/availabilitySets/test-aset7846", - "name": "test-aset7846", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations8653/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:24.0879677Z", - "changedTime": "2021-07-12T22:35:24.5333857Z", + "identity": { + "principalId": "a4a72e22-1946-40e2-8e3e-5ab2ba2a2e36", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T13:51:37.5981482Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3934/providers/Microsoft.Compute/availabilitySets/test-aset4013", - "name": "test-aset4013", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-WorkspaceConnectionOperations2816/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:25.1960009Z", - "changedTime": "2021-07-12T22:35:29.2418126Z", + "identity": { + "principalId": "77e751ff-874c-48e8-bac3-2cbf7813c646", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T13:55:40.2073665Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758", - "name": "test-aset2758", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations4230/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:25.2990585Z", - "changedTime": "2021-07-12T22:35:27.0221818Z", + "identity": { + "principalId": "a8d935d3-a089-4bc1-8c33-be4b56356e3d", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T15:28:48.9182576Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1674/providers/Microsoft.Compute/availabilitySets/test-aset2660", - "name": "test-aset2660", - "type": "Microsoft.Compute/availabilitySets", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/test-OnlineEndpointTrackedResourceOperations8203/providers/Microsoft.MachineLearningServices/workspaces/test-workspace", + "name": "test-workspace", + "type": "Microsoft.MachineLearningServices/workspaces", "sku": { - "name": "Aligned" + "name": "Basic", + "tier": "Basic" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:26.519006Z", - "changedTime": "2021-07-12T22:35:26.9769439Z", + "identity": { + "principalId": "52d8c054-b1fd-4784-899c-05be8f26e3c0", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "type": "SystemAssigned" + }, + "changedTime": "2021-08-09T15:29:57.4508649Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585/providers/Microsoft.Compute/availabilitySets/test-aset5689", - "name": "test-aset5689", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2722/providers/Microsoft.Compute/availabilitySets/test-aset2388", + "name": "test-aset2388", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:28.7372429Z", - "changedTime": "2021-07-12T22:35:30.5375091Z", + "changedTime": "2021-08-09T18:01:33.3783994Z", "provisioningState": "Succeeded", - "tags": { - "key": "value" - } + "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3687/providers/Microsoft.Compute/availabilitySets/test-aset2941", - "name": "test-aset2941", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8003/providers/Microsoft.Compute/availabilitySets/test-aset2283", + "name": "test-aset2283", "type": "Microsoft.Compute/availabilitySets", "sku": { "name": "Aligned" }, "location": "westus2", - "createdTime": "2021-07-12T22:35:30.7005465Z", - "changedTime": "2021-07-12T22:35:31.8660762Z", + "changedTime": "2021-08-09T18:01:33.8392723Z", "provisioningState": "Succeeded", "tags": {} }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2678/providers/Microsoft.Compute/availabilitySets/test-aset8446", - "name": "test-aset8446", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:31.8146484Z", - "changedTime": "2021-07-12T22:35:32.2590011Z", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup", + "name": "cleanupResourcegroup", + "type": "Microsoft.Automation/automationAccounts", + "location": "eastus2", + "changedTime": "2021-08-02T09:00:20.8857725Z", + "provisioningState": "Succeeded", + "tags": {} + }, + { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/cleanupService/providers/Microsoft.Automation/automationAccounts/cleanupResourcegroup/runbooks/cleanupRunbook", + "name": "cleanupResourcegroup/cleanupRunbook", + "type": "Microsoft.Automation/automationAccounts/runbooks", + "location": "eastus2", + "changedTime": "2021-08-02T09:13:17.2320444Z", "provisioningState": "Succeeded", "tags": {} } ] } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2678/providers/Microsoft.Compute/availabilitySets/test-aset8446?api-version=2021-07-01", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "144", - "Content-Type": "application/json", - "traceparent": "00-1d49f62f36f0eb49acf83fdedc2fa70c-97bf7f9808f7f543-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "62133747ce5f4eb2f0247c0faf05ff75", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": { - "key": "value" - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "432", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "62133747ce5f4eb2f0247c0faf05ff75", - "x-ms-correlation-request-id": "0f141e1a-f04e-46c1-844e-b392944241aa", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;174,Microsoft.Compute/PutVM30Min;1134", - "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-request-id": "4f663871-c17f-4119-9406-88c8c23c9623", - "x-ms-routing-request-id": "WESTUS:20210712T223533Z:0f141e1a-f04e-46c1-844e-b392944241aa" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset8446\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2678/providers/Microsoft.Compute/availabilitySets/test-aset8446\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] } ], "Variables": { - "RandomSeed": "1478962693", + "RandomSeed": "296165560", + "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } } \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/AddTag().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/AddTag().json deleted file mode 100644 index 78323efecd1d..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/AddTag().json +++ /dev/null @@ -1,4619 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c1d57b70be3d2be28820e68927c4ab18", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:54 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a76355a6-f522-4cad-82a4-6d90842f0cc2", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "a76355a6-f522-4cad-82a4-6d90842f0cc2", - "x-ms-routing-request-id": "WESTUS:20210712T223455Z:a76355a6-f522-4cad-82a4-6d90842f0cc2" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg8441?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-362a5675bd042344911adabafb5f5687-cafcfb10f2b9544d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3e0e68fd7f34916e1cfc496c208f56c6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:56 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "954f6c96-74ae-44f5-bc1b-294a241bd1d9", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "954f6c96-74ae-44f5-bc1b-294a241bd1d9", - "x-ms-routing-request-id": "WESTUS:20210712T223456Z:954f6c96-74ae-44f5-bc1b-294a241bd1d9" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441", - "name": "testrg8441", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-bb20f325be57d54bbbda78e7337afc53-23821e3ec7ae0641-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ffd7f42058e432bc0f131b879bc9b41f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:56 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9b5a402c-516f-4df6-9a19-3f5c855883b9", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "9b5a402c-516f-4df6-9a19-3f5c855883b9", - "x-ms-routing-request-id": "WESTUS:20210712T223456Z:9b5a402c-516f-4df6-9a19-3f5c855883b9" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-bb20f325be57d54bbbda78e7337afc53-9895bcfeb8ec9a44-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "fa631ada3b3267fc2f21c198bf689090", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "406", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34: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": "fa631ada3b3267fc2f21c198bf689090", - "x-ms-correlation-request-id": "4e1d0d38-e224-4305-970f-7898ed8ec639", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1198", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "7d2d419b-9885-4af2-8758-25fbd507ee12", - "x-ms-routing-request-id": "WESTUS:20210712T223458Z:4e1d0d38-e224-4305-970f-7898ed8ec639" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset315\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-75ccc5edbf451449943fb21264f8cc91-294e96bb74693041-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "75454d94ccf3e4bbf86fcfc3962372a6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "5715", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:58 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9f7af944-6251-47c9-a547-2716be430bc9", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "9f7af944-6251-47c9-a547-2716be430bc9", - "x-ms-routing-request-id": "WESTUS:20210712T223458Z:9f7af944-6251-47c9-a547-2716be430bc9" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:58.1472582Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-5e988beb01aa9e4e98c57cd462d7f533-d043ac78a66ede42-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "62c58b82fd254dde0153a82615901526", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "263", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:58 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "01132d12-cde6-438a-b434-ced619965723", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "01132d12-cde6-438a-b434-ced619965723", - "x-ms-routing-request-id": "WESTUS:20210712T223458Z:01132d12-cde6-438a-b434-ced619965723" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315/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/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "39", - "Content-Type": "application/json", - "traceparent": "00-5e988beb01aa9e4e98c57cd462d7f533-9b26b18ad20dcc49-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "72048ea01b23f69c7dbfbed0bd55792d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": { - "key": "value" - } - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "276", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:58 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8527451c-2c6c-45b6-a0a1-88229e2ce019", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "8527451c-2c6c-45b6-a0a1-88229e2ce019", - "x-ms-routing-request-id": "WESTUS:20210712T223459Z:8527451c-2c6c-45b6-a0a1-88229e2ce019" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315/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/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-5e988beb01aa9e4e98c57cd462d7f533-e6c302e14f111b49-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c7e87f991d44960d6ef7739f2395ce67", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "458", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34: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": "c7e87f991d44960d6ef7739f2395ce67", - "x-ms-correlation-request-id": "4ab52e4e-5f88-4df4-a63a-814de64d5099", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31999", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "06c575dc-88be-4ff5-aafd-5559aae3433d", - "x-ms-routing-request-id": "WESTUS:20210712T223459Z:4ab52e4e-5f88-4df4-a63a-814de64d5099" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset315\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "1301537516", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/AddTag()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/AddTag()Async.json deleted file mode 100644 index 7405b4d5e06d..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/AddTag()Async.json +++ /dev/null @@ -1,4632 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f7ab9e64709ede18284457b76050b3ac", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:54 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "95351a6e-7db9-42c4-af16-b671b6cf872a", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "95351a6e-7db9-42c4-af16-b671b6cf872a", - "x-ms-routing-request-id": "WESTUS:20210712T223455Z:95351a6e-7db9-42c4-af16-b671b6cf872a" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg6694?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-526ed8fadad50b41a05cc79b75d438f1-53b57f6cb400b440-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "77f51a74cdb5ab74c920fe86e9ba446d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:55 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0fbe431a-bed8-4f19-b54d-1c7a9d8db412", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "0fbe431a-bed8-4f19-b54d-1c7a9d8db412", - "x-ms-routing-request-id": "WESTUS:20210712T223456Z:0fbe431a-bed8-4f19-b54d-1c7a9d8db412" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694", - "name": "testrg6694", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-55d4f71db3c57f4797c15f4d4479d8dc-4669c31bee898b41-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5c3c785d4abdd6b2e7540748b0c4bc6b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:55 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "98b659dc-9bca-4f69-a636-cc41f7fa64a7", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "98b659dc-9bca-4f69-a636-cc41f7fa64a7", - "x-ms-routing-request-id": "WESTUS:20210712T223456Z:98b659dc-9bca-4f69-a636-cc41f7fa64a7" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-55d4f71db3c57f4797c15f4d4479d8dc-78490cbc1a7ad844-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a3e517a2afe536d04cd4501a583f8913", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "406", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34: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": "a3e517a2afe536d04cd4501a583f8913", - "x-ms-correlation-request-id": "02f46ab6-bbb1-450f-99be-0182780b62e6", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;236,Microsoft.Compute/PutVM30Min;1196", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "c41301c2-abce-4e4b-8857-30632ebf5b18", - "x-ms-routing-request-id": "WESTUS:20210712T223458Z:02f46ab6-bbb1-450f-99be-0182780b62e6" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset611\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-20d2699eb21667418ceceaad10a727c5-03685088cf72c747-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a3461b41ca5fad2fa7060fe8fa977ea8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "6104", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:58 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "841c037b-4686-4999-bae1-28d168b0ccef", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "841c037b-4686-4999-bae1-28d168b0ccef", - "x-ms-routing-request-id": "WESTUS:20210712T223458Z:841c037b-4686-4999-bae1-28d168b0ccef" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:58.1472582Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:58.4927518Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-3e9e8d85d6b0204ea543d2f701466674-672f09a7b958fa4b-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "64fef3cb81d038fb5f146044e157c8e9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "263", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:58 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "112dbe4b-bf49-4848-a47c-f61ca228a5f2", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "112dbe4b-bf49-4848-a47c-f61ca228a5f2", - "x-ms-routing-request-id": "WESTUS:20210712T223458Z:112dbe4b-bf49-4848-a47c-f61ca228a5f2" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611/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/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "39", - "Content-Type": "application/json", - "traceparent": "00-3e9e8d85d6b0204ea543d2f701466674-f0f9237ec7afdd4d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3cd9f3bbe6f87fb41b4692685acfd5ab", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": { - "key": "value" - } - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "276", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:59 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a1bf4d8b-3697-44ce-a121-f45166afbc4a", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "a1bf4d8b-3697-44ce-a121-f45166afbc4a", - "x-ms-routing-request-id": "WESTUS:20210712T223459Z:a1bf4d8b-3697-44ce-a121-f45166afbc4a" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611/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/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-3e9e8d85d6b0204ea543d2f701466674-ea441908f60d8649-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "79ad2522b464bf8b1f0e434a69ebcb50", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "458", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34: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": "79ad2522b464bf8b1f0e434a69ebcb50", - "x-ms-correlation-request-id": "76c3da89-f77e-4955-9577-af3cfd00d478", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31998", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "cddc9f1b-765b-40cc-82a1-cf742b194192", - "x-ms-routing-request-id": "WESTUS:20210712T223500Z:76c3da89-f77e-4955-9577-af3cfd00d478" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset611\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "996470952", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Delete().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Delete().json deleted file mode 100644 index f7e775702393..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Delete().json +++ /dev/null @@ -1,4592 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-e5d5936cdf45fe4c83451b44086abe75-0794dbbe34cb7248-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c2a3b0bdfd5737b981d089c76b0a4dcb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:34:59 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e8b0b2a0-87d4-4656-9f03-120048608ce3", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "e8b0b2a0-87d4-4656-9f03-120048608ce3", - "x-ms-routing-request-id": "WESTUS:20210712T223500Z:e8b0b2a0-87d4-4656-9f03-120048608ce3" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg9419?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-a5554cf5e1ae2b4f9e96e5bbb941204c-a940538c12f98247-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "52fd5bf7a4b4e8b013ef813b65463a53", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:00 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0870a006-21de-4143-850c-611e2d1935ad", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "0870a006-21de-4143-850c-611e2d1935ad", - "x-ms-routing-request-id": "WESTUS:20210712T223501Z:0870a006-21de-4143-850c-611e2d1935ad" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9419", - "name": "testrg9419", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-7339f8ceb710384ea28fa0719b560173-ffd8d4ba33847a46-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c646bb2b3b3c0c132f520c8cb202926f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:01 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "03159b7e-1caf-46a1-b752-c5468a5c317f", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "03159b7e-1caf-46a1-b752-c5468a5c317f", - "x-ms-routing-request-id": "WESTUS:20210712T223501Z:03159b7e-1caf-46a1-b752-c5468a5c317f" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9419/providers/Microsoft.Compute/availabilitySets/test-aset5315?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-7339f8ceb710384ea28fa0719b560173-d17541aecf32c945-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c385a20d09fef30bd9430d37fb1b894f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "c385a20d09fef30bd9430d37fb1b894f", - "x-ms-correlation-request-id": "6087681c-74c6-4174-9f76-02ccf812c964", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;228,Microsoft.Compute/PutVM30Min;1188", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "b5d023c1-3e6c-4009-bc8f-af47811d32b8", - "x-ms-routing-request-id": "WESTUS:20210712T223502Z:6087681c-74c6-4174-9f76-02ccf812c964" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset5315\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9419/providers/Microsoft.Compute/availabilitySets/test-aset5315\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-744632e8e4a9194792ce22e87ee3a5cd-789fb12539192b4c-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "a358ccee8fb42222af53ecf82ddb1013", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "7715", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:02 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c193d45b-dfc0-4866-b3b3-8fd096abe5ed", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "c193d45b-dfc0-4866-b3b3-8fd096abe5ed", - "x-ms-routing-request-id": "WESTUS:20210712T223502Z:c193d45b-dfc0-4866-b3b3-8fd096abe5ed" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9419/providers/Microsoft.Compute/availabilitySets/test-aset5315", - "name": "test-aset5315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:02.0132276Z", - "changedTime": "2021-07-12T22:35:02.472629Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9419/providers/Microsoft.Compute/availabilitySets/test-aset5315?api-version=2021-07-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-c84fbcd32a7e4e4d8427db5edc7f8423-f356c324fe25814e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "6818bdc80023eaeae765dab884b94f7d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35: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": "6818bdc80023eaeae765dab884b94f7d", - "x-ms-correlation-request-id": "8f96f31a-2627-4a08-9fd6-2452a70600a7", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1199", - "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-request-id": "99aa69a9-9613-48ad-87c7-39f8117a6075", - "x-ms-routing-request-id": "WESTUS:20210712T223504Z:8f96f31a-2627-4a08-9fd6-2452a70600a7" - }, - "ResponseBody": [] - } - ], - "Variables": { - "RandomSeed": "1429283581", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Delete()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Delete()Async.json deleted file mode 100644 index 893837ab817f..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/Delete()Async.json +++ /dev/null @@ -1,4592 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-873a528bccc39441bad5b2866e7a0f07-051d32cd14f79548-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "6f8fb8fcdaa26f1e2d2efbd1cbf7cda0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:00 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dee0af2d-66d2-4ed4-8e11-62c07ad455e7", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "dee0af2d-66d2-4ed4-8e11-62c07ad455e7", - "x-ms-routing-request-id": "WESTUS:20210712T223500Z:dee0af2d-66d2-4ed4-8e11-62c07ad455e7" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg3368?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-7e52259fdeb11742a0a9451b6d8bf60f-67a5a97caf35544b-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "502a0eca1482db0b23fe7530c094abda", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:02 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "347429b9-0ec0-4df6-b5bb-837119faa6da", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "347429b9-0ec0-4df6-b5bb-837119faa6da", - "x-ms-routing-request-id": "WESTUS:20210712T223502Z:347429b9-0ec0-4df6-b5bb-837119faa6da" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3368", - "name": "testrg3368", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-c1ff6bb2213f0a408e6d49f3c4a0ad00-dd1ed9f9b0afe243-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3d14ab30a124ac0bd8d470801d3613b2", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:01 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "023e5039-30ff-4bcf-b9a3-8eae3a466645", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "023e5039-30ff-4bcf-b9a3-8eae3a466645", - "x-ms-routing-request-id": "WESTUS:20210712T223502Z:023e5039-30ff-4bcf-b9a3-8eae3a466645" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3368/providers/Microsoft.Compute/availabilitySets/test-aset1409?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-c1ff6bb2213f0a408e6d49f3c4a0ad00-f35b1afcf5cb6041-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "bd5c3dc87a5284a3937edba83e6d9a50", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "bd5c3dc87a5284a3937edba83e6d9a50", - "x-ms-correlation-request-id": "61153c31-7b53-469f-a999-225ab91da23e", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;226,Microsoft.Compute/PutVM30Min;1186", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "d71dcc57-c7e1-4d10-809a-00dcc9f8eec0", - "x-ms-routing-request-id": "WESTUS:20210712T223503Z:61153c31-7b53-469f-a999-225ab91da23e" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset1409\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3368/providers/Microsoft.Compute/availabilitySets/test-aset1409\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-88c49d0bb4f66b43b625ba30bb45063f-471f80d4125fc846-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "57f77d611d4eb59c0890a9a5c5626d6b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "7716", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:03 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f74c7be7-0878-40b3-898e-1f922dd8f42b", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "f74c7be7-0878-40b3-898e-1f922dd8f42b", - "x-ms-routing-request-id": "WESTUS:20210712T223504Z:f74c7be7-0878-40b3-898e-1f922dd8f42b" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3368/providers/Microsoft.Compute/availabilitySets/test-aset1409", - "name": "test-aset1409", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:02.9771066Z", - "changedTime": "2021-07-12T22:35:03.6236689Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3368/providers/Microsoft.Compute/availabilitySets/test-aset1409?api-version=2021-07-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-199c434ba7b54d43a683364be889ca3a-e774435f8a4ccd4a-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "4189203af26ed02697ef9daed062e938", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35: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": "4189203af26ed02697ef9daed062e938", - "x-ms-correlation-request-id": "98618947-3038-47ce-9994-00b98755a477", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;238,Microsoft.Compute/DeleteVM30Min;1198", - "x-ms-ratelimit-remaining-subscription-deletes": "14994", - "x-ms-request-id": "e58cc739-a2d0-4938-b3c2-3e570bbdf62b", - "x-ms-routing-request-id": "WESTUS:20210712T223505Z:98618947-3038-47ce-9994-00b98755a477" - }, - "ResponseBody": [] - } - ], - "Variables": { - "RandomSeed": "1141858165", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/RemoveTag().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/RemoveTag().json deleted file mode 100644 index 64f9f339dfcc..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/RemoveTag().json +++ /dev/null @@ -1,4878 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-54c66bf7e27d284f8d2f3f75846d4029-bbc81355ab708447-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "8c5487fb16c121c51e995cd7c23560df", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:04 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "efbee01d-8149-43be-bf42-8b37c606635a", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-request-id": "efbee01d-8149-43be-bf42-8b37c606635a", - "x-ms-routing-request-id": "WESTUS:20210712T223505Z:efbee01d-8149-43be-bf42-8b37c606635a" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg6956?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-ae2dcef55edd224bb1fbd12b763d78da-d2eba8e4ef2f5943-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "07b2c2a3e1f54ade5fb76efac495e9c3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:05 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ab353096-c280-43eb-a38b-37463ab09470", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "ab353096-c280-43eb-a38b-37463ab09470", - "x-ms-routing-request-id": "WESTUS:20210712T223506Z:ab353096-c280-43eb-a38b-37463ab09470" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956", - "name": "testrg6956", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-34a5306ce7c3a54cbea182028c2d89e1-153ef048dc45144b-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3317a97b75099d077321318f2445da90", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:05 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "04e51308-1bdd-4aee-a006-93aed1a75d74", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-request-id": "04e51308-1bdd-4aee-a006-93aed1a75d74", - "x-ms-routing-request-id": "WESTUS:20210712T223506Z:04e51308-1bdd-4aee-a006-93aed1a75d74" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-34a5306ce7c3a54cbea182028c2d89e1-b34a82ede228254d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5b37a43f050475a542625e57275a0472", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "5b37a43f050475a542625e57275a0472", - "x-ms-correlation-request-id": "ea565324-58de-4c5f-bb9a-77fd4e7ade65", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;221,Microsoft.Compute/PutVM30Min;1181", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "6b8a7572-4e06-49b5-b8be-94c1180e0a10", - "x-ms-routing-request-id": "WESTUS:20210712T223507Z:ea565324-58de-4c5f-bb9a-77fd4e7ade65" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset4748\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-ee4eb25712ff3142a3010df7e8860eb5-ccd181bcfd412245-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f084699367b1753303a1f1a716af7619", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "8497", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:06 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0bec87e8-c3f3-429f-aa70-e5a4c129e0f1", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-request-id": "0bec87e8-c3f3-429f-aa70-e5a4c129e0f1", - "x-ms-routing-request-id": "WESTUS:20210712T223507Z:0bec87e8-c3f3-429f-aa70-e5a4c129e0f1" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:07.3956766Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-87047b60691605488901e6f2d878fd08-574f79b169dada48-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "997abe1d238b60c80bebb09982e5c787", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35:07 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d722ded1-197a-4cc9-acd7-defe4921ece9", - "x-ms-ratelimit-remaining-subscription-deletes": "14993", - "x-ms-request-id": "d722ded1-197a-4cc9-acd7-defe4921ece9", - "x-ms-routing-request-id": "WESTUS:20210712T223508Z:d722ded1-197a-4cc9-acd7-defe4921ece9" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-87047b60691605488901e6f2d878fd08-71a8d995b50c2040-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "bdc3ec2713d5adc15743b325edf136fb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "264", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:07 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2d42199a-5ca4-4b39-83ee-79601b17a548", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-request-id": "2d42199a-5ca4-4b39-83ee-79601b17a548", - "x-ms-routing-request-id": "WESTUS:20210712T223508Z:2d42199a-5ca4-4b39-83ee-79601b17a548" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/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/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "39", - "Content-Type": "application/json", - "traceparent": "00-87047b60691605488901e6f2d878fd08-4ff63b1585611345-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "eea169f4a14070e6a124e4c6b699f31d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": { - "key": "value" - } - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "277", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:08 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b0658290-913b-4a20-867c-6916d8799fcb", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "b0658290-913b-4a20-867c-6916d8799fcb", - "x-ms-routing-request-id": "WESTUS:20210712T223509Z:b0658290-913b-4a20-867c-6916d8799fcb" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/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/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-87047b60691605488901e6f2d878fd08-24bb129fa7ef7b46-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "29806adab8eb0943fdcd41486fa27219", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "460", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "29806adab8eb0943fdcd41486fa27219", - "x-ms-correlation-request-id": "6d6cb920-4be3-46a6-8b86-941728f46ba4", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31991", - "x-ms-ratelimit-remaining-subscription-reads": "11970", - "x-ms-request-id": "d3bd774c-da08-4b7b-b4c1-0a187c9ad8af", - "x-ms-routing-request-id": "WESTUS:20210712T223509Z:6d6cb920-4be3-46a6-8b86-941728f46ba4" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset4748\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-2d15aaf92705d34c9e7fdca561c41438-e31846a52f6c004d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "19a5b5b5d944854606531cb12efaf6bd", - "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": "Mon, 12 Jul 2021 22:35:08 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8096e864-d9bd-4685-a829-6ca42f894263", - "x-ms-ratelimit-remaining-subscription-reads": "11969", - "x-ms-request-id": "8096e864-d9bd-4685-a829-6ca42f894263", - "x-ms-routing-request-id": "WESTUS:20210712T223509Z:8096e864-d9bd-4685-a829-6ca42f894263" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/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/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "26", - "Content-Type": "application/json", - "traceparent": "00-2d15aaf92705d34c9e7fdca561c41438-c5ff94cf49db474a-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "834b96500c703b0f2597f1725f9e01fe", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": {} - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "264", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:09 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5055468e-656b-44b9-b3a0-871c24eff37a", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "5055468e-656b-44b9-b3a0-871c24eff37a", - "x-ms-routing-request-id": "WESTUS:20210712T223510Z:5055468e-656b-44b9-b3a0-871c24eff37a" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748/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/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-2d15aaf92705d34c9e7fdca561c41438-110e86a6dcbb7645-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "0111cbb2d9f401d924fb23989c92db03", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "436", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "0111cbb2d9f401d924fb23989c92db03", - "x-ms-correlation-request-id": "97ed3f9b-808a-4846-9086-e668b438d916", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31990", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-request-id": "4608c9a7-0a04-4a83-94b8-53bd85c2a249", - "x-ms-routing-request-id": "WESTUS:20210712T223510Z:97ed3f9b-808a-4846-9086-e668b438d916" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset4748\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "405457586", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/RemoveTag()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/RemoveTag()Async.json deleted file mode 100644 index 50ece6fce3aa..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/RemoveTag()Async.json +++ /dev/null @@ -1,4893 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-f544a079f498fd49baa197d58bc04a1f-6d8305df8f7c4442-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "82d208e575bafe7cca7c0930f9a84ef8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:05 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "17b9188c-8215-4271-bd15-ef6d336affde", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "17b9188c-8215-4271-bd15-ef6d336affde", - "x-ms-routing-request-id": "WESTUS:20210712T223506Z:17b9188c-8215-4271-bd15-ef6d336affde" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg3710?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-bcfdd9f77613464b926c4ea4f8183921-d606047ada25b040-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "130ec5e7ab454556ee3fd31ae9f14cfd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:06 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0275250a-f5bc-45c6-a0c7-0b7e88de9e85", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "0275250a-f5bc-45c6-a0c7-0b7e88de9e85", - "x-ms-routing-request-id": "WESTUS:20210712T223507Z:0275250a-f5bc-45c6-a0c7-0b7e88de9e85" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710", - "name": "testrg3710", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-1a5c35327949ed4b9b8da2bafd3fc495-a9f702453e4d7c4e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "240ec2754ba3fbdf5e3793ecd61b14f9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:07 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d320397a-44f2-46e1-be06-94145d9fb0bc", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "d320397a-44f2-46e1-be06-94145d9fb0bc", - "x-ms-routing-request-id": "WESTUS:20210712T223508Z:d320397a-44f2-46e1-be06-94145d9fb0bc" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-1a5c35327949ed4b9b8da2bafd3fc495-fffa0516ea56764f-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "14c7fb0c9fdc7b5c3ccb35a9e4e08bbd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "14c7fb0c9fdc7b5c3ccb35a9e4e08bbd", - "x-ms-correlation-request-id": "3944edce-ea7b-48ef-9943-d59f6fd8dfce", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;218,Microsoft.Compute/PutVM30Min;1178", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "da3a3029-77ee-4a0e-9d67-128e53645488", - "x-ms-routing-request-id": "WESTUS:20210712T223509Z:3944edce-ea7b-48ef-9943-d59f6fd8dfce" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset1454\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-eeabd600c0a8d84e934d7ad8be7e443d-09b2e4b89e1fff45-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f6dd20bfe884d5396692e7d71636177d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "8901", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:09 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5c1b715d-4edf-4c58-a296-1d1b43fea3df", - "x-ms-ratelimit-remaining-subscription-reads": "11966", - "x-ms-request-id": "5c1b715d-4edf-4c58-a296-1d1b43fea3df", - "x-ms-routing-request-id": "WESTUS:20210712T223509Z:5c1b715d-4edf-4c58-a296-1d1b43fea3df" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:08.9511209Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:09.3991342Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-2abe28d3f49ba24dae45f8039cbe4eaa-eaecf2f0cdf7e947-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f3b9d6ab88e9490fb74de6c4b9e8b9e3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35:10 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "57eb53e8-eb11-4d68-aa24-7d605b032218", - "x-ms-ratelimit-remaining-subscription-deletes": "14991", - "x-ms-request-id": "57eb53e8-eb11-4d68-aa24-7d605b032218", - "x-ms-routing-request-id": "WESTUS:20210712T223510Z:57eb53e8-eb11-4d68-aa24-7d605b032218" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-2abe28d3f49ba24dae45f8039cbe4eaa-7340175a73ff844c-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c3ea11b495034b38a95d2557da6b63f8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "264", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:10 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "efac7c30-6173-4503-895e-02872a107f9c", - "x-ms-ratelimit-remaining-subscription-reads": "11965", - "x-ms-request-id": "efac7c30-6173-4503-895e-02872a107f9c", - "x-ms-routing-request-id": "WESTUS:20210712T223510Z:efac7c30-6173-4503-895e-02872a107f9c" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/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/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "39", - "Content-Type": "application/json", - "traceparent": "00-2abe28d3f49ba24dae45f8039cbe4eaa-faf92252409ab743-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ebc86800239f363a10933e3702751b7d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": { - "key": "value" - } - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "277", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:10 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "efa62cb7-8389-4a8d-abd8-fb8de122143b", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "efa62cb7-8389-4a8d-abd8-fb8de122143b", - "x-ms-routing-request-id": "WESTUS:20210712T223511Z:efa62cb7-8389-4a8d-abd8-fb8de122143b" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/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/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-2abe28d3f49ba24dae45f8039cbe4eaa-910198eed00fe04f-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "042304d9534c167a9e6d4a8b63b76f4b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "460", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "042304d9534c167a9e6d4a8b63b76f4b", - "x-ms-correlation-request-id": "db0ac719-d7aa-4256-bec8-7c980d1caf1c", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3987,Microsoft.Compute/LowCostGet30Min;31987", - "x-ms-ratelimit-remaining-subscription-reads": "11964", - "x-ms-request-id": "150bdb19-54fb-4fea-80b5-4d248e1b6ccf", - "x-ms-routing-request-id": "WESTUS:20210712T223511Z:db0ac719-d7aa-4256-bec8-7c980d1caf1c" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset1454\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-cc5fab4a44af694cb31b22035586d835-56d6a7d2ebd57944-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "51c4ede9cd1f9143d6b3b27056014934", - "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": "Mon, 12 Jul 2021 22:35:10 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6cba742d-27c1-462e-9e1d-e1e14f6d66a4", - "x-ms-ratelimit-remaining-subscription-reads": "11963", - "x-ms-request-id": "6cba742d-27c1-462e-9e1d-e1e14f6d66a4", - "x-ms-routing-request-id": "WESTUS:20210712T223511Z:6cba742d-27c1-462e-9e1d-e1e14f6d66a4" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/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/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "26", - "Content-Type": "application/json", - "traceparent": "00-cc5fab4a44af694cb31b22035586d835-b6881147d310544a-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "d67ea7415f48acaceeb24d31d9afd359", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": {} - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "264", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:11 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8142d63c-9c45-4ec4-b86d-7841071d9d04", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "8142d63c-9c45-4ec4-b86d-7841071d9d04", - "x-ms-routing-request-id": "WESTUS:20210712T223512Z:8142d63c-9c45-4ec4-b86d-7841071d9d04" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454/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/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-cc5fab4a44af694cb31b22035586d835-8cc9e2d5ef632848-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "144df224cab10b5dc0912d98a009bf9d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "436", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "144df224cab10b5dc0912d98a009bf9d", - "x-ms-correlation-request-id": "3ddf2b6f-6784-4678-b19f-6f7272acf9c0", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3986,Microsoft.Compute/LowCostGet30Min;31986", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "b2579b4b-213e-4326-a7ff-1ea9ecbf0679", - "x-ms-routing-request-id": "WESTUS:20210712T223512Z:3ddf2b6f-6784-4678-b19f-6f7272acf9c0" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset1454\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "2043030208", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/SetTags().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/SetTags().json deleted file mode 100644 index 495092646f2c..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/SetTags().json +++ /dev/null @@ -1,4825 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-ba99ae022cc656489e733628f1a22190-9c7f2a25d8479d47-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "4262e90fc35037291d1b55b4586508a9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:10 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f6e6e331-2c95-42cb-a0ca-8902c82e1508", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "f6e6e331-2c95-42cb-a0ca-8902c82e1508", - "x-ms-routing-request-id": "WESTUS:20210712T223511Z:f6e6e331-2c95-42cb-a0ca-8902c82e1508" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg9543?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-c9c0186cda8c624baec6096975da55b9-a630b2fc8fc6144c-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "52ea394208f2d0e13f858b4e885ca086", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:12 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "71dcce9d-d9d2-4778-9fae-cd70471a1f5a", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "71dcce9d-d9d2-4778-9fae-cd70471a1f5a", - "x-ms-routing-request-id": "WESTUS:20210712T223512Z:71dcce9d-d9d2-4778-9fae-cd70471a1f5a" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543", - "name": "testrg9543", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-b77c09b502b34246a4b8d2e1451c4b54-490636725824ec44-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "273f1312a96b23c6365273f6b3c8454f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:12 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "84fe492c-883e-4fc3-9783-5a4bb4539267", - "x-ms-ratelimit-remaining-subscription-reads": "11959", - "x-ms-request-id": "84fe492c-883e-4fc3-9783-5a4bb4539267", - "x-ms-routing-request-id": "WESTUS:20210712T223512Z:84fe492c-883e-4fc3-9783-5a4bb4539267" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-b77c09b502b34246a4b8d2e1451c4b54-5e1a822796064746-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "698903ff1dd180e171113d9de895bfb4", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "698903ff1dd180e171113d9de895bfb4", - "x-ms-correlation-request-id": "b6a72d16-704c-4f17-8555-a3188569af0d", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;207,Microsoft.Compute/PutVM30Min;1167", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "c4ac6a9f-6de6-4365-b676-634eecf69ec9", - "x-ms-routing-request-id": "WESTUS:20210712T223514Z:b6a72d16-704c-4f17-8555-a3188569af0d" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset1460\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-0c2253b5452d984fb83fe46942d8d656-9a0738b67202db48-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5988ff461c17f53d31beb5596c293ba1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "10836", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:13 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "43529dd3-8aa7-410d-ad53-d12c1656f062", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-request-id": "43529dd3-8aa7-410d-ad53-d12c1656f062", - "x-ms-routing-request-id": "WESTUS:20210712T223514Z:43529dd3-8aa7-410d-ad53-d12c1656f062" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:14.3834358Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-8c9bdcf86e1d5343a50616679db9ff80-8a611ad1ff90f740-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "6ac7be93507535e52cf945a2612c1297", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35:15 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f0b88be1-4cc6-4607-8e91-46dae1389174", - "x-ms-ratelimit-remaining-subscription-deletes": "14983", - "x-ms-request-id": "f0b88be1-4cc6-4607-8e91-46dae1389174", - "x-ms-routing-request-id": "WESTUS:20210712T223515Z:f0b88be1-4cc6-4607-8e91-46dae1389174" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-8c9bdcf86e1d5343a50616679db9ff80-8468efe532ec4547-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "e8568085650c119d0b5dc3aa147d23fa", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "264", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:15 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2eb0e635-4c6d-4f4b-bd6e-d27303634ce2", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-request-id": "2eb0e635-4c6d-4f4b-bd6e-d27303634ce2", - "x-ms-routing-request-id": "WESTUS:20210712T223516Z:2eb0e635-4c6d-4f4b-bd6e-d27303634ce2" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460/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/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "39", - "Content-Type": "application/json", - "traceparent": "00-8c9bdcf86e1d5343a50616679db9ff80-a1c93ffd60a24641-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "b0211af32112f64719522d1dd79a9305", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": { - "key": "value" - } - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "277", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:16 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "845a04ae-035c-4c74-be0d-3c597af90641", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "845a04ae-035c-4c74-be0d-3c597af90641", - "x-ms-routing-request-id": "WESTUS:20210712T223516Z:845a04ae-035c-4c74-be0d-3c597af90641" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460/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/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-8c9bdcf86e1d5343a50616679db9ff80-d432037574c48a48-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ecd41eac52d32d9420b55e178c3b21ae", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "460", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "ecd41eac52d32d9420b55e178c3b21ae", - "x-ms-correlation-request-id": "c9437eca-6d45-4cbf-b2a4-552d55a790d2", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3985,Microsoft.Compute/LowCostGet30Min;31985", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-request-id": "2d9ccacf-b71c-4278-8028-65ef79eea09a", - "x-ms-routing-request-id": "WESTUS:20210712T223516Z:c9437eca-6d45-4cbf-b2a4-552d55a790d2" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset1460\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "195675395", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/SetTags()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/SetTags()Async.json deleted file mode 100644 index a8152ca915d7..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/SetTags()Async.json +++ /dev/null @@ -1,4879 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-52d36076c5c4b54fb36f65acc6caa4a5-9ef56fbc589b4043-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "62bc39a80cc19de38b937b8081cbf5ce", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:13 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3413ac33-09b2-4295-bd23-90e462c2957d", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "3413ac33-09b2-4295-bd23-90e462c2957d", - "x-ms-routing-request-id": "WESTUS:20210712T223513Z:3413ac33-09b2-4295-bd23-90e462c2957d" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg5139?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-32024eac8808964f85045e6171b44a91-c43dc9123d971d4c-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "0953be5d30066a5ae627a736f6f9c6fe", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:14 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "54f75148-c59b-4ea6-a357-20ce1866249b", - "x-ms-ratelimit-remaining-subscription-writes": "1189", - "x-ms-request-id": "54f75148-c59b-4ea6-a357-20ce1866249b", - "x-ms-routing-request-id": "WESTUS:20210712T223515Z:54f75148-c59b-4ea6-a357-20ce1866249b" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139", - "name": "testrg5139", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-ba2735ec8e6fbb41b36e9874664b228e-85b4d508cd705b49-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "763e52808424edaddf5ed4ffdb214efd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:14 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6603cce9-6e06-4bbd-a285-e8d6c03584a6", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-request-id": "6603cce9-6e06-4bbd-a285-e8d6c03584a6", - "x-ms-routing-request-id": "WESTUS:20210712T223515Z:6603cce9-6e06-4bbd-a285-e8d6c03584a6" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-ba2735ec8e6fbb41b36e9874664b228e-00fa99e2eb29e54d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "7b37376fa2106108f7dae53c669599b5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "7b37376fa2106108f7dae53c669599b5", - "x-ms-correlation-request-id": "4afbb1d2-51ca-4205-a908-582d8333e13c", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;201,Microsoft.Compute/PutVM30Min;1161", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "c11d8faa-aa4a-45ae-8868-5f250b314e83", - "x-ms-routing-request-id": "WESTUS:20210712T223517Z:4afbb1d2-51ca-4205-a908-582d8333e13c" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset6457\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-7c2db84ec00dc147ab30aa74ef2458b3-36195ecfc0947847-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c1863959828eddbb49dc7e499e70864a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "12413", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:16 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b98887cc-70b9-42c9-960d-c00c940536b3", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-request-id": "b98887cc-70b9-42c9-960d-c00c940536b3", - "x-ms-routing-request-id": "WESTUS:20210712T223517Z:b98887cc-70b9-42c9-960d-c00c940536b3" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:16.5705084Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset4461", - "name": "test-aset4461", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:15.3435773Z", - "changedTime": "2021-07-12T22:35:15.7934685Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset3357", - "name": "test-aset3357", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.1246705Z", - "changedTime": "2021-07-12T22:35:16.5998399Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset6019", - "name": "test-aset6019", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.4545024Z", - "changedTime": "2021-07-12T22:35:16.9005606Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457", - "name": "test-aset6457", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.6846369Z", - "changedTime": "2021-07-12T22:35:17.4126914Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-00646e1d9a7fd448b95a91c4df263261-8206fef13b0d5c40-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "257d1ec5abd67b6dfefcd5f47b36db8c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35:17 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "63707cc1-dc45-4f0d-82cc-cb4fe119220c", - "x-ms-ratelimit-remaining-subscription-deletes": "14985", - "x-ms-request-id": "63707cc1-dc45-4f0d-82cc-cb4fe119220c", - "x-ms-routing-request-id": "WESTUS:20210712T223518Z:63707cc1-dc45-4f0d-82cc-cb4fe119220c" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-00646e1d9a7fd448b95a91c4df263261-1d6de547130cbe47-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "2de3decfd80eff26fa6d59b375f09b35", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "264", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:17 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5868a5f6-5dd8-4def-86d0-6dac3c8264af", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-request-id": "5868a5f6-5dd8-4def-86d0-6dac3c8264af", - "x-ms-routing-request-id": "WESTUS:20210712T223518Z:5868a5f6-5dd8-4def-86d0-6dac3c8264af" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457/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/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "39", - "Content-Type": "application/json", - "traceparent": "00-00646e1d9a7fd448b95a91c4df263261-5e2169c78c2ff44d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "670cdc94e5ecae30cb0ac391acc76213", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "tags": { - "key": "value" - } - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "277", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:18 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f662b2b2-70c8-42a0-98c7-67ac6faa0b5f", - "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-request-id": "f662b2b2-70c8-42a0-98c7-67ac6faa0b5f", - "x-ms-routing-request-id": "WESTUS:20210712T223519Z:f662b2b2-70c8-42a0-98c7-67ac6faa0b5f" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457/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/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457?api-version=2021-07-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-00646e1d9a7fd448b95a91c4df263261-b88109bc1fe87743-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c079f100598dec3cf87e2b6951ba060d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "460", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:18 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": "c079f100598dec3cf87e2b6951ba060d", - "x-ms-correlation-request-id": "177066eb-f8b8-4b7a-9673-70f972a610b0", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/LowCostGet3Min;3984,Microsoft.Compute/LowCostGet30Min;31984", - "x-ms-ratelimit-remaining-subscription-reads": "11960", - "x-ms-request-id": "8300a15d-f7a6-4776-abe3-1c7a5a78f6d6", - "x-ms-routing-request-id": "WESTUS:20210712T223519Z:177066eb-f8b8-4b7a-9673-70f972a610b0" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset6457\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2,\r\n", - " \u0022virtualMachines\u0022: []\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "732672590", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartDelete().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartDelete().json deleted file mode 100644 index 67d9ec19c3f1..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartDelete().json +++ /dev/null @@ -1,4804 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-1427b3accde63249bf41f91a38d24329-07bd8259a4f7b842-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "be4e8f128d35e5375582bf0911e351f2", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:17 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "30497ba1-13e9-4e2a-9614-34cb4ff6b5ec", - "x-ms-ratelimit-remaining-subscription-reads": "11964", - "x-ms-request-id": "30497ba1-13e9-4e2a-9614-34cb4ff6b5ec", - "x-ms-routing-request-id": "WESTUS:20210712T223518Z:30497ba1-13e9-4e2a-9614-34cb4ff6b5ec" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg2153?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-fa1af347ab628a458233ae985534c268-b56863e80edf6b4b-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "fcbe75c13b2d8e68dd8c732882832c2d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:18 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "afb8e8c4-d46e-4bd2-84dd-2bf24f4baff3", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "afb8e8c4-d46e-4bd2-84dd-2bf24f4baff3", - "x-ms-routing-request-id": "WESTUS:20210712T223519Z:afb8e8c4-d46e-4bd2-84dd-2bf24f4baff3" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2153", - "name": "testrg2153", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-14bafb9da5f7ca4d827a1ea8acd5f20c-e6ec77cf40e60f44-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "8121ca4b31cd1710946c09f987ddf83f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:18 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6e3ad987-bb8e-400b-b1dc-964ee3d7501f", - "x-ms-ratelimit-remaining-subscription-reads": "11963", - "x-ms-request-id": "6e3ad987-bb8e-400b-b1dc-964ee3d7501f", - "x-ms-routing-request-id": "WESTUS:20210712T223519Z:6e3ad987-bb8e-400b-b1dc-964ee3d7501f" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2153/providers/Microsoft.Compute/availabilitySets/test-aset896?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-14bafb9da5f7ca4d827a1ea8acd5f20c-e55c2cf27cb33a48-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "31595ed1e538e6542f5800c3bdd2ff93", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "406", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "31595ed1e538e6542f5800c3bdd2ff93", - "x-ms-correlation-request-id": "f2cea9d3-00b7-4c43-8f8e-7b91c7cefb64", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;195,Microsoft.Compute/PutVM30Min;1155", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "cf624ffc-f46a-44f4-83ce-b50e2179221c", - "x-ms-routing-request-id": "WESTUS:20210712T223521Z:f2cea9d3-00b7-4c43-8f8e-7b91c7cefb64" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset896\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2153/providers/Microsoft.Compute/availabilitySets/test-aset896\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-4dc79c1eff872f408a6a6c6d1c788d2a-837cf3dbbb6a2947-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "24b1e87bfbd265b7763b5275304c5ac1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "13986", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:20 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cbabc9f8-b37b-4ed2-a14b-b2e6dd016454", - "x-ms-ratelimit-remaining-subscription-reads": "11932", - "x-ms-request-id": "cbabc9f8-b37b-4ed2-a14b-b2e6dd016454", - "x-ms-routing-request-id": "WESTUS:20210712T223521Z:cbabc9f8-b37b-4ed2-a14b-b2e6dd016454" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:16.5705084Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset4461", - "name": "test-aset4461", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:15.3435773Z", - "changedTime": "2021-07-12T22:35:15.7934685Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset3357", - "name": "test-aset3357", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.1246705Z", - "changedTime": "2021-07-12T22:35:16.5998399Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset6019", - "name": "test-aset6019", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.4545024Z", - "changedTime": "2021-07-12T22:35:16.9005606Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457", - "name": "test-aset6457", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.6846369Z", - "changedTime": "2021-07-12T22:35:19.0599999Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset4614", - "name": "test-aset4614", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:17.6726885Z", - "changedTime": "2021-07-12T22:35:18.1501326Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1144/providers/Microsoft.Compute/availabilitySets/test-aset6937", - "name": "test-aset6937", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:18.0805643Z", - "changedTime": "2021-07-12T22:35:18.5242545Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5925/providers/Microsoft.Compute/availabilitySets/test-aset360", - "name": "test-aset360", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:19.8307393Z", - "changedTime": "2021-07-12T22:35:20.2900404Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2153/providers/Microsoft.Compute/availabilitySets/test-aset896", - "name": "test-aset896", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:20.2625477Z", - "changedTime": "2021-07-12T22:35:20.7123412Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2153/providers/Microsoft.Compute/availabilitySets/test-aset896?api-version=2021-07-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-5a14e9ead7f1334cb4ad0f7a2d2161c9-63cd770414acaf49-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "661c766d7245e86e6a1582534c858799", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35: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": "661c766d7245e86e6a1582534c858799", - "x-ms-correlation-request-id": "64c23c5f-636f-41c6-a4aa-2d45c3c6961d", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;235,Microsoft.Compute/DeleteVM30Min;1195", - "x-ms-ratelimit-remaining-subscription-deletes": "14981", - "x-ms-request-id": "6b3db719-8e84-4fb9-b512-2fc05ed17677", - "x-ms-routing-request-id": "WESTUS:20210712T223522Z:64c23c5f-636f-41c6-a4aa-2d45c3c6961d" - }, - "ResponseBody": [] - } - ], - "Variables": { - "RandomSeed": "1975457016", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartDelete()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartDelete()Async.json deleted file mode 100644 index dc1344609783..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartDelete()Async.json +++ /dev/null @@ -1,4817 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-e23584e64451d24c867825c72cd84d60-ee9bb65b83a59841-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5cb684d932c9f82fe91e9177f2c75d28", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:20 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1bc120f4-3942-4517-9d00-adf162800f4f", - "x-ms-ratelimit-remaining-subscription-reads": "11957", - "x-ms-request-id": "1bc120f4-3942-4517-9d00-adf162800f4f", - "x-ms-routing-request-id": "WESTUS:20210712T223520Z:1bc120f4-3942-4517-9d00-adf162800f4f" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg7079?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-b1d5738e6ef5984f8497b73faae70159-bb0e59545085b340-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f7521f299a1f78215dab50d5b15f8f4b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:21 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d0b6b27c-5c47-40f3-83f9-5da731a098f0", - "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-request-id": "d0b6b27c-5c47-40f3-83f9-5da731a098f0", - "x-ms-routing-request-id": "WESTUS:20210712T223521Z:d0b6b27c-5c47-40f3-83f9-5da731a098f0" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7079", - "name": "testrg7079", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-fdf8c57650cbbd4babe947cedfac9525-3f414f4f7b80b64e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "593015d9c5587fb64e9b38b339ef88a5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:21 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2da01f06-5353-48b9-aa1e-759554b92926", - "x-ms-ratelimit-remaining-subscription-reads": "11943", - "x-ms-request-id": "2da01f06-5353-48b9-aa1e-759554b92926", - "x-ms-routing-request-id": "WESTUS:20210712T223522Z:2da01f06-5353-48b9-aa1e-759554b92926" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7079/providers/Microsoft.Compute/availabilitySets/test-aset6257?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-fdf8c57650cbbd4babe947cedfac9525-130c61b29667b043-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5c5147e0b9ee94e9e36c87df2238be02", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "5c5147e0b9ee94e9e36c87df2238be02", - "x-ms-correlation-request-id": "8db61d32-23b1-4dd9-8994-a2a633588dec", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;193,Microsoft.Compute/PutVM30Min;1153", - "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-request-id": "252f7122-d055-45bc-bfc3-ccb123b4c3d8", - "x-ms-routing-request-id": "WESTUS:20210712T223523Z:8db61d32-23b1-4dd9-8994-a2a633588dec" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset6257\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7079/providers/Microsoft.Compute/availabilitySets/test-aset6257\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-ddfc98f71b73684e9512445e4e6aff5c-f890d9925a3aeb4c-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "17d02fc7ee3d1f642b9b76ec3ed75c16", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "14379", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:23 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4426b73e-b040-4fa2-ba55-d22def2f73a6", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-request-id": "4426b73e-b040-4fa2-ba55-d22def2f73a6", - "x-ms-routing-request-id": "WESTUS:20210712T223523Z:4426b73e-b040-4fa2-ba55-d22def2f73a6" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:16.5705084Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset4461", - "name": "test-aset4461", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:15.3435773Z", - "changedTime": "2021-07-12T22:35:15.7934685Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset3357", - "name": "test-aset3357", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.1246705Z", - "changedTime": "2021-07-12T22:35:16.5998399Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset6019", - "name": "test-aset6019", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.4545024Z", - "changedTime": "2021-07-12T22:35:16.9005606Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457", - "name": "test-aset6457", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.6846369Z", - "changedTime": "2021-07-12T22:35:19.0599999Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset4614", - "name": "test-aset4614", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:17.6726885Z", - "changedTime": "2021-07-12T22:35:18.1501326Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1144/providers/Microsoft.Compute/availabilitySets/test-aset6937", - "name": "test-aset6937", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:18.0805643Z", - "changedTime": "2021-07-12T22:35:18.5242545Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5925/providers/Microsoft.Compute/availabilitySets/test-aset360", - "name": "test-aset360", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:19.8307393Z", - "changedTime": "2021-07-12T22:35:20.2900404Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6374/providers/Microsoft.Compute/availabilitySets/test-aset5069", - "name": "test-aset5069", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:22.7203564Z", - "changedTime": "2021-07-12T22:35:23.1761653Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7079/providers/Microsoft.Compute/availabilitySets/test-aset6257", - "name": "test-aset6257", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:22.9910596Z", - "changedTime": "2021-07-12T22:35:23.4426885Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7079/providers/Microsoft.Compute/availabilitySets/test-aset6257?api-version=2021-07-01", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-a07f441e527b774dba3925d569c6f144-8143bc6909fe8648-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "9a8735dc4001e6ad77f7c077e9eaaa1d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Mon, 12 Jul 2021 22:35: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": "9a8735dc4001e6ad77f7c077e9eaaa1d", - "x-ms-correlation-request-id": "ea93d18b-5aaf-469f-9119-5389f9f007b8", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/DeleteVM3Min;234,Microsoft.Compute/DeleteVM30Min;1194", - "x-ms-ratelimit-remaining-subscription-deletes": "14977", - "x-ms-request-id": "d7002ead-8851-4491-9310-9000bf6fee01", - "x-ms-routing-request-id": "WESTUS:20210712T223525Z:ea93d18b-5aaf-469f-9119-5389f9f007b8" - }, - "ResponseBody": [] - } - ], - "Variables": { - "RandomSeed": "1735156871", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartUpdate().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartUpdate().json deleted file mode 100644 index 0625ac25196a..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartUpdate().json +++ /dev/null @@ -1,4888 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-1c8f0889742e4a4b883ea205abaf501e-868d21e7ff9bd64d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "abbf817f8c4cd0af72dab7afe24137c1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:22 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8650736e-93b0-47e7-b969-7164da97a7c0", - "x-ms-ratelimit-remaining-subscription-reads": "11946", - "x-ms-request-id": "8650736e-93b0-47e7-b969-7164da97a7c0", - "x-ms-routing-request-id": "WESTUS:20210712T223523Z:8650736e-93b0-47e7-b969-7164da97a7c0" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg6907?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-9bd6b52ffb04cc48a02a30157f00b294-87266f18aa875545-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c2ea972c36c2e3617b534020646594f3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:23 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2b3e676a-8db7-4b19-957a-bb5002f6f4de", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "2b3e676a-8db7-4b19-957a-bb5002f6f4de", - "x-ms-routing-request-id": "WESTUS:20210712T223524Z:2b3e676a-8db7-4b19-957a-bb5002f6f4de" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907", - "name": "testrg6907", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-1fccc9853d99564e876c3569f7e54ca6-a6d8d74b1eeab845-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "b004c03df19d5653101930e774b9ad54", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:24 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a9916fa0-03bb-4bd2-94d2-2e68d812dd85", - "x-ms-ratelimit-remaining-subscription-reads": "11945", - "x-ms-request-id": "a9916fa0-03bb-4bd2-94d2-2e68d812dd85", - "x-ms-routing-request-id": "WESTUS:20210712T223524Z:a9916fa0-03bb-4bd2-94d2-2e68d812dd85" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-1fccc9853d99564e876c3569f7e54ca6-9c9cd9b31660a64e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "ea3eec31bdf75d4bc8d1396eb00d7522", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "ea3eec31bdf75d4bc8d1396eb00d7522", - "x-ms-correlation-request-id": "997837be-26a7-41ec-9824-dd572e12905c", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;188,Microsoft.Compute/PutVM30Min;1148", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "17cdc8de-1e30-4b13-865d-3cfce8a0329a", - "x-ms-routing-request-id": "WESTUS:20210712T223526Z:997837be-26a7-41ec-9824-dd572e12905c" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset2758\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-34587d24706859428744aeca35108dcf-4ca24d659552c24d-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "7933cc930856804475a7e8cbb8e4a603", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "15551", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:25 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3c8ac21f-7e06-4a70-b197-144015ecee1a", - "x-ms-ratelimit-remaining-subscription-reads": "11944", - "x-ms-request-id": "3c8ac21f-7e06-4a70-b197-144015ecee1a", - "x-ms-routing-request-id": "WESTUS:20210712T223526Z:3c8ac21f-7e06-4a70-b197-144015ecee1a" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:16.5705084Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset4461", - "name": "test-aset4461", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:15.3435773Z", - "changedTime": "2021-07-12T22:35:15.7934685Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset3357", - "name": "test-aset3357", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.1246705Z", - "changedTime": "2021-07-12T22:35:16.5998399Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset6019", - "name": "test-aset6019", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.4545024Z", - "changedTime": "2021-07-12T22:35:16.9005606Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457", - "name": "test-aset6457", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.6846369Z", - "changedTime": "2021-07-12T22:35:19.0599999Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset4614", - "name": "test-aset4614", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:17.6726885Z", - "changedTime": "2021-07-12T22:35:18.1501326Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1144/providers/Microsoft.Compute/availabilitySets/test-aset6937", - "name": "test-aset6937", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:18.0805643Z", - "changedTime": "2021-07-12T22:35:18.5242545Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5925/providers/Microsoft.Compute/availabilitySets/test-aset360", - "name": "test-aset360", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:19.8307393Z", - "changedTime": "2021-07-12T22:35:20.2900404Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6374/providers/Microsoft.Compute/availabilitySets/test-aset5069", - "name": "test-aset5069", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:22.7203564Z", - "changedTime": "2021-07-12T22:35:23.1761653Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6377/providers/Microsoft.Compute/availabilitySets/test-aset9023", - "name": "test-aset9023", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:23.8634822Z", - "changedTime": "2021-07-12T22:35:25.1603757Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8472/providers/Microsoft.Compute/availabilitySets/test-aset7846", - "name": "test-aset7846", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:24.0879677Z", - "changedTime": "2021-07-12T22:35:24.5333857Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3934/providers/Microsoft.Compute/availabilitySets/test-aset4013", - "name": "test-aset4013", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:25.1960009Z", - "changedTime": "2021-07-12T22:35:25.8031556Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758", - "name": "test-aset2758", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:25.2990585Z", - "changedTime": "2021-07-12T22:35:25.746556Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758?api-version=2021-07-01", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "144", - "Content-Type": "application/json", - "traceparent": "00-69a7d9334bd7db48be4ad3ef9948868a-32801354b14ff64e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "cd2b0ea336b6cb975c97548b0b2e2ccb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": { - "key": "value" - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "432", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "cd2b0ea336b6cb975c97548b0b2e2ccb", - "x-ms-correlation-request-id": "eaa4bdef-b8df-491b-b606-3cfdb845565e", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;183,Microsoft.Compute/PutVM30Min;1143", - "x-ms-ratelimit-remaining-subscription-writes": "1183", - "x-ms-request-id": "2d6af893-8e6f-4ac2-8985-8e03213250d8", - "x-ms-routing-request-id": "WESTUS:20210712T223527Z:eaa4bdef-b8df-491b-b606-3cfdb845565e" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset2758\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "1307234193", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartUpdate()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartUpdate()Async.json deleted file mode 100644 index 04f243055441..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/GenericResourceExpandedOperationsTests/StartUpdate()Async.json +++ /dev/null @@ -1,4916 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-da367356961d104695f06889debce351-f60408be4645b54e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "c73e64288182f5cfff5815cba9d8cbf7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "468", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:25 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c7497576-10f1-4262-9d36-968c420fcabc", - "x-ms-ratelimit-remaining-subscription-reads": "11943", - "x-ms-request-id": "c7497576-10f1-4262-9d36-968c420fcabc", - "x-ms-routing-request-id": "WESTUS:20210712T223526Z:c7497576-10f1-4262-9d36-968c420fcabc" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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/testrg6585?api-version=2019-10-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-19564d171431c942b9f3031b4cc8ee39-7caab0a1eed3f441-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5002ca1bd473db6798890c40a7824d65", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "location": "westus2", - "tags": {} - }, - "StatusCode": 201, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "228", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:26 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1896cdcc-fe40-471b-b7e7-4cace07d413b", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "1896cdcc-fe40-471b-b7e7-4cace07d413b", - "x-ms-routing-request-id": "WESTUS:20210712T223527Z:1896cdcc-fe40-471b-b7e7-4cace07d413b" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585", - "name": "testrg6585", - "type": "Microsoft.Resources/resourceGroups", - "location": "westus2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute?api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-cf3f60b61d460a4b96795548883a476d-6cb08ebdbf33ca47-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "df1f7edbbbf592b523201a0f9c95fcf3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "54667", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:27 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ad8b18b1-8130-4746-b96d-04b8ad5f2420", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-request-id": "ad8b18b1-8130-4746-b96d-04b8ad5f2420", - "x-ms-routing-request-id": "WESTUS:20210712T223527Z:ad8b18b1-8130-4746-b96d-04b8ad5f2420" - }, - "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Compute", - "namespace": "Microsoft.Compute", - "authorizations": [ - { - "applicationId": "60e6cd67-9c8c-4951-9b3c-23c25a2169af", - "roleDefinitionId": "e4770acb-272e-4dc8-87f3-12f44a612224" - }, - { - "applicationId": "a303894e-f1d8-4a37-bf10-67aa654a0596", - "roleDefinitionId": "903ac751-8ad5-4e5a-bfc2-5e49f450a241" - }, - { - "applicationId": "a8b6bf88-1d1a-4626-b040-9a729ea93c65", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "184909ca-69f1-4368-a6a7-c558ee6eb0bd", - "roleDefinitionId": "45c8267c-80ba-4b96-9a43-115b8f49fccd" - }, - { - "applicationId": "5e5e43d4-54da-4211-86a4-c6e7f3715801", - "roleDefinitionId": "ffcd6e5b-8772-457d-bb17-89703c03428f" - }, - { - "applicationId": "ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "372140e0-b3b7-4226-8ef9-d57986796201", - "roleDefinitionId": "cb17cddc-dbac-4ae0-ae79-8db34eddfca0" - }, - { - "applicationId": "b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab", - "roleDefinitionId": "6efa92ca-56b6-40af-a468-5e3d2b5232f0" - }, - { - "applicationId": "579d9c9d-4c83-4efc-8124-7eba65ed3356", - "roleDefinitionId": "8c99c4ce-d744-4597-a2f0-0a0044d67560" - } - ], - "resourceTypes": [ - { - "resourceType": "availabilitySets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachineScaleSets/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2015-06-15", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/extensions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/virtualMachines/networkInterfaces", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-09-01", - "2016-08-01", - "2016-07-01", - "2016-06-01", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "virtualMachineScaleSets/publicIPAddresses", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations", - "locations": [], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-10-30-preview", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/vmSizes", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/runCommands", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/usages", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachines", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/virtualMachineScaleSets", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "locations/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "operations", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones", - "locations": [], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/edgeZones/publishers", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2020-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "restorePointCollections", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "restorePointCollections/restorePoints", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30" - ], - "capabilities": "None" - }, - { - "resourceType": "proximityPlacementGroups", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "sshPublicKeys", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "virtualMachines/metricDefinitions", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "West US 3", - "Jio India West" - ], - "apiVersions": [ - "2014-04-01" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/spotEvictionRates", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/spotPriceHistory", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01" - ], - "defaultApiVersion": "2020-06-01", - "capabilities": "None" - }, - { - "resourceType": "locations/sharedGalleries", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-09-30", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview", - "2016-03-30", - "2015-06-15", - "2015-05-01-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2017-03-09-profile", - "apiVersion": "2016-03-30" - }, - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2017-12-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "sharedVMImages", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "sharedVMImages/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "defaultApiVersion": "2017-10-15-preview", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/artifactPublishers", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central" - ], - "apiVersions": [ - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/capsoperations", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01", - "2017-10-15-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "galleries/images/versions", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/galleries", - "locations": [ - "West Central US", - "South Central US", - "East US 2", - "Southeast Asia", - "West Europe", - "West US", - "East US", - "Canada Central", - "North Europe", - "North Central US", - "Brazil South", - "UK West", - "West India", - "East Asia", - "Australia East", - "Japan East", - "Korea South", - "West US 2", - "Canada East", - "UK South", - "Central India", - "South India", - "Australia Southeast", - "Japan West", - "Korea Central", - "France Central", - "Central US", - "Australia Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-09-30", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-06-01" - ], - "defaultApiVersion": "2018-06-01", - "capabilities": "None" - }, - { - "resourceType": "disks", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "snapshots", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-30", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/diskoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01", - "2019-03-01", - "2018-09-30", - "2018-06-01", - "2018-04-01", - "2017-03-30", - "2016-04-30-preview" - ], - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "None" - }, - { - "resourceType": "diskEncryptionSets", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01", - "2019-11-01", - "2019-07-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SystemAssignedResourceIdentity, SupportsTags, SupportsLocation" - }, - { - "resourceType": "diskAccesses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-04-01", - "2020-12-01", - "2020-09-30", - "2020-06-30", - "2020-05-01" - ], - "defaultApiVersion": "2020-06-30", - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "cloudServices/roles", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/csoperations", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsVersions", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "locations/cloudServiceOsFamilies", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01" - ], - "defaultApiVersion": "2021-03-01", - "capabilities": "None" - }, - { - "resourceType": "cloudServices/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/roleInstances/networkInterfaces", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "cloudServices/publicIPAddresses", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-03-01", - "2020-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "images", - "locations": [ - "Southeast Asia", - "East US 2", - "Central US", - "West Europe", - "East US", - "North Central US", - "South Central US", - "West US", - "North Europe", - "East Asia", - "Brazil South", - "West US 2", - "West Central US", - "UK West", - "UK South", - "Japan East", - "Japan West", - "Canada Central", - "Canada East", - "Central India", - "South India", - "Australia East", - "Australia Southeast", - "Korea Central", - "Korea South", - "West India", - "France Central", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01", - "2017-03-30", - "2016-08-30", - "2016-04-30-preview" - ], - "defaultApiVersion": "2020-06-01", - "apiProfiles": [ - { - "profileVersion": "2018-03-01-hybrid", - "apiVersion": "2017-03-30" - }, - { - "profileVersion": "2018-06-01-profile", - "apiVersion": "2018-04-01" - } - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "locations/logAnalytics", - "locations": [ - "East US", - "East US 2", - "West US", - "Central US", - "North Central US", - "South Central US", - "North Europe", - "West Europe", - "East Asia", - "Southeast Asia", - "Japan East", - "Japan West", - "Australia East", - "Australia Southeast", - "Australia Central", - "Brazil South", - "South India", - "Central India", - "West India", - "Canada Central", - "Canada East", - "West US 2", - "West Central US", - "UK South", - "UK West", - "Korea Central", - "Korea South", - "France Central", - "South Africa North", - "UAE North", - "Switzerland North", - "Germany West Central", - "Norway East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01", - "2018-06-01", - "2018-04-01", - "2017-12-01" - ], - "capabilities": "None" - }, - { - "resourceType": "hostGroups", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "hostGroups/hosts", - "locations": [ - "Central US", - "East US 2", - "West Europe", - "Southeast Asia", - "France Central", - "North Europe", - "West US 2", - "East US", - "UK South", - "Japan East", - "Japan West", - "East Asia", - "North Central US", - "South Central US", - "Canada East", - "Korea Central", - "Brazil South", - "UK West", - "Canada Central", - "West US", - "West Central US", - "Central India", - "South India", - "Australia Southeast", - "Korea South", - "West India", - "South Africa North", - "UAE North", - "Australia Central", - "Switzerland North", - "Germany West Central", - "Norway East", - "Australia East", - "Jio India West", - "West US 3" - ], - "apiVersions": [ - "2021-07-01", - "2021-04-01", - "2021-03-01", - "2020-12-01", - "2020-06-01", - "2019-12-01", - "2019-07-01", - "2019-03-01", - "2018-10-01" - ], - "defaultApiVersion": "2020-06-01", - "zoneMappings": [ - { - "location": "East US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "France Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Southeast Asia", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "West US 2", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "North Europe", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "East US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "UK South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Japan East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Australia East", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "South Africa North", - "zones": [] - }, - { - "location": "South Central US", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Canada Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Germany West Central", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Brazil South", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Central India", - "zones": [] - }, - { - "location": "Korea Central", - "zones": [] - }, - { - "location": "West US 3", - "zones": [ - "2", - "1", - "3" - ] - }, - { - "location": "Norway East", - "zones": [] - }, - { - "location": "East Asia", - "zones": [] - }, - { - "location": "Switzerland North", - "zones": [] - } - ], - "capabilities": "SupportsTags, SupportsLocation" - } - ], - "registrationState": "Registered", - "registrationPolicy": "RegistrationRequired" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585/providers/Microsoft.Compute/availabilitySets/test-aset5689?api-version=2021-07-01", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "131", - "Content-Type": "application/json", - "traceparent": "00-cf3f60b61d460a4b96795548883a476d-ba762850efc3f842-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "1c442760b5b1d68febeaf7c2b458d6c7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": {} - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "408", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "1c442760b5b1d68febeaf7c2b458d6c7", - "x-ms-correlation-request-id": "42631539-8d48-4e1d-bc16-8211f2066085", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;181,Microsoft.Compute/PutVM30Min;1141", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "af2650ad-2b31-44ac-a0ef-2c17f68b1742", - "x-ms-routing-request-id": "WESTUS:20210712T223529Z:42631539-8d48-4e1d-bc16-8211f2066085" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset5689\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585/providers/Microsoft.Compute/availabilitySets/test-aset5689\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {},\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resources?$expand=createdTime%2CchangedTime%2CprovisioningState\u0026api-version=2019-10-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-4a6261dfc91d7a4ca898674b6d56f4a3-85702ae6c6e6194e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "5a464c0f490926d9ee48f30bc3f2ddcb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "16346", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35:29 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "31729792-4815-4dac-a069-fdaae8e376c5", - "x-ms-ratelimit-remaining-subscription-reads": "11931", - "x-ms-request-id": "31729792-4815-4dac-a069-fdaae8e376c5", - "x-ms-routing-request-id": "WESTUS:20210712T223529Z:31729792-4815-4dac-a069-fdaae8e376c5" - }, - "ResponseBody": { - "value": [ - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AutoRestResources2/providers/Microsoft.ClassicStorage/storageAccounts/ema7925a82c", - "name": "ema7925a82c", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2015-02-20T19:43:15.0632092Z", - "changedTime": "2021-07-12T11:11:34.9848325Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds3285b8sydlcm1", - "name": "portalvhds3285b8sydlcm1", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastus", - "createdTime": "2014-05-24T04:55:36.974557Z", - "changedTime": "2021-07-12T13:11:37.9698445Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-EastAsia/providers/Microsoft.ClassicStorage/storageAccounts/storagetestghqqxrrqnr", - "name": "storagetestghqqxrrqnr", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "eastasia", - "createdTime": "2014-10-23T23:54:52.3824535Z", - "changedTime": "2021-07-12T11:11:41.8364976Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/portalvhds2wdcfvkv5phc9", - "name": "portalvhds2wdcfvkv5phc9", - "type": "Microsoft.ClassicStorage/storageAccounts", - "location": "westus", - "createdTime": "2014-05-24T04:55:34.6927361Z", - "changedTime": "2021-07-12T11:11:39.8951663Z", - "provisioningState": "Succeeded" - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus2", - "name": "AzSecPackAutoConfigUA-westus2", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus2", - "createdTime": "2021-03-18T21:55:37.839206Z", - "changedTime": "2021-03-18T22:05:38.7997788Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-eastus", - "name": "AzSecPackAutoConfigUA-eastus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "eastus", - "createdTime": "2021-04-27T07:14:50.9621072Z", - "changedTime": "2021-04-27T07:24:53.4570423Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/AzSecPackAutoConfigRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/AzSecPackAutoConfigUA-westus", - "name": "AzSecPackAutoConfigUA-westus", - "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "location": "westus", - "createdTime": "2021-06-17T22:32:45.5111313Z", - "changedTime": "2021-06-17T22:42:48.1625939Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/sdkpipeline/providers/Microsoft.DocumentDb/databaseAccounts/sdkcodegen", - "name": "sdkcodegen", - "type": "Microsoft.DocumentDb/databaseAccounts", - "kind": "MongoDB", - "location": "westus", - "identity": { - "type": "None" - }, - "createdTime": "2021-07-07T06:51:11.1964393Z", - "changedTime": "2021-07-07T07:03:04.9723107Z", - "provisioningState": "Succeeded", - "tags": { - "defaultExperience": "Azure Cosmos DB for MongoDB API", - "hidden-cosmos-mmspecial": "" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7572/providers/Microsoft.Compute/availabilitySets/test-aset460", - "name": "test-aset460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:04.6951444Z", - "changedTime": "2021-07-09T07:21:07.1849109Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7481/providers/Microsoft.Compute/availabilitySets/test-aset5192", - "name": "test-aset5192", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T07:11:07.6835744Z", - "changedTime": "2021-07-09T07:21:10.3067676Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2789/providers/Microsoft.Compute/availabilitySets/test-aset1315", - "name": "test-aset1315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:44.4287135Z", - "changedTime": "2021-07-09T18:09:46.8976092Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6656/providers/Microsoft.Compute/availabilitySets/test-aset8673", - "name": "test-aset8673", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-09T17:59:48.7922406Z", - "changedTime": "2021-07-09T18:09:50.8818072Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg255/providers/Microsoft.Compute/availabilitySets/test-aset8503", - "name": "test-aset8503", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.3549019Z", - "changedTime": "2021-07-12T22:34:58.2726502Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8441/providers/Microsoft.Compute/availabilitySets/test-aset315", - "name": "test-aset315", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.4424611Z", - "changedTime": "2021-07-12T22:34:59.0409998Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6694/providers/Microsoft.Compute/availabilitySets/test-aset611", - "name": "test-aset611", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:57.6903508Z", - "changedTime": "2021-07-12T22:34:59.6584863Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6803/providers/Microsoft.Compute/availabilitySets/test-aset6081", - "name": "test-aset6081", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:34:59.7465833Z", - "changedTime": "2021-07-12T22:35:01.6411346Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3471/providers/Microsoft.Compute/availabilitySets/test-aset242", - "name": "test-aset242", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:00.3333258Z", - "changedTime": "2021-07-12T22:35:01.8087328Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5542/providers/Microsoft.Compute/availabilitySets/test-aset623", - "name": "test-aset623", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:01.7676172Z", - "changedTime": "2021-07-12T22:35:02.5524329Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg7017/providers/Microsoft.Compute/availabilitySets/test-aset1345", - "name": "test-aset1345", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:05.657807Z", - "changedTime": "2021-07-12T22:35:06.1329684Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3267/providers/Microsoft.Compute/availabilitySets/test-aset7445", - "name": "test-aset7445", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.5404471Z", - "changedTime": "2021-07-12T22:35:07.0092802Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6956/providers/Microsoft.Compute/availabilitySets/test-aset4748", - "name": "test-aset4748", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:06.9214478Z", - "changedTime": "2021-07-12T22:35:09.7711081Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3710/providers/Microsoft.Compute/availabilitySets/test-aset1454", - "name": "test-aset1454", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:08.9137705Z", - "changedTime": "2021-07-12T22:35:12.2634382Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6500/providers/Microsoft.Compute/availabilitySets/test-aset102", - "name": "test-aset102", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:09.5159536Z", - "changedTime": "2021-07-12T22:35:10.323048Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9664/providers/Microsoft.Compute/availabilitySets/test-aset893", - "name": "test-aset893", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.0681296Z", - "changedTime": "2021-07-12T22:35:10.5692018Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8035/providers/Microsoft.Compute/availabilitySets/test-aset886", - "name": "test-aset886", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:10.6852163Z", - "changedTime": "2021-07-12T22:35:11.2486836Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9990/providers/Microsoft.Compute/availabilitySets/test-aset2867", - "name": "test-aset2867", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:11.1451381Z", - "changedTime": "2021-07-12T22:35:11.8315196Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9543/providers/Microsoft.Compute/availabilitySets/test-aset1460", - "name": "test-aset1460", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:13.3985808Z", - "changedTime": "2021-07-12T22:35:16.5705084Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset4461", - "name": "test-aset4461", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:15.3435773Z", - "changedTime": "2021-07-12T22:35:15.7934685Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset3357", - "name": "test-aset3357", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.1246705Z", - "changedTime": "2021-07-12T22:35:16.5998399Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg9956/providers/Microsoft.Compute/availabilitySets/test-aset6019", - "name": "test-aset6019", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.4545024Z", - "changedTime": "2021-07-12T22:35:16.9005606Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5139/providers/Microsoft.Compute/availabilitySets/test-aset6457", - "name": "test-aset6457", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:16.6846369Z", - "changedTime": "2021-07-12T22:35:19.0599999Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg2893/providers/Microsoft.Compute/availabilitySets/test-aset4614", - "name": "test-aset4614", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:17.6726885Z", - "changedTime": "2021-07-12T22:35:18.1501326Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1144/providers/Microsoft.Compute/availabilitySets/test-aset6937", - "name": "test-aset6937", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:18.0805643Z", - "changedTime": "2021-07-12T22:35:18.5242545Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg5925/providers/Microsoft.Compute/availabilitySets/test-aset360", - "name": "test-aset360", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:19.8307393Z", - "changedTime": "2021-07-12T22:35:20.2900404Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6374/providers/Microsoft.Compute/availabilitySets/test-aset5069", - "name": "test-aset5069", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:22.7203564Z", - "changedTime": "2021-07-12T22:35:23.1761653Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6377/providers/Microsoft.Compute/availabilitySets/test-aset9023", - "name": "test-aset9023", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:23.8634822Z", - "changedTime": "2021-07-12T22:35:26.7124832Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg8472/providers/Microsoft.Compute/availabilitySets/test-aset7846", - "name": "test-aset7846", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:24.0879677Z", - "changedTime": "2021-07-12T22:35:24.5333857Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg3934/providers/Microsoft.Compute/availabilitySets/test-aset4013", - "name": "test-aset4013", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:25.1960009Z", - "changedTime": "2021-07-12T22:35:29.2418126Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6907/providers/Microsoft.Compute/availabilitySets/test-aset2758", - "name": "test-aset2758", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:25.2990585Z", - "changedTime": "2021-07-12T22:35:27.0221818Z", - "provisioningState": "Succeeded", - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg1674/providers/Microsoft.Compute/availabilitySets/test-aset2660", - "name": "test-aset2660", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:26.519006Z", - "changedTime": "2021-07-12T22:35:26.9769439Z", - "provisioningState": "Succeeded", - "tags": {} - }, - { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585/providers/Microsoft.Compute/availabilitySets/test-aset5689", - "name": "test-aset5689", - "type": "Microsoft.Compute/availabilitySets", - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "createdTime": "2021-07-12T22:35:28.7372429Z", - "changedTime": "2021-07-12T22:35:29.1826193Z", - "provisioningState": "Succeeded", - "tags": {} - } - ] - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585/providers/Microsoft.Compute/availabilitySets/test-aset5689?api-version=2021-07-01", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "144", - "Content-Type": "application/json", - "traceparent": "00-be2be2886fdba84b8ab92f10d6d5d3ac-56dc2d238129ad4b-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210712.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "7ca9534aae98a71b0235cff265dc891f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "properties": { - "platformUpdateDomainCount": 5, - "platformFaultDomainCount": 2 - }, - "sku": { - "name": "Aligned" - }, - "location": "westus2", - "tags": { - "key": "value" - } - }, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "432", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 12 Jul 2021 22:35: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": "7ca9534aae98a71b0235cff265dc891f", - "x-ms-correlation-request-id": "3c9520e1-2a1f-4fd3-ab3a-fbc7634b0d75", - "x-ms-ratelimit-remaining-resource": "Microsoft.Compute/PutVM3Min;179,Microsoft.Compute/PutVM30Min;1139", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "3f9aab16-fbc5-4127-aadd-8b139b995931", - "x-ms-routing-request-id": "WESTUS:20210712T223532Z:3c9520e1-2a1f-4fd3-ab3a-fbc7634b0d75" - }, - "ResponseBody": [ - "{\r\n", - " \u0022name\u0022: \u0022test-aset5689\u0022,\r\n", - " \u0022id\u0022: \u0022/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testrg6585/providers/Microsoft.Compute/availabilitySets/test-aset5689\u0022,\r\n", - " \u0022type\u0022: \u0022Microsoft.Compute/availabilitySets\u0022,\r\n", - " \u0022location\u0022: \u0022westus2\u0022,\r\n", - " \u0022tags\u0022: {\r\n", - " \u0022key\u0022: \u0022value\u0022\r\n", - " },\r\n", - " \u0022properties\u0022: {\r\n", - " \u0022platformUpdateDomainCount\u0022: 5,\r\n", - " \u0022platformFaultDomainCount\u0022: 2\r\n", - " },\r\n", - " \u0022sku\u0022: {\r\n", - " \u0022name\u0022: \u0022Aligned\u0022\r\n", - " }\r\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "1420235423", - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/PredefinedTagOperationsTests/NoDataValidation.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/PredefinedTagOperationsTests/NoDataValidation.json new file mode 100644 index 000000000000..45ad6d836698 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/PredefinedTagOperationsTests/NoDataValidation.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2ca0829c93c7657f98148cd9607c6ec7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 17:25:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "af1045c0-765a-4c90-b8af-dfddfc071a13", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "af1045c0-765a-4c90-b8af-dfddfc071a13", + "x-ms-routing-request-id": "WESTUS2:20210809T172512Z:af1045c0-765a-4c90-b8af-dfddfc071a13" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "2053601029", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ProviderOperationsTests/NoDataValidation.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ProviderOperationsTests/NoDataValidation.json new file mode 100644 index 000000000000..d70f5fafa968 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ProviderOperationsTests/NoDataValidation.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2b11c5e0fcc3b3cb0e685be1716085bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 17:26:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2f967d8b-ad15-453a-afd8-561610dcdddf", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "2f967d8b-ad15-453a-afd8-561610dcdddf", + "x-ms-routing-request-id": "WESTUS2:20210809T172652Z:2f967d8b-ad15-453a-afd8-561610dcdddf" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "1504008441", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ResourceGroupOperationsTests/NoDataValidation.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ResourceGroupOperationsTests/NoDataValidation.json new file mode 100644 index 000000000000..e5869085a3e6 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/ResourceGroupOperationsTests/NoDataValidation.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8b082ce09199083e2fb6e0b7287e4c61", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 17:27:52 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "725c14b8-a4f8-4232-bdd8-4825f7582971", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "725c14b8-a4f8-4232-bdd8-4825f7582971", + "x-ms-routing-request-id": "WESTUS2:20210809T172752Z:725c14b8-a4f8-4232-bdd8-4825f7582971" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "2004714502", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists.json similarity index 74% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists.json index e7b5b8bd6012..1da04571d323 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210728.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3e85fc12538b48dd9a8b265a4e852d47", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ae413ca1c3bbd033aeaa6aa177b6cedc", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 28 Jul 2021 22:23:12 GMT", + "Date": "Tue, 10 Aug 2021 21:42:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d41346e-15e4-4dd1-bd1b-47302300f96d", + "x-ms-correlation-request-id": "bebd7b23-f703-4b22-bcd0-de18f6fe70f1", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "6d41346e-15e4-4dd1-bd1b-47302300f96d", - "x-ms-routing-request-id": "WESTUS2:20210728T222312Z:6d41346e-15e4-4dd1-bd1b-47302300f96d" + "x-ms-request-id": "bebd7b23-f703-4b22-bcd0-de18f6fe70f1", + "x-ms-routing-request-id": "WESTUS2:20210810T214203Z:bebd7b23-f703-4b22-bcd0-de18f6fe70f1" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -46,88 +46,88 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-c480104ed0827343a5e431b31b5d0e46-06e4fe028712fa41-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210728.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "35d84112dc513ac26fb053d476335d71", + "traceparent": "00-26be1ed42c24ef41a91f9fe520ff87fd-529ac463bef6b34b-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e33cdbfb1931d29a8ce2dd4dac71363a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, + "StatusCode": 404, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "468", + "Content-Length": "129", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 28 Jul 2021 22:23:12 GMT", + "Date": "Tue, 10 Aug 2021 21:42:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f60d1da9-f4b1-4ed4-a254-726b6827551f", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "f60d1da9-f4b1-4ed4-a254-726b6827551f", - "x-ms-routing-request-id": "WESTUS2:20210728T222313Z:f60d1da9-f4b1-4ed4-a254-726b6827551f" + "x-ms-correlation-request-id": "16e869aa-19df-4be1-a386-be652c384391", + "x-ms-failure-cause": "gateway", + "x-ms-request-id": "16e869aa-19df-4be1-a386-be652c384391", + "x-ms-routing-request-id": "WESTUS2:20210810T214203Z:16e869aa-19df-4be1-a386-be652c384391" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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" + "error": { + "code": "SubscriptionNotFound", + "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." } } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1daa1e459aef9048966e0877a13c44b0-7fcc4997e59a6d48-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210728.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "20f3eed7a160ab5f44022722c7f8f681", + "traceparent": "00-5e88dfdb9dec7f4fae8e2f2a6ad5f94f-0a7a3ace2eba884a-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2a6271adfe8d0b1de8b930f4d6f23e6f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 404, + "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "129", + "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 28 Jul 2021 22:23:12 GMT", + "Date": "Tue, 10 Aug 2021 21:42:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4b1a738a-1b43-48cb-ad14-95d80a418ff2", - "x-ms-failure-cause": "gateway", - "x-ms-request-id": "4b1a738a-1b43-48cb-ad14-95d80a418ff2", - "x-ms-routing-request-id": "WESTUS2:20210728T222313Z:4b1a738a-1b43-48cb-ad14-95d80a418ff2" + "x-ms-correlation-request-id": "cc372e89-f3ad-438e-87bf-5f868ee5fb9c", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "cc372e89-f3ad-438e-87bf-5f868ee5fb9c", + "x-ms-routing-request-id": "WESTUS2:20210810T214203Z:cc372e89-f3ad-438e-87bf-5f868ee5fb9c" }, "ResponseBody": { - "error": { - "code": "SubscriptionNotFound", - "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" } } } ], "Variables": { - "RandomSeed": "1163362173", + "RandomSeed": "940979987", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExistsAsync.json similarity index 71% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExistsAsync.json index 09b0e35c6002..5da1d00dbd9a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExistsAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210728.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "3e85fc12538b48dd9a8b265a4e852d47", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "30354a338ca3b0710b444342baccb6ef", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 28 Jul 2021 22:23:02 GMT", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "934d552c-d93b-4ad9-9aa8-5a403a016170", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "934d552c-d93b-4ad9-9aa8-5a403a016170", - "x-ms-routing-request-id": "WESTUS2:20210728T222303Z:934d552c-d93b-4ad9-9aa8-5a403a016170" + "x-ms-correlation-request-id": "870ecdde-89bd-43cf-a7b2-1371fd11feb6", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "870ecdde-89bd-43cf-a7b2-1371fd11feb6", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:870ecdde-89bd-43cf-a7b2-1371fd11feb6" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -46,88 +46,88 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-f8019ec9ffc15f46b822ef578a058585-a6112f418185824c-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210728.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "35d84112dc513ac26fb053d476335d71", + "traceparent": "00-c7d3ba420624cc498a2c0d673b5998e9-8b148a5f389ea542-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "39cab9ba16e96bdf5a25332620238d18", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, + "StatusCode": 404, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "468", + "Content-Length": "129", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 28 Jul 2021 22:23:02 GMT", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e47f2cc-f015-45d9-8e6f-49869d11ae99", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "4e47f2cc-f015-45d9-8e6f-49869d11ae99", - "x-ms-routing-request-id": "WESTUS2:20210728T222303Z:4e47f2cc-f015-45d9-8e6f-49869d11ae99" + "x-ms-correlation-request-id": "c335844e-687d-4a2c-9173-00f668a7e47b", + "x-ms-failure-cause": "gateway", + "x-ms-request-id": "c335844e-687d-4a2c-9173-00f668a7e47b", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:c335844e-687d-4a2c-9173-00f668a7e47b" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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" + "error": { + "code": "SubscriptionNotFound", + "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." } } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8221d94b5c5aae47b4939f9668ec0ccd-e5ab8c2020bafc41-00", - "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210728.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "20f3eed7a160ab5f44022722c7f8f681", + "traceparent": "00-00d5ed02741a204eac4c5a30bab73b9a-c918f6944299c54b-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "47ea1af65b435bc6e359dc5f1eec9c3f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 404, + "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "129", + "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 28 Jul 2021 22:23:02 GMT", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9cf5e14b-90f6-4cc5-b9bd-2bdf9c9e0257", - "x-ms-failure-cause": "gateway", - "x-ms-request-id": "9cf5e14b-90f6-4cc5-b9bd-2bdf9c9e0257", - "x-ms-routing-request-id": "WESTUS2:20210728T222303Z:9cf5e14b-90f6-4cc5-b9bd-2bdf9c9e0257" + "x-ms-correlation-request-id": "f1af9071-a87d-4e44-805f-c84ed25d5766", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "f1af9071-a87d-4e44-805f-c84ed25d5766", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:f1af9071-a87d-4e44-805f-c84ed25d5766" }, "ResponseBody": { - "error": { - "code": "SubscriptionNotFound", - "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" } } } ], "Variables": { - "RandomSeed": "1163362173", + "RandomSeed": "156438306", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get.json similarity index 68% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get.json index 74bb58560c57..71ca19a15c03 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/Get.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210721.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "7e0577636c638b7c9318cc0499ffecdd", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e346028f196371816b9ef83344a28821", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 21 Jul 2021 17:22:07 GMT", + "Date": "Tue, 10 Aug 2021 21:42:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f124406f-67df-4541-9ae2-dfdd76aa3712", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "f124406f-67df-4541-9ae2-dfdd76aa3712", - "x-ms-routing-request-id": "WESTUS2:20210721T172208Z:f124406f-67df-4541-9ae2-dfdd76aa3712" + "x-ms-correlation-request-id": "79176202-71a3-4077-a2f6-07c1ca1f3798", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "79176202-71a3-4077-a2f6-07c1ca1f3798", + "x-ms-routing-request-id": "WESTUS2:20210810T214204Z:79176202-71a3-4077-a2f6-07c1ca1f3798" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -46,88 +46,88 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-6b917d30c975214687676f0ecd66650f-212ff00fd7383046-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210721.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "b56de7d6fbab1311ce4c014fbed781bc", + "traceparent": "00-8604806ab513ae4aaea0a82a2d0b0bfd-b7d183bb99962849-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "313e38a6f48bbb56479b8a9f55cfbaf9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 404, + "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "129", + "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 21 Jul 2021 17:22:07 GMT", + "Date": "Tue, 10 Aug 2021 21:42:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "30c72044-f68b-4cd1-a50c-8063aad5d330", - "x-ms-failure-cause": "gateway", - "x-ms-request-id": "30c72044-f68b-4cd1-a50c-8063aad5d330", - "x-ms-routing-request-id": "WESTUS2:20210721T172208Z:30c72044-f68b-4cd1-a50c-8063aad5d330" + "x-ms-correlation-request-id": "997bcab6-3719-4f8e-9a5e-ebda624ea152", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "997bcab6-3719-4f8e-9a5e-ebda624ea152", + "x-ms-routing-request-id": "WESTUS2:20210810T214204Z:997bcab6-3719-4f8e-9a5e-ebda624ea152" }, "ResponseBody": { - "error": { - "code": "SubscriptionNotFound", - "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-4e20701c05a98e47accd3f34bf06ec22-8bdcfe2c1215c74e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210721.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "f6bcf4a6bb2961d220767ee06d13d64f", + "traceparent": "00-1e9adf924f30074fa208cd457d73a092-abf4a79c880cf84b-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "26de94e31e25871174a3643a3bad64c2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, + "StatusCode": 404, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "468", + "Content-Length": "129", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 21 Jul 2021 17:22:07 GMT", + "Date": "Tue, 10 Aug 2021 21:42:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dd8e285a-efbc-4899-ac0c-0057daf9a3e2", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "dd8e285a-efbc-4899-ac0c-0057daf9a3e2", - "x-ms-routing-request-id": "WESTUS2:20210721T172208Z:dd8e285a-efbc-4899-ac0c-0057daf9a3e2" + "x-ms-correlation-request-id": "73b93d0c-a93b-41ac-8096-cd42de8be970", + "x-ms-failure-cause": "gateway", + "x-ms-request-id": "73b93d0c-a93b-41ac-8096-cd42de8be970", + "x-ms-routing-request-id": "WESTUS2:20210810T214204Z:73b93d0c-a93b-41ac-8096-cd42de8be970" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "tags": { - "tagKey1": "tagValue1", - "tagKey2": "tagValue2" - }, - "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" + "error": { + "code": "SubscriptionNotFound", + "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." } } } ], "Variables": { - "RandomSeed": "156632161", + "RandomSeed": "215064588", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/GetAsync.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/GetAsync.json new file mode 100644 index 000000000000..3379adf6ef9c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/GetAsync.json @@ -0,0 +1,134 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fde37928c5137150de3c4ca44369dec7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "36482d4a-9b08-4fa5-8d77-641ca73f28e6", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "36482d4a-9b08-4fa5-8d77-641ca73f28e6", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:36482d4a-9b08-4fa5-8d77-641ca73f28e6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-5bffe8d9d6e0d04e98fbd9e7e5f7155a-accc8cd52dab824c-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c2cb4cd7a87b075d2c4b515c91b73a97", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1441cb69-71cb-4588-9cb1-bd65e17b1cc4", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "1441cb69-71cb-4588-9cb1-bd65e17b1cc4", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:1441cb69-71cb-4588-9cb1-bd65e17b1cc4" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-07d55d1ba874004f93a5680d998089ef-c46464a32233c24b-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9a3cdc70705303bf964a54e4b6be6021", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "129", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2b4200fc-218d-48d2-96b9-b6f7f2ca8ce3", + "x-ms-failure-cause": "gateway", + "x-ms-request-id": "2b4200fc-218d-48d2-96b9-b6f7f2ca8ce3", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:2b4200fc-218d-48d2-96b9-b6f7f2ca8ce3" + }, + "ResponseBody": { + "error": { + "code": "SubscriptionNotFound", + "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." + } + } + } + ], + "Variables": { + "RandomSeed": "388322589", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List.json similarity index 53% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List.json index 6a0acad5defd..b749b540d2b0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List.json @@ -1,41 +1,42 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210511.1", - "(.NET Core 4.6.29916.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "5453eacbe2431579248c8478b9b439da", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "18a50666345904013b67f46604614395", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "403", + "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 03:18:08 GMT", + "Date": "Tue, 10 Aug 2021 21:42:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cd083a2b-b0af-4968-bb7f-3da78e782608", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "cd083a2b-b0af-4968-bb7f-3da78e782608", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210511T031809Z:cd083a2b-b0af-4968-bb7f-3da78e782608" + "x-ms-correlation-request-id": "905647dd-a16a-4062-8b69-5d3252203e08", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "905647dd-a16a-4062-8b69-5d3252203e08", + "x-ms-routing-request-id": "WESTUS2:20210810T214204Z:905647dd-a16a-4062-8b69-5d3252203e08" }, "ResponseBody": { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", "authorizationSource": "RoleBased", "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", "state": "Enabled", "subscriptionPolicies": { "locationPlacementId": "Internal_2014-09-01", @@ -50,39 +51,40 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-f6229a3f96255c4eb4f86e2292a6e05d-0700d5af5c03f94a-00", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210511.1", - "(.NET Core 4.6.29916.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "774b9a80b2f57c1039c6584c410ddf04", + "traceparent": "00-3e7b17c9778f7d4686ad29702d17e6fe-8c0f0f19ce395949-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a579e9f40a3402923c26162ce568cba2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "450", + "Content-Length": "515", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 03:18:08 GMT", + "Date": "Tue, 10 Aug 2021 21:42:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0590023d-85d8-4ab0-8877-3aa9c95303eb", + "x-ms-correlation-request-id": "50b4112c-1f88-4c5b-9309-fbec2e282f9a", "x-ms-ratelimit-remaining-tenant-reads": "11999", - "x-ms-request-id": "0590023d-85d8-4ab0-8877-3aa9c95303eb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210511T031809Z:0590023d-85d8-4ab0-8877-3aa9c95303eb" + "x-ms-request-id": "50b4112c-1f88-4c5b-9309-fbec2e282f9a", + "x-ms-routing-request-id": "WESTUS2:20210810T214204Z:50b4112c-1f88-4c5b-9309-fbec2e282f9a" }, "ResponseBody": { "value": [ { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", "authorizationSource": "RoleBased", "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", "state": "Enabled", "subscriptionPolicies": { "locationPlacementId": "Internal_2014-09-01", @@ -99,7 +101,8 @@ } ], "Variables": { - "RandomSeed": "1379336306", - "SUBSCRIPTION_ID": "0accec26-d6de-4757-8e74-d080f38eaaab" + "RandomSeed": "20701901", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } } \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/ListAsync.json similarity index 52% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List()Async.json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/ListAsync.json index 220dfb884b96..9bc9d81ea737 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/List()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/ListAsync.json @@ -1,41 +1,42 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab?api-version=2019-11-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210511.1", - "(.NET Core 4.6.29916.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "746f9c8720e5d4879bdb08737441bf80", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "659a4e0ba79843f0db0c3f75788b7163", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "403", + "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 03:18:08 GMT", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c358a8b3-21ed-486b-88ec-b41aa81274c6", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "c358a8b3-21ed-486b-88ec-b41aa81274c6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210511T031809Z:c358a8b3-21ed-486b-88ec-b41aa81274c6" + "x-ms-correlation-request-id": "05d7acff-3e75-4d93-a221-3dfad4d5cd40", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "05d7acff-3e75-4d93-a221-3dfad4d5cd40", + "x-ms-routing-request-id": "WESTUS2:20210810T214206Z:05d7acff-3e75-4d93-a221-3dfad4d5cd40" }, "ResponseBody": { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", "authorizationSource": "RoleBased", "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", "state": "Enabled", "subscriptionPolicies": { "locationPlacementId": "Internal_2014-09-01", @@ -50,39 +51,40 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1f68e51d5a6c4a4791c139f6b8491242-9fbfd39c762f0b4d-00", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210511.1", - "(.NET Core 4.6.29916.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "a0e6efaab7aa9630d58fda4f254d492e", + "traceparent": "00-a4835ec5544d8b4385e00d9e2dca117a-dfe98997507ead4b-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a2056a012c92ac1b4fafb2b3b0bc9ec1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "450", + "Content-Length": "515", "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 11 May 2021 03:18:09 GMT", + "Date": "Tue, 10 Aug 2021 21:42:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "255c71bc-04c5-491c-ba8a-79e915153372", - "x-ms-ratelimit-remaining-tenant-reads": "11999", - "x-ms-request-id": "255c71bc-04c5-491c-ba8a-79e915153372", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210511T031809Z:255c71bc-04c5-491c-ba8a-79e915153372" + "x-ms-correlation-request-id": "9df9b16e-b2d6-4081-ab85-9d551ecbc959", + "x-ms-ratelimit-remaining-tenant-reads": "11998", + "x-ms-request-id": "9df9b16e-b2d6-4081-ab85-9d551ecbc959", + "x-ms-routing-request-id": "WESTUS2:20210810T214206Z:9df9b16e-b2d6-4081-ab85-9d551ecbc959" }, "ResponseBody": { "value": [ { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", "authorizationSource": "RoleBased", "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", + "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", "state": "Enabled", "subscriptionPolicies": { "locationPlacementId": "Internal_2014-09-01", @@ -99,7 +101,8 @@ } ], "Variables": { - "RandomSeed": "1153084172", - "SUBSCRIPTION_ID": "0accec26-d6de-4757-8e74-d080f38eaaab" + "RandomSeed": "2109559266", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } } \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet().json deleted file mode 100644 index ec3dbe17f8d5..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet().json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210517.1", - "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "5f67e6e5bbb1c55597815398f29990ac", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "403", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 17 May 2021 08:25:20 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "10f2b5d6-16a7-4547-ba12-229860122de6", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "10f2b5d6-16a7-4547-ba12-229860122de6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210517T082521Z:10f2b5d6-16a7-4547-ba12-229860122de6" - }, - "ResponseBody": { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-06bfb33bbc7d2d4489e43a23ead2498e-6fd10317b668374d-00", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210517.1", - "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "b8265557a1ecc6e90c040fa3e146cc6e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 404, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "129", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 17 May 2021 08:25:21 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d7f4014d-2a63-400d-9bdc-a6c5cda0465a", - "x-ms-failure-cause": "gateway", - "x-ms-request-id": "d7f4014d-2a63-400d-9bdc-a6c5cda0465a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210517T082521Z:d7f4014d-2a63-400d-9bdc-a6c5cda0465a" - }, - "ResponseBody": { - "error": { - "code": "SubscriptionNotFound", - "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-4810d819e42ad0458a57dffa1021a9d3-651986ce304d5c49-00", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210517.1", - "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "3b2da0aa02b8733139640f6caaabd042", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "403", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 17 May 2021 08:25:21 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e66f2064-23e5-42ac-a89a-2e43fa7f47b0", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "e66f2064-23e5-42ac-a89a-2e43fa7f47b0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210517T082521Z:e66f2064-23e5-42ac-a89a-2e43fa7f47b0" - }, - "ResponseBody": { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - } - } - } - ], - "Variables": { - "RandomSeed": "89275053", - "SUBSCRIPTION_ID": "0accec26-d6de-4757-8e74-d080f38eaaab" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet()Async.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet()Async.json deleted file mode 100644 index b63c86764ec6..000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet()Async.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210517.1", - "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "08e27b197f19770c22c185089ff3893e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "403", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 17 May 2021 08:56:40 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c4c7ae5a-c0f9-4724-b86b-80495b91dbc9", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "c4c7ae5a-c0f9-4724-b86b-80495b91dbc9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210517T085640Z:c4c7ae5a-c0f9-4724-b86b-80495b91dbc9" - }, - "ResponseBody": { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-147c0ff04cf1964db885c9fd13e7daec-92ce39d13d1dcd4b-00", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210517.1", - "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "6b14fde4e729027e18626b6369a0981c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 404, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "129", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 17 May 2021 08:56:40 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "77762705-5daa-4b46-93d2-0bd6594b7ce3", - "x-ms-failure-cause": "gateway", - "x-ms-request-id": "77762705-5daa-4b46-93d2-0bd6594b7ce3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210517T085640Z:77762705-5daa-4b46-93d2-0bd6594b7ce3" - }, - "ResponseBody": { - "error": { - "code": "SubscriptionNotFound", - "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab?api-version=2019-11-01", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "traceparent": "00-51756dffa3e4694c8096bd575d743b97-4c68a7fb73e20443-00", - "User-Agent": [ - "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210517.1", - "(.NET Core 4.6.30015.01; Microsoft Windows 10.0.19043 )" - ], - "x-ms-client-request-id": "95a7da9e5805e6d4261573917aa2e17a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Cache-Control": "no-cache", - "Content-Length": "403", - "Content-Type": "application/json; charset=utf-8", - "Date": "Mon, 17 May 2021 08:56:40 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "69a924b1-6272-4a68-b74c-9017cfbb5693", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "69a924b1-6272-4a68-b74c-9017cfbb5693", - "x-ms-routing-request-id": "SOUTHEASTASIA:20210517T085641Z:69a924b1-6272-4a68-b74c-9017cfbb5693" - }, - "ResponseBody": { - "id": "/subscriptions/0accec26-d6de-4757-8e74-d080f38eaaab", - "authorizationSource": "RoleBased", - "managedByTenants": [], - "subscriptionId": "0accec26-d6de-4757-8e74-d080f38eaaab", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": "ACR - TEST - China Team", - "state": "Enabled", - "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" - } - } - } - ], - "Variables": { - "RandomSeed": "463410310", - "SUBSCRIPTION_ID": "0accec26-d6de-4757-8e74-d080f38eaaab" - } -} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet.json new file mode 100644 index 000000000000..23946efdd181 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGet.json @@ -0,0 +1,134 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "81b01a32db2cc6d24c0f55d82e56d562", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 21:42:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "20f8a37a-0900-447e-91f3-9cabdc94aab5", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "20f8a37a-0900-447e-91f3-9cabdc94aab5", + "x-ms-routing-request-id": "WESTUS2:20210810T214204Z:20f8a37a-0900-447e-91f3-9cabdc94aab5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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/00000000-0000-0000-0000-000000000000?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-937eb678b87cd446936a48c3cc25781f-4c910337f6c0114d-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b4ec5acac99b0bd19a5c61beeca7bdb7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "129", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 21:42:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ae521236-e0c1-407e-aafb-df931f2d1465", + "x-ms-failure-cause": "gateway", + "x-ms-request-id": "ae521236-e0c1-407e-aafb-df931f2d1465", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:ae521236-e0c1-407e-aafb-df931f2d1465" + }, + "ResponseBody": { + "error": { + "code": "SubscriptionNotFound", + "message": "The subscription \u002700000000-0000-0000-0000-000000000000\u0027 could not be found." + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e2a82daa20901d4c83144e8a5a4dc2d3-c3fb6fdec155504c-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c5f809d575851dabdca110c12179bbf0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 10 Aug 2021 21:42:05 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fdc5a160-3f2c-42a0-874e-2ca2b77d273c", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "fdc5a160-3f2c-42a0-874e-2ca2b77d273c", + "x-ms-routing-request-id": "WESTUS2:20210810T214205Z:fdc5a160-3f2c-42a0-874e-2ca2b77d273c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "126007643", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists().json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGetAsync.json similarity index 69% rename from sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists().json rename to sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGetAsync.json index c28fa3abf048..1b7815622a4e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/CheckIfExists().json +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionContainerTests/TryGetAsync.json @@ -6,8 +6,8 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210721.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "276fbbe0798c4f2b72096af8059fed8d", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "24801b9abc24e07d4f59e063c41ce7dc", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 21 Jul 2021 17:22:07 GMT", + "Date": "Tue, 10 Aug 2021 21:42:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ac16e260-cb68-4f24-bd61-378085eca005", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "ac16e260-cb68-4f24-bd61-378085eca005", - "x-ms-routing-request-id": "WESTUS2:20210721T172208Z:ac16e260-cb68-4f24-bd61-378085eca005" + "x-ms-correlation-request-id": "dfe51d57-1685-4044-b712-9b634b2df5f6", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "dfe51d57-1685-4044-b712-9b634b2df5f6", + "x-ms-routing-request-id": "WESTUS2:20210810T214206Z:dfe51d57-1685-4044-b712-9b634b2df5f6" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -51,9 +51,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8f6957a7dddbcb43a9cb4d5188f78e28-42a1b992b151864e-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210721.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "cc630670efd277e717ef8e413c75ea35", + "traceparent": "00-db74db5d3a42834aa15faee9faf50289-925264717a682049-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e79f5d7d7a8266bf06dccfedb56521f0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -62,15 +62,15 @@ "Cache-Control": "no-cache", "Content-Length": "129", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 21 Jul 2021 17:22:07 GMT", + "Date": "Tue, 10 Aug 2021 21:42:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fe96da2a-1081-466d-b12f-5759fc921dfd", + "x-ms-correlation-request-id": "f658f650-1cde-4511-aa71-5aec5357677a", "x-ms-failure-cause": "gateway", - "x-ms-request-id": "fe96da2a-1081-466d-b12f-5759fc921dfd", - "x-ms-routing-request-id": "WESTUS2:20210721T172208Z:fe96da2a-1081-466d-b12f-5759fc921dfd" + "x-ms-request-id": "f658f650-1cde-4511-aa71-5aec5357677a", + "x-ms-routing-request-id": "WESTUS2:20210810T214206Z:f658f650-1cde-4511-aa71-5aec5357677a" }, "ResponseBody": { "error": { @@ -85,9 +85,9 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1e4224b99f1daa4abd4523b8014c8c7d-40cc645cc871e346-00", - "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210721.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", - "x-ms-client-request-id": "89ec8bc3873e721f91d9fab6256fb885", + "traceparent": "00-8e7bf8667f8fa148bb4f9b23b50f0cbb-85c9337f05170042-00", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210810.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "02b145273835fa1ec25613dc0360e888", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -96,15 +96,15 @@ "Cache-Control": "no-cache", "Content-Length": "468", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 21 Jul 2021 17:22:07 GMT", + "Date": "Tue, 10 Aug 2021 21:42:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "38ad480e-581e-4bde-88cd-b8883728f48c", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "38ad480e-581e-4bde-88cd-b8883728f48c", - "x-ms-routing-request-id": "WESTUS2:20210721T172208Z:38ad480e-581e-4bde-88cd-b8883728f48c" + "x-ms-correlation-request-id": "455a066d-2514-4236-9fa9-eb3da37063d9", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "455a066d-2514-4236-9fa9-eb3da37063d9", + "x-ms-routing-request-id": "WESTUS2:20210810T214206Z:455a066d-2514-4236-9fa9-eb3da37063d9" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -127,7 +127,7 @@ } ], "Variables": { - "RandomSeed": "702366739", + "RandomSeed": "1196372113", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionOperationsTests/NoDataValidation.json b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionOperationsTests/NoDataValidation.json new file mode 100644 index 000000000000..4dc493b33581 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/SessionRecords/SubscriptionOperationsTests/NoDataValidation.json @@ -0,0 +1,54 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager/1.0.0-alpha.20210809.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7ff966cd2acde4e5135d662e6954824e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "468", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 09 Aug 2021 17:29:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0bdec293-e8a2-4e88-b4a0-d16768309c7b", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "0bdec293-e8a2-4e88-b4a0-d16768309c7b", + "x-ms-routing-request-id": "WESTUS:20210809T172937Z:0bdec293-e8a2-4e88-b4a0-d16768309c7b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "tags": { + "tagKey1": "tagValue1", + "tagKey2": "tagValue2" + }, + "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" + } + } + } + ], + "Variables": { + "RandomSeed": "1420003475", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/GenericResourceDataTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/GenericResourceDataTests.cs index 65a1757637aa..ff068d38b349 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/GenericResourceDataTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/GenericResourceDataTests.cs @@ -20,7 +20,7 @@ public void SerializationTestType1() ResourceIdentifier id = Id; Plan plan = new Plan("NameForPlan", "PublisherForPlan", "ProductForPlan", "PromotionCodeForPlan", "VersionForPlan"); Sku sku = new Sku("NameForSku", "TierForSku", "SizeForSku", "FamilyForSku", "ModelForSku", 15464547); - GenericResourceData data = new GenericResourceData(id, id.Name, id.ResourceType, Location.EastUS, null, plan, null, "KindForResource", "ManagedByForResource", sku, null); + GenericResourceData data = new GenericResourceData(id, id.Name, id.ResourceType, Location.EastUS, null, plan, null, "KindForResource", "ManagedByForResource", sku, null, null, null, null); var json = JsonHelper.SerializePropertiesToString(data, indented: true) + Environment.NewLine; Assert.AreEqual(expected, json); @@ -35,7 +35,7 @@ public void SerializationTestType2() var kind = "KindForResource"; var managedBy = "ManagedByForResource"; var sku = new Sku("NameForSku", "TierForSku", "SizeForSku", "FamilyForSku", "ModelForSku", 15464547); - GenericResourceData genericResource = new GenericResourceData(id, id.Name, id.ResourceType, Location.EastUS, null, plan, null, kind, managedBy, sku, null); + GenericResourceData genericResource = new GenericResourceData(id, id.Name, id.ResourceType, Location.EastUS, null, plan, null, kind, managedBy, sku, null, null, null, null); genericResource.Tags.Add("key1", "value1"); genericResource.Tags.Add("key2", "value2"); @@ -48,7 +48,7 @@ public void InvalidSerializationTest() { string expected = "{\"properties\":{\"location\":\"eastus\",\"tags\":{}}}"; ResourceIdentifier id = Id; - GenericResourceData data = new GenericResourceData(id, id.Name, id.ResourceType, Location.EastUS, null, null, null, null, null, null, null); + GenericResourceData data = new GenericResourceData(id, id.Name, id.ResourceType, Location.EastUS, null, null, null, null, null, null, null, null, null, null); var json = JsonHelper.SerializePropertiesToString(data); Assert.AreEqual(expected, json); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ResourceListOperationsTest.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ResourceListOperationsTest.cs index 1aecf3a8668f..8545ddfcf264 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ResourceListOperationsTest.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ResourceListOperationsTest.cs @@ -39,7 +39,7 @@ private static GenericResourceData GetGenericResource( string location) { ResourceIdentifier id = $"/subscriptions/{Guid.NewGuid().ToString()}/resourceGroups/myResourceGroup/providers/Microsoft.Widgets/widgets/myWidget"; - return new GenericResourceData(id, id.Name, id.ResourceType, location, tags, plan, null, kind, managedBy, sku, null); + return new GenericResourceData(id, id.Name, id.ResourceType, location, tags, plan, null, kind, managedBy, sku, null, null, null, null); } } }