diff --git a/common/ManagementTestShared/Redesign/ManagementGroupCleanupPolicy.cs b/common/ManagementTestShared/Redesign/ManagementGroupCleanupPolicy.cs new file mode 100644 index 000000000000..0b4d0524056c --- /dev/null +++ b/common/ManagementTestShared/Redesign/ManagementGroupCleanupPolicy.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; +using Azure.Core.Pipeline; +using System.Collections.Generic; +using System.Text.RegularExpressions; + +namespace Azure.ResourceManager.TestFramework +{ + public class ManagementGroupCleanupPolicy : HttpPipelineSynchronousPolicy + { + private readonly object _listLock = new object(); + private Regex _mgmtGroupPattern = new Regex(@"(/providers/Microsoft\.Management/managementGroups/[^?/]+)\?api-version"); + private readonly IList _mgmtGroupCreated = new List(); + + public IList ManagementGroupsCreated + { + get { return _mgmtGroupCreated; } + } + + public override void OnSendingRequest(HttpMessage message) + { + if (message.Request.Method == RequestMethod.Put) + { + var match = _mgmtGroupPattern.Match(message.Request.Uri.ToString()); + if (match.Success) + { + lock (_listLock) + { + _mgmtGroupCreated.Add(match.Groups[1].Value); + } + } + } + } + } +} diff --git a/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs b/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs index bb21aec95095..bf2af29c6e96 100644 --- a/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs +++ b/common/ManagementTestShared/Redesign/ManagementRecordedTestBase.cs @@ -17,9 +17,13 @@ namespace Azure.ResourceManager.TestFramework public abstract class ManagementRecordedTestBase : RecordedTestBase where TEnvironment: TestEnvironment, new() { - protected ResourceGroupCleanupPolicy CleanupPolicy = new ResourceGroupCleanupPolicy(); + protected ResourceGroupCleanupPolicy ResourceGroupCleanupPolicy = new ResourceGroupCleanupPolicy(); - protected ResourceGroupCleanupPolicy OneTimeCleanupPolicy = new ResourceGroupCleanupPolicy(); + protected ResourceGroupCleanupPolicy OneTimeResourceGroupCleanupPolicy = new ResourceGroupCleanupPolicy(); + + protected ManagementGroupCleanupPolicy ManagementGroupCleanupPolicy = new ManagementGroupCleanupPolicy(); + + protected ManagementGroupCleanupPolicy OneTimeManagementGroupCleanupPolicy = new ManagementGroupCleanupPolicy(); protected ArmClient GlobalClient { get; private set; } @@ -70,7 +74,8 @@ private ArmClient GetCleanupClient() protected ArmClient GetArmClient(ArmClientOptions clientOptions = default) { var options = InstrumentClientOptions(clientOptions ?? new ArmClientOptions()); - options.AddPolicy(CleanupPolicy, HttpPipelinePosition.PerCall); + options.AddPolicy(ResourceGroupCleanupPolicy, HttpPipelinePosition.PerCall); + options.AddPolicy(ManagementGroupCleanupPolicy, HttpPipelinePosition.PerCall); return CreateClient( TestEnvironment.SubscriptionId, @@ -89,7 +94,7 @@ protected void CleanupResourceGroups() { if (Mode != RecordedTestMode.Playback) { - Parallel.ForEach(CleanupPolicy.ResourceGroupsCreated, resourceGroup => + Parallel.ForEach(ResourceGroupCleanupPolicy.ResourceGroupsCreated, resourceGroup => { try { @@ -98,7 +103,19 @@ protected void CleanupResourceGroups() } catch (RequestFailedException e) when (e.Status == 404) { - //we assume the test case cleaned up it up if it no longer exists. + //we assume the test case cleaned it up if it no longer exists. + } + }); + + Parallel.ForEach(ManagementGroupCleanupPolicy.ManagementGroupsCreated, mgmtGroupId => + { + try + { + _cleanupClient.GetManagementGroupOperations(mgmtGroupId).StartDelete(); + } + catch (RequestFailedException e) when (e.Status == 404 || e.Status == 403) + { + //we assume the test case cleaned it up if it no longer exists. } }); } @@ -138,7 +155,8 @@ public void OneTimeSetUp() StartSessionRecording(); var options = InstrumentClientOptions(new ArmClientOptions(), SessionRecording); - options.AddPolicy(OneTimeCleanupPolicy, HttpPipelinePosition.PerCall); + options.AddPolicy(OneTimeResourceGroupCleanupPolicy, HttpPipelinePosition.PerCall); + options.AddPolicy(OneTimeManagementGroupCleanupPolicy, HttpPipelinePosition.PerCall); GlobalClient = CreateClient( SessionEnvironment.SubscriptionId, @@ -174,11 +192,15 @@ public void OneTimeCleanupResourceGroups() { if (Mode != RecordedTestMode.Playback) { - Parallel.ForEach(OneTimeCleanupPolicy.ResourceGroupsCreated, resourceGroup => + Parallel.ForEach(OneTimeResourceGroupCleanupPolicy.ResourceGroupsCreated, resourceGroup => { var sub = _cleanupClient.GetSubscriptions().TryGet(SessionEnvironment.SubscriptionId); sub?.GetResourceGroups().Get(resourceGroup).Value.StartDelete(); }); + Parallel.ForEach(OneTimeManagementGroupCleanupPolicy.ManagementGroupsCreated, mgmtGroupId => + { + _cleanupClient.GetManagementGroupOperations(mgmtGroupId).StartDelete(); + }); } if (!(GlobalClient is null)) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/ArmClient.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/ArmClient.cs index 173720872fcd..3c0c9c409814 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/ArmClient.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/ArmClient.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.ComponentModel; -using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -243,5 +242,18 @@ public virtual RestApiContainer GetRestApis(string nameSpace) /// The cancellation token to use. /// is null. public virtual async Task> GetProviderAsync(string resourceProviderNamespace, string expand = null, CancellationToken cancellationToken = default) => await _tenant.GetProviderAsync(resourceProviderNamespace, expand, cancellationToken).ConfigureAwait(false); -} + + /// + /// Gets the management group container for this tenant. + /// + /// A container of the management groups. + public virtual ManagementGroupContainer GetManagementGroups() => _tenant.GetManagementGroups(); + + /// + /// 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. + public virtual ManagementGroupOperations GetManagementGroupOperations(string id) => _tenant.GetManagementGroupOperations(id); + } } diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroup.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroup.cs new file mode 100644 index 000000000000..cf2afe2ae6ec --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroup.cs @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.ResourceManager.Core +{ + /// + /// A class representing a ManagementGroup along with the instance operations that can be performed on it. + /// + public class ManagementGroup : ManagementGroupOperations + { + /// + /// Initializes a new instance of the class for mocking. + /// + protected ManagementGroup() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// The operations to copy the client options from. + /// The ManagementGroupData to use in these operations. + internal ManagementGroup(OperationsBase operations, ManagementGroupData resource) + : base(operations, resource.Id) + { + Data = resource; + } + + /// + /// Gets the data representing this ManagementGroup. + /// + public virtual ManagementGroupData Data { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupContainer.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupContainer.cs new file mode 100644 index 000000000000..d3a28e5d9cbb --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupContainer.cs @@ -0,0 +1,470 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.Core +{ + /// + /// A class representing collection of ManagementGroupContainer and their operations over a ManagementGroup. + /// + public class ManagementGroupContainer : ResourceContainerBase + { + private readonly ClientDiagnostics _clientDiagnostics; + private ManagementGroupsRestOperations _restClient; + + /// + /// Initializes a new instance of the class for mocking. + /// + protected ManagementGroupContainer() + { + } + + /// + /// Initializes a new instance of the class. + /// + /// The parent tenant. + internal ManagementGroupContainer(TenantOperations tenant) + : base(tenant) + { + _clientDiagnostics = new ClientDiagnostics(ClientOptions); + _restClient = new ManagementGroupsRestOperations(_clientDiagnostics, Pipeline, BaseUri); + } + + /// + protected override ResourceType ValidResourceType => TenantOperations.ResourceType; + + /// + /// List management groups for the authenticated user. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// + /// 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. + /// . + /// + /// The cancellation token to use. + public virtual Pageable List(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + { + Page FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.List"); + 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()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + Page NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.List"); + 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()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); + } + + /// + /// List management groups for the authenticated user. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// + /// 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. + /// . + /// + /// The cancellation token to use. + public virtual AsyncPageable ListAsync(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.List"); + 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()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + async Task> NextPageFunc(string nextLink, int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.List"); + 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()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); + } + + /// + /// Get the details of the management group. + /// . + /// + /// Management Group ID. + /// 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(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.Get"); + scope.Start(); + try + { + var response = _restClient.Get(groupId, expand, recurse, filter, cacheControl, cancellationToken); + return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Get the details of the management group. + /// . + /// + /// Management Group ID. + /// 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(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.Get"); + scope.Start(); + try + { + var response = await _restClient.GetAsync(groupId, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new ManagementGroup(this, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Tries to get the details of the management group. + /// . + /// + /// Management Group ID. + /// 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 ManagementGroup TryGet(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.TryGet"); + scope.Start(); + try + { + return Get(groupId, expand, recurse, filter, cacheControl, cancellationToken).Value; + } + catch (RequestFailedException e) when (e.Status == 404) + { + return null; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Tries to get the details of the management group. + /// . + /// + /// Management Group ID. + /// 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 TryGetAsync(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.TryGet"); + scope.Start(); + try + { + return await GetAsync(groupId, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false); + } + catch (RequestFailedException e) when (e.Status == 404) + { + return null; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Checks to see if the management group exists. + /// . + /// + /// Management Group ID. + /// 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 bool DoesExist(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.DoesExist"); + scope.Start(); + try + { + return TryGet(groupId, expand, recurse, filter, cacheControl, cancellationToken) != null; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Checks to see if the management group exists. + /// . + /// + /// Management Group ID. + /// 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 DoesExistAsync(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.DoesExist"); + scope.Start(); + try + { + return await TryGetAsync(groupId, expand, recurse, filter, cacheControl, cancellationToken).ConfigureAwait(false) != null; + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update a management group. + /// If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated. + /// . + /// + /// Management Group ID. + /// Management group creation 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. + /// or is null. + public virtual Response CreateOrUpdate(string groupId, CreateManagementGroupRequest createManagementGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (createManagementGroupRequest == null) + { + throw new ArgumentNullException(nameof(createManagementGroupRequest)); + } + + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CreateOrUpdate"); + scope.Start(); + try + { + var operation = StartCreateOrUpdate(groupId, createManagementGroupRequest, cacheControl, cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update a management group. + /// If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated. + /// . + /// + /// Management Group ID. + /// Management group creation 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. + /// or is null. + public async virtual Task> CreateOrUpdateAsync(string groupId, CreateManagementGroupRequest createManagementGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (createManagementGroupRequest == null) + { + throw new ArgumentNullException(nameof(createManagementGroupRequest)); + } + + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CreateOrUpdate"); + scope.Start(); + try + { + var operation = await StartCreateOrUpdateAsync(groupId, createManagementGroupRequest, cacheControl, cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update a management group. + /// If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated. + /// . + /// + /// Management Group ID. + /// Management group creation 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. + /// or is null. + public virtual ManagementGroupsCreateOrUpdateOperation StartCreateOrUpdate(string groupId, CreateManagementGroupRequest createManagementGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (createManagementGroupRequest == null) + { + throw new ArgumentNullException(nameof(createManagementGroupRequest)); + } + + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.StartCreateOrUpdate"); + scope.Start(); + try + { + var originalResponse = _restClient.CreateOrUpdate(groupId, createManagementGroupRequest, cacheControl, cancellationToken); + return new ManagementGroupsCreateOrUpdateOperation(this, _clientDiagnostics, Pipeline, _restClient.CreateCreateOrUpdateRequest(groupId, createManagementGroupRequest, cacheControl).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Create or update a management group. + /// If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated. + /// . + /// + /// Management Group ID. + /// Management group creation 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. + /// or is null. + public async virtual Task StartCreateOrUpdateAsync(string groupId, CreateManagementGroupRequest createManagementGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (createManagementGroupRequest == null) + { + throw new ArgumentNullException(nameof(createManagementGroupRequest)); + } + + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.StartCreateOrUpdate"); + scope.Start(); + try + { + var originalResponse = await _restClient.CreateOrUpdateAsync(groupId, createManagementGroupRequest, cacheControl, cancellationToken).ConfigureAwait(false); + return new ManagementGroupsCreateOrUpdateOperation(this, _clientDiagnostics, Pipeline, _restClient.CreateCreateOrUpdateRequest(groupId, createManagementGroupRequest, cacheControl).Request, originalResponse); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Checks if the specified management group name is valid and unique. + /// Management group name availability check parameters. + /// The cancellation token to use. + public virtual Response CheckNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CheckNameAvailability"); + scope.Start(); + try + { + return _restClient.CheckNameAvailability(checkNameAvailabilityRequest, cancellationToken); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Checks if the specified management group name is valid and unique. + /// Management group name availability check parameters. + /// The cancellation token to use. + public async virtual Task> CheckNameAvailabilityAsync(CheckNameAvailabilityRequest checkNameAvailabilityRequest, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupContainer.CheckNameAvailability"); + scope.Start(); + try + { + return await _restClient.CheckNameAvailabilityAsync(checkNameAvailabilityRequest, cancellationToken).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupInfo.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupInfo.cs new file mode 100644 index 000000000000..bd2abf79f917 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupInfo.cs @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.ResourceManager.Core +{ + /// + /// 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(OperationsBase 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.Core/src/Generated/ManagementGroup/ManagementGroupOperations.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupOperations.cs new file mode 100644 index 000000000000..b8c985d7f0c3 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupOperations.cs @@ -0,0 +1,339 @@ +// 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; + +namespace Azure.ResourceManager.Core +{ + /// + /// A class representing the operations that can be performed over a specific ManagementGroup. + /// + public class ManagementGroupOperations : ResourceOperationsBase + { + 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(OperationsBase options, TenantResourceIdentifier 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; + + /// + public override Response Get(CancellationToken cancellationToken = default) + { + return Get(null, null, null, null, cancellationToken); + } + + /// + public async override Task> GetAsync(CancellationToken cancellationToken = default) + { + return await GetAsync(null, null, null, null, cancellationToken).ConfigureAwait(false); + } + + /// + /// 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); + 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); + 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 ManagementGroupsDeleteOperation 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 ManagementGroupsDeleteOperation(_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 ManagementGroupsDeleteOperation(_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 ListDescendants(string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + Page FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.ListDescendants"); + 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.ListDescendants"); + 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 ListDescendantsAsync(string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.ListDescendants"); + 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.ListDescendants"); + 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(PatchManagementGroupRequest patchGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Update"); + scope.Start(); + try + { + var response = _restClient.Update(Id.Name, patchGroupRequest, 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(PatchManagementGroupRequest patchGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + using var scope = _clientDiagnostics.CreateScope("ManagementGroupOperations.Update"); + scope.Start(); + try + { + var response = await _restClient.UpdateAsync(Id.Name, patchGroupRequest, 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.Core/src/Generated/ManagementGroup/ManagementGroupsCreateOrUpdateHeaders.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsCreateOrUpdateHeaders.cs new file mode 100644 index 000000000000..e98f4d29647b --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsCreateOrUpdateHeaders.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + internal partial class ManagementGroupsCreateOrUpdateHeaders + { + private readonly Response _response; + public ManagementGroupsCreateOrUpdateHeaders(Response response) + { + _response = response; + } + /// + /// URL for determining when an operation has completed. Send a GET request to the URL in Location header. + /// The URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state. + /// + /// For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers. + /// + public string Location => _response.Headers.TryGetValue("Location", out string value) ? value : null; + /// + /// URL for checking the ongoing status of the operation. + /// To get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value. + /// + /// For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations. + /// + public string AzureAsyncOperation => _response.Headers.TryGetValue("Azure-AsyncOperation", out string value) ? value : null; + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsCreateOrUpdateOperation.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsCreateOrUpdateOperation.cs new file mode 100644 index 000000000000..81b538bd9ff0 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsCreateOrUpdateOperation.cs @@ -0,0 +1,77 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.Core +{ + /// + /// Create or update a management group. + /// If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated. + /// . + /// + public partial class ManagementGroupsCreateOrUpdateOperation : Operation, IOperationSource + { + private readonly OperationOrResponseInternals _operation; + + private readonly OperationsBase _operationBase; + + /// Initializes a new instance of ManagementGroupsCreateOrUpdateOperation for mocking. + protected ManagementGroupsCreateOrUpdateOperation() + { + } + + internal ManagementGroupsCreateOrUpdateOperation(OperationsBase operationsBase, ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) + { + _operation = new OperationOrResponseInternals(this, clientDiagnostics, pipeline, request, response, OperationFinalStateVia.AzureAsyncOperation, "ManagementGroupsCreateOrUpdateOperation"); + _operationBase = operationsBase; + } + /// + public override string Id => _operation.Id; + + /// + public override ManagementGroup Value => _operation.Value; + + /// + public override bool HasCompleted => _operation.HasCompleted; + + /// + public override bool HasValue => _operation.HasValue; + + /// + public override Response GetRawResponse() => _operation.GetRawResponse(); + + /// + public override Response UpdateStatus(CancellationToken cancellationToken = default) => _operation.UpdateStatus(cancellationToken); + + /// + public override ValueTask UpdateStatusAsync(CancellationToken cancellationToken = default) => _operation.UpdateStatusAsync(cancellationToken); + + /// + public override ValueTask> WaitForCompletionAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(cancellationToken); + + /// + public override ValueTask> WaitForCompletionAsync(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletionAsync(pollingInterval, cancellationToken); + + ManagementGroup IOperationSource.CreateResult(Response response, CancellationToken cancellationToken) + { + using var document = JsonDocument.Parse(response.ContentStream); + return new ManagementGroup(_operationBase, ManagementGroupData.DeserializeManagementGroup(document.RootElement)); + } + + async ValueTask IOperationSource.CreateResultAsync(Response response, CancellationToken cancellationToken) + { + using var document = await JsonDocument.ParseAsync(response.ContentStream, default, cancellationToken).ConfigureAwait(false); + return new ManagementGroup(_operationBase, ManagementGroupData.DeserializeManagementGroup(document.RootElement)); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsDeleteHeaders.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsDeleteHeaders.cs new file mode 100644 index 000000000000..d6812de06128 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsDeleteHeaders.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + internal partial class ManagementGroupsDeleteHeaders + { + private readonly Response _response; + public ManagementGroupsDeleteHeaders(Response response) + { + _response = response; + } + /// + /// URL for determining when an operation has completed. Send a GET request to the URL in Location header. + /// The URI should return a 202 until the operation reaches a terminal state and 200 once it reaches a terminal state. + /// + /// For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#202-accepted-and-location-headers. + /// + public string Location => _response.Headers.TryGetValue("Location", out string value) ? value : null; + /// + /// URL for checking the ongoing status of the operation. + /// To get the status of the asynchronous operation, send a GET request to the URL in Azure-AsyncOperation header value. + /// + /// For more info: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#asynchronous-operations. + /// + public string AzureAsyncOperation => _response.Headers.TryGetValue("Azure-AsyncOperation", out string value) ? value : null; + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsDeleteOperation.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsDeleteOperation.cs new file mode 100644 index 000000000000..f92eb24dcd08 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsDeleteOperation.cs @@ -0,0 +1,55 @@ +// 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.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.Core +{ + /// + /// Delete management group. + /// If a management group contains child resources, the request will fail. + /// . + /// + public partial class ManagementGroupsDeleteOperation : Operation + { + private readonly OperationOrResponseInternals _operation; + + /// Initializes a new instance of ManagementGroupsDeleteOperation for mocking. + protected ManagementGroupsDeleteOperation() + { + } + + internal ManagementGroupsDeleteOperation(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Request request, Response response) + { + _operation = new OperationOrResponseInternals(clientDiagnostics, pipeline, request, response, OperationFinalStateVia.AzureAsyncOperation, "ManagementGroupsDeleteOperation"); + } + /// + public override string Id => _operation.Id; + + /// + public override bool HasCompleted => _operation.HasCompleted; + + /// + public override Response GetRawResponse() => _operation.GetRawResponse(); + + /// + public override Response UpdateStatus(CancellationToken cancellationToken = default) => _operation.UpdateStatus(cancellationToken); + + /// + public override ValueTask UpdateStatusAsync(CancellationToken cancellationToken = default) => _operation.UpdateStatusAsync(cancellationToken); + + /// + public override ValueTask WaitForCompletionResponseAsync(CancellationToken cancellationToken = default) => _operation.WaitForCompletionResponseAsync(cancellationToken); + + /// + public override ValueTask WaitForCompletionResponseAsync(TimeSpan pollingInterval, CancellationToken cancellationToken = default) => _operation.WaitForCompletionResponseAsync(pollingInterval, cancellationToken); + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsRestOperations.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsRestOperations.cs new file mode 100644 index 000000000000..72c99c04bf86 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/ManagementGroupsRestOperations.cs @@ -0,0 +1,838 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.ResourceManager.Core +{ + internal partial class ManagementGroupsRestOperations + { + private Uri endpoint; + private string apiVersion; + private ClientDiagnostics _clientDiagnostics; + private HttpPipeline _pipeline; + + /// Initializes a new instance of ManagementGroupsRestOperations. + /// The handler for diagnostic messaging in the client. + /// The HTTP pipeline for sending and receiving REST requests and responses. + /// server parameter. + /// Api Version. + /// is null. + public ManagementGroupsRestOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint = null, string apiVersion = "2021-04-01") + { + endpoint ??= new Uri("https://management.azure.com"); + if (apiVersion == null) + { + throw new ArgumentNullException(nameof(apiVersion)); + } + + this.endpoint = endpoint; + this.apiVersion = apiVersion; + _clientDiagnostics = clientDiagnostics; + _pipeline = pipeline; + } + + internal HttpMessage CreateListRequest(string cacheControl, string skiptoken) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendPath("/providers/Microsoft.Management/managementGroups", false); + uri.AppendQuery("api-version", apiVersion, true); + if (skiptoken != null) + { + uri.AppendQuery("$skiptoken", skiptoken, true); + } + request.Uri = uri; + if (cacheControl != null) + { + request.Headers.Add("Cache-Control", cacheControl); + } + request.Headers.Add("Accept", "application/json"); + return message; + } + + /// + /// List management groups for the authenticated user. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// + /// 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. + /// . + /// + /// The cancellation token to use. + public async Task> ListAsync(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + { + using var message = CreateListRequest(cacheControl, skiptoken); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = ManagementGroupListResult.DeserializeManagementGroupListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// List management groups for the authenticated user. + /// . + /// + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// + /// 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. + /// . + /// + /// The cancellation token to use. + public Response List(string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + { + using var message = CreateListRequest(cacheControl, skiptoken); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = ManagementGroupListResult.DeserializeManagementGroupListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateGetRequest(string groupId, ManagementGroupExpandType? expand, bool? recurse, string filter, string cacheControl) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendPath("/providers/Microsoft.Management/managementGroups/", false); + uri.AppendPath(groupId, true); + uri.AppendQuery("api-version", apiVersion, true); + if (expand != null) + { + uri.AppendQuery("$expand", expand.Value.ToString(), true); + } + if (recurse != null) + { + uri.AppendQuery("$recurse", recurse.Value, true); + } + if (filter != null) + { + uri.AppendQuery("$filter", filter, true); + } + request.Uri = uri; + if (cacheControl != null) + { + request.Headers.Add("Cache-Control", cacheControl); + } + request.Headers.Add("Accept", "application/json"); + return message; + } + + /// + /// Get the details of the management group. + /// . + /// + /// Management Group ID. + /// 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. + /// is null. + public async Task> GetAsync(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateGetRequest(groupId, expand, recurse, filter, cacheControl); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupData value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = ManagementGroupData.DeserializeManagementGroup(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// Get the details of the management group. + /// . + /// + /// Management Group ID. + /// 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. + /// is null. + public Response Get(string groupId, ManagementGroupExpandType? expand = null, bool? recurse = null, string filter = null, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateGetRequest(groupId, expand, recurse, filter, cacheControl); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupData value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = ManagementGroupData.DeserializeManagementGroup(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateCreateOrUpdateRequest(string groupId, CreateManagementGroupRequest createManagementGroupRequest, string cacheControl) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendPath("/providers/Microsoft.Management/managementGroups/", false); + uri.AppendPath(groupId, true); + uri.AppendQuery("api-version", apiVersion, true); + request.Uri = uri; + if (cacheControl != null) + { + request.Headers.Add("Cache-Control", cacheControl); + } + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(createManagementGroupRequest); + request.Content = content; + return message; + } + + /// + /// Create or update a management group. + /// If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated. + /// . + /// + /// Management Group ID. + /// Management group creation 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. + /// or is null. + public async Task> CreateOrUpdateAsync(string groupId, CreateManagementGroupRequest createManagementGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (createManagementGroupRequest == null) + { + throw new ArgumentNullException(nameof(createManagementGroupRequest)); + } + + using var message = CreateCreateOrUpdateRequest(groupId, createManagementGroupRequest, cacheControl); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + var headers = new ManagementGroupsCreateOrUpdateHeaders(message.Response); + switch (message.Response.Status) + { + case 200: + case 202: + return ResponseWithHeaders.FromValue(headers, message.Response); + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// Create or update a management group. + /// If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated. + /// . + /// + /// Management Group ID. + /// Management group creation 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. + /// or is null. + public ResponseWithHeaders CreateOrUpdate(string groupId, CreateManagementGroupRequest createManagementGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (createManagementGroupRequest == null) + { + throw new ArgumentNullException(nameof(createManagementGroupRequest)); + } + + using var message = CreateCreateOrUpdateRequest(groupId, createManagementGroupRequest, cacheControl); + _pipeline.Send(message, cancellationToken); + var headers = new ManagementGroupsCreateOrUpdateHeaders(message.Response); + switch (message.Response.Status) + { + case 200: + case 202: + return ResponseWithHeaders.FromValue(headers, message.Response); + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateUpdateRequest(string groupId, PatchManagementGroupRequest patchGroupRequest, string cacheControl) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Patch; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendPath("/providers/Microsoft.Management/managementGroups/", false); + uri.AppendPath(groupId, true); + uri.AppendQuery("api-version", apiVersion, true); + request.Uri = uri; + if (cacheControl != null) + { + request.Headers.Add("Cache-Control", cacheControl); + } + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(patchGroupRequest); + request.Content = content; + return message; + } + + /// + /// Update a management group. + /// . + /// + /// Management Group ID. + /// 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. + /// or is null. + public async Task> UpdateAsync(string groupId, PatchManagementGroupRequest patchGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (patchGroupRequest == null) + { + throw new ArgumentNullException(nameof(patchGroupRequest)); + } + + using var message = CreateUpdateRequest(groupId, patchGroupRequest, cacheControl); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupData value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = ManagementGroupData.DeserializeManagementGroup(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// Update a management group. + /// . + /// + /// Management Group ID. + /// 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. + /// or is null. + public Response Update(string groupId, PatchManagementGroupRequest patchGroupRequest, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + if (patchGroupRequest == null) + { + throw new ArgumentNullException(nameof(patchGroupRequest)); + } + + using var message = CreateUpdateRequest(groupId, patchGroupRequest, cacheControl); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupData value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = ManagementGroupData.DeserializeManagementGroup(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateDeleteRequest(string groupId, string cacheControl) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendPath("/providers/Microsoft.Management/managementGroups/", false); + uri.AppendPath(groupId, true); + uri.AppendQuery("api-version", apiVersion, true); + request.Uri = uri; + if (cacheControl != null) + { + request.Headers.Add("Cache-Control", cacheControl); + } + request.Headers.Add("Accept", "application/json"); + return message; + } + + /// + /// Delete management group. + /// If a management group contains child resources, the request will fail. + /// . + /// + /// Management Group ID. + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + /// is null. + public async Task> DeleteAsync(string groupId, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateDeleteRequest(groupId, cacheControl); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + var headers = new ManagementGroupsDeleteHeaders(message.Response); + switch (message.Response.Status) + { + case 202: + case 204: + return ResponseWithHeaders.FromValue(headers, message.Response); + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// Delete management group. + /// If a management group contains child resources, the request will fail. + /// . + /// + /// Management Group ID. + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// The cancellation token to use. + /// is null. + public ResponseWithHeaders Delete(string groupId, string cacheControl = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateDeleteRequest(groupId, cacheControl); + _pipeline.Send(message, cancellationToken); + var headers = new ManagementGroupsDeleteHeaders(message.Response); + switch (message.Response.Status) + { + case 202: + case 204: + return ResponseWithHeaders.FromValue(headers, message.Response); + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateGetDescendantsRequest(string groupId, string skiptoken, int? top) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendPath("/providers/Microsoft.Management/managementGroups/", false); + uri.AppendPath(groupId, true); + uri.AppendPath("/descendants", false); + uri.AppendQuery("api-version", apiVersion, true); + if (skiptoken != null) + { + uri.AppendQuery("$skiptoken", skiptoken, true); + } + if (top != null) + { + uri.AppendQuery("$top", top.Value, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + /// + /// List all entities that descend from a management group. + /// . + /// + /// Management Group ID. + /// + /// 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. + /// is null. + public async Task> GetDescendantsAsync(string groupId, string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateGetDescendantsRequest(groupId, skiptoken, top); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + DescendantListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = DescendantListResult.DeserializeDescendantListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// List all entities that descend from a management group. + /// . + /// + /// Management Group ID. + /// + /// 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. + /// is null. + public Response GetDescendants(string groupId, string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateGetDescendantsRequest(groupId, skiptoken, top); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + DescendantListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = DescendantListResult.DeserializeDescendantListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateListNextPageRequest(string nextLink, string cacheControl, string skiptoken) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + if (cacheControl != null) + { + request.Headers.Add("Cache-Control", cacheControl); + } + request.Headers.Add("Accept", "application/json"); + return message; + } + + /// + /// List management groups for the authenticated user. + /// . + /// + /// The URL to the next page of results. + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// + /// 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. + /// . + /// + /// The cancellation token to use. + /// is null. + public async Task> ListNextPageAsync(string nextLink, string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + { + if (nextLink == null) + { + throw new ArgumentNullException(nameof(nextLink)); + } + + using var message = CreateListNextPageRequest(nextLink, cacheControl, skiptoken); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = ManagementGroupListResult.DeserializeManagementGroupListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// List management groups for the authenticated user. + /// . + /// + /// The URL to the next page of results. + /// Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches. + /// + /// 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. + /// . + /// + /// The cancellation token to use. + /// is null. + public Response ListNextPage(string nextLink, string cacheControl = null, string skiptoken = null, CancellationToken cancellationToken = default) + { + if (nextLink == null) + { + throw new ArgumentNullException(nameof(nextLink)); + } + + using var message = CreateListNextPageRequest(nextLink, cacheControl, skiptoken); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + ManagementGroupListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = ManagementGroupListResult.DeserializeManagementGroupListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateGetDescendantsNextPageRequest(string nextLink, string groupId, string skiptoken, int? top) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + /// + /// List all entities that descend from a management group. + /// . + /// + /// The URL to the next page of results. + /// Management Group ID. + /// + /// 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. + /// or is null. + public async Task> GetDescendantsNextPageAsync(string nextLink, string groupId, string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + if (nextLink == null) + { + throw new ArgumentNullException(nameof(nextLink)); + } + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateGetDescendantsNextPageRequest(nextLink, groupId, skiptoken, top); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + DescendantListResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = DescendantListResult.DeserializeDescendantListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// + /// List all entities that descend from a management group. + /// . + /// + /// The URL to the next page of results. + /// Management Group ID. + /// + /// 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. + /// or is null. + public Response GetDescendantsNextPage(string nextLink, string groupId, string skiptoken = null, int? top = null, CancellationToken cancellationToken = default) + { + if (nextLink == null) + { + throw new ArgumentNullException(nameof(nextLink)); + } + if (groupId == null) + { + throw new ArgumentNullException(nameof(groupId)); + } + + using var message = CreateGetDescendantsNextPageRequest(nextLink, groupId, skiptoken, top); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + DescendantListResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = DescendantListResult.DeserializeDescendantListResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + + internal HttpMessage CreateCheckNameAvailabilityRequest(CheckNameAvailabilityRequest checkNameAvailabilityRequest) + { + var message = _pipeline.CreateMessage(); + var request = message.Request; + request.Method = RequestMethod.Post; + var uri = new RawRequestUriBuilder(); + uri.Reset(endpoint); + uri.AppendPath("/providers/Microsoft.Management/checkNameAvailability", false); + uri.AppendQuery("api-version", apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(checkNameAvailabilityRequest); + request.Content = content; + return message; + } + + /// Checks if the specified management group name is valid and unique. + /// Management group name availability check parameters. + /// The cancellation token to use. + /// is null. + public async Task> CheckNameAvailabilityAsync(CheckNameAvailabilityRequest checkNameAvailabilityRequest, CancellationToken cancellationToken = default) + { + if (checkNameAvailabilityRequest == null) + { + throw new ArgumentNullException(nameof(checkNameAvailabilityRequest)); + } + + using var message = CreateCheckNameAvailabilityRequest(checkNameAvailabilityRequest); + await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); + switch (message.Response.Status) + { + case 200: + { + CheckNameAvailabilityResult value = default; + using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); + value = CheckNameAvailabilityResult.DeserializeCheckNameAvailabilityResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); + } + } + + /// Checks if the specified management group name is valid and unique. + /// Management group name availability check parameters. + /// The cancellation token to use. + /// is null. + public Response CheckNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest, CancellationToken cancellationToken = default) + { + if (checkNameAvailabilityRequest == null) + { + throw new ArgumentNullException(nameof(checkNameAvailabilityRequest)); + } + + using var message = CreateCheckNameAvailabilityRequest(checkNameAvailabilityRequest); + _pipeline.Send(message, cancellationToken); + switch (message.Response.Status) + { + case 200: + { + CheckNameAvailabilityResult value = default; + using var document = JsonDocument.Parse(message.Response.ContentStream); + value = CheckNameAvailabilityResult.DeserializeCheckNameAvailabilityResult(document.RootElement); + return Response.FromValue(value, message.Response); + } + default: + throw _clientDiagnostics.CreateRequestFailedException(message.Response); + } + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityRequest.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityRequest.Serialization.cs new file mode 100644 index 000000000000..159b4659d945 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityRequest.Serialization.cs @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class CheckNameAvailabilityRequest : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(Name)) + { + writer.WritePropertyName("name"); + writer.WriteStringValue(Name); + } + if (Optional.IsDefined(Type)) + { + writer.WritePropertyName("type"); + writer.WriteStringValue(Type); + } + writer.WriteEndObject(); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityRequest.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityRequest.cs new file mode 100644 index 000000000000..9bf38079b0fe --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityRequest.cs @@ -0,0 +1,24 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// Management group name availability check parameters. + public partial class CheckNameAvailabilityRequest + { + /// Initializes a new instance of CheckNameAvailabilityRequest. + public CheckNameAvailabilityRequest() + { + Type = "Microsoft.Management/managementGroups"; + } + + /// the name to check for availability. + public string Name { get; set; } + /// fully qualified resource type which includes provider namespace. + public string Type { get; set; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityResult.Serialization.cs new file mode 100644 index 000000000000..7bef9b9393ec --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityResult.Serialization.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class CheckNameAvailabilityResult + { + internal static CheckNameAvailabilityResult DeserializeCheckNameAvailabilityResult(JsonElement element) + { + Optional nameAvailable = default; + Optional reason = default; + Optional message = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("nameAvailable")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + nameAvailable = property.Value.GetBoolean(); + continue; + } + if (property.NameEquals("reason")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + reason = property.Value.GetString().ToReason(); + continue; + } + if (property.NameEquals("message")) + { + message = property.Value.GetString(); + continue; + } + } + return new CheckNameAvailabilityResult(Optional.ToNullable(nameAvailable), Optional.ToNullable(reason), message.Value); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityResult.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityResult.cs new file mode 100644 index 000000000000..3865f571e3ef --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CheckNameAvailabilityResult.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// Describes the result of the request to check management group name availability. + public partial class CheckNameAvailabilityResult + { + /// Initializes a new instance of CheckNameAvailabilityResult. + internal CheckNameAvailabilityResult() + { + } + + /// Initializes a new instance of CheckNameAvailabilityResult. + /// Required. True indicates name is valid and available. False indicates the name is invalid, unavailable, or both. + /// Required if nameAvailable == false. Invalid indicates the name provided does not match the resource provider's naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable. + /// Required if nameAvailable == false. Localized. If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that is already in use, and direct them to select a different name. + internal CheckNameAvailabilityResult(bool? nameAvailable, Reason? reason, string message) + { + NameAvailable = nameAvailable; + Reason = reason; + Message = message; + } + + /// Required. True indicates name is valid and available. False indicates the name is invalid, unavailable, or both. + public bool? NameAvailable { get; } + /// Required if nameAvailable == false. Invalid indicates the name provided does not match the resource provider's naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable. + public Reason? Reason { get; } + /// Required if nameAvailable == false. Localized. If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that is already in use, and direct them to select a different name. + public string Message { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupChildInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupChildInfo.Serialization.cs new file mode 100644 index 000000000000..9a32c0c90f7c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupChildInfo.Serialization.cs @@ -0,0 +1,13 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + public partial class CreateManagementGroupChildInfo + { + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupChildInfo.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupChildInfo.cs new file mode 100644 index 000000000000..9137ba746f32 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupChildInfo.cs @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + /// The child information of a management group used during creation. + public partial class CreateManagementGroupChildInfo + { + /// Initializes a new instance of CreateManagementGroupChildInfo. + internal CreateManagementGroupChildInfo() + { + Children = new ChangeTrackingList(); + } + + /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). + public ManagementGroupChildType? Type { get; } + /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string Id { get; } + /// The name of the child entity. + public string Name { get; } + /// The friendly name of the child resource. + public string DisplayName { get; } + /// The list of children. + public IReadOnlyList Children { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupDetails.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupDetails.Serialization.cs new file mode 100644 index 000000000000..6cca8f0db3a1 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupDetails.Serialization.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class CreateManagementGroupDetails : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(Parent)) + { + writer.WritePropertyName("parent"); + writer.WriteObjectValue(Parent); + } + writer.WriteEndObject(); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupDetails.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupDetails.cs new file mode 100644 index 000000000000..65c9dcd64567 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupDetails.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.ResourceManager.Core +{ + /// The details of a management group used during creation. + public partial class CreateManagementGroupDetails + { + /// Initializes a new instance of CreateManagementGroupDetails. + public CreateManagementGroupDetails() + { + } + + /// The version number of the object. + public int? Version { get; } + /// The date and time when this object was last updated. + public DateTimeOffset? UpdatedTime { get; } + /// The identity of the principal or process that updated the object. + public string UpdatedBy { get; } + /// (Optional) The ID of the parent management group used during creation. + public CreateParentGroupInfo Parent { get; set; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupRequest.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupRequest.Serialization.cs new file mode 100644 index 000000000000..832bf7b9a7b2 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupRequest.Serialization.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class CreateManagementGroupRequest : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(Name)) + { + writer.WritePropertyName("name"); + writer.WriteStringValue(Name); + } + writer.WritePropertyName("properties"); + writer.WriteStartObject(); + if (Optional.IsDefined(DisplayName)) + { + if (DisplayName != null) + { + writer.WritePropertyName("displayName"); + writer.WriteStringValue(DisplayName); + } + else + { + writer.WriteNull("displayName"); + } + } + if (Optional.IsDefined(Details)) + { + writer.WritePropertyName("details"); + writer.WriteObjectValue(Details); + } + writer.WriteEndObject(); + writer.WriteEndObject(); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupRequest.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupRequest.cs new file mode 100644 index 000000000000..857a46843b9a --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateManagementGroupRequest.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + /// Management group creation parameters. + public partial class CreateManagementGroupRequest + { + /// Initializes a new instance of CreateManagementGroupRequest. + public CreateManagementGroupRequest() + { + Children = new ChangeTrackingList(); + } + + /// The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string Id { get; } + /// The type of the resource. For example, Microsoft.Management/managementGroups. + public string Type { get; } + /// The name of the management group. For example, 00000000-0000-0000-0000-000000000000. + public string Name { get; set; } + /// 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. If no value is passed then this field will be set to the groupId. + public string DisplayName { get; set; } + /// The details of a management group used during creation. + public CreateManagementGroupDetails Details { get; set; } + /// The list of children. + public IReadOnlyList Children { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateParentGroupInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateParentGroupInfo.Serialization.cs new file mode 100644 index 000000000000..36d23cd45dc7 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateParentGroupInfo.Serialization.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class CreateParentGroupInfo : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(Id)) + { + writer.WritePropertyName("id"); + writer.WriteStringValue(Id); + } + writer.WriteEndObject(); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateParentGroupInfo.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateParentGroupInfo.cs new file mode 100644 index 000000000000..c7dcb0c579f2 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/CreateParentGroupInfo.cs @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// (Optional) The ID of the parent management group used during creation. + public partial class CreateParentGroupInfo + { + /// Initializes a new instance of CreateParentGroupInfo. + public CreateParentGroupInfo() + { + } + + /// The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string Id { get; set; } + /// The name of the parent management group. + public string Name { get; } + /// The friendly name of the parent management group. + public string DisplayName { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantInfo.Serialization.cs new file mode 100644 index 000000000000..000f610aaf0c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantInfo.Serialization.cs @@ -0,0 +1,85 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class DescendantInfo + { + internal static DescendantInfo DeserializeDescendantInfo(JsonElement element) + { + Optional id = default; + Optional type = default; + Optional name = default; + Optional displayName = default; + Optional parent = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("id")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + id = null; + continue; + } + id = property.Value.GetString(); + continue; + } + if (property.NameEquals("type")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + type = null; + continue; + } + 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("displayName")) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + displayName = null; + continue; + } + displayName = property0.Value.GetString(); + continue; + } + if (property0.NameEquals("parent")) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + parent = null; + continue; + } + parent = DescendantParentGroupInfo.DeserializeDescendantParentGroupInfo(property0.Value); + continue; + } + } + continue; + } + } + return new DescendantInfo(id.Value, type.Value, name.Value, displayName.Value, parent.Value); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantInfo.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantInfo.cs new file mode 100644 index 000000000000..8ae823e74232 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantInfo.cs @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// The descendant. + public partial class DescendantInfo + { + /// Initializes a new instance of DescendantInfo. + internal DescendantInfo() + { + } + + /// Initializes a new instance of DescendantInfo. + /// The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000. + /// The type of the resource. For example, Microsoft.Management/managementGroups or /subscriptions. + /// The name of the descendant. For example, 00000000-0000-0000-0000-000000000000. + /// The friendly name of the management group. + /// The ID of the parent management group. + internal DescendantInfo(string id, string type, string name, string displayName, DescendantParentGroupInfo parent) + { + Id = id; + Type = type; + Name = name; + DisplayName = displayName; + Parent = parent; + } + + /// The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000. + public string Id { get; } + /// The type of the resource. For example, Microsoft.Management/managementGroups or /subscriptions. + public string Type { get; } + /// The name of the descendant. For example, 00000000-0000-0000-0000-000000000000. + public string Name { get; } + /// The friendly name of the management group. + public string DisplayName { get; } + /// The ID of the parent management group. + public DescendantParentGroupInfo Parent { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantListResult.Serialization.cs new file mode 100644 index 000000000000..ffb7162ef82f --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantListResult.Serialization.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + internal partial class DescendantListResult + { + internal static DescendantListResult DeserializeDescendantListResult(JsonElement element) + { + Optional> value = default; + Optional nextLink = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("value")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(DescendantInfo.DeserializeDescendantInfo(item)); + } + value = array; + continue; + } + if (property.NameEquals("nextLink")) + { + nextLink = property.Value.GetString(); + continue; + } + } + return new DescendantListResult(Optional.ToList(value), nextLink.Value); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantListResult.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantListResult.cs new file mode 100644 index 000000000000..44c379a22d79 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantListResult.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + /// Describes the result of the request to view descendants. + internal partial class DescendantListResult + { + /// Initializes a new instance of DescendantListResult. + internal DescendantListResult() + { + Value = new ChangeTrackingList(); + } + + /// Initializes a new instance of DescendantListResult. + /// The list of descendants. + /// The URL to use for getting the next set of results. + internal DescendantListResult(IReadOnlyList value, string nextLink) + { + Value = value; + NextLink = nextLink; + } + + /// The list of descendants. + 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.Core/src/Generated/ManagementGroup/Models/DescendantParentGroupInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantParentGroupInfo.Serialization.cs new file mode 100644 index 000000000000..6ae7017149a0 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantParentGroupInfo.Serialization.cs @@ -0,0 +1,29 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class DescendantParentGroupInfo + { + internal static DescendantParentGroupInfo DeserializeDescendantParentGroupInfo(JsonElement element) + { + Optional id = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("id")) + { + id = property.Value.GetString(); + continue; + } + } + return new DescendantParentGroupInfo(id.Value); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantParentGroupInfo.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantParentGroupInfo.cs new file mode 100644 index 000000000000..c8ce78a6edb8 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/DescendantParentGroupInfo.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// The ID of the parent management group. + public partial class DescendantParentGroupInfo + { + /// Initializes a new instance of DescendantParentGroupInfo. + internal DescendantParentGroupInfo() + { + } + + /// Initializes a new instance of DescendantParentGroupInfo. + /// The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + internal DescendantParentGroupInfo(string id) + { + Id = id; + } + + /// The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string Id { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildInfo.Serialization.cs new file mode 100644 index 000000000000..024dbba18e94 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildInfo.Serialization.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class ManagementGroupChildInfo + { + internal static ManagementGroupChildInfo DeserializeManagementGroupChildInfo(JsonElement element) + { + Optional type = default; + Optional id = default; + Optional name = default; + Optional displayName = default; + Optional> children = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("type")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + type = new ManagementGroupChildType(property.Value.GetString()); + continue; + } + if (property.NameEquals("id")) + { + id = property.Value.GetString(); + continue; + } + if (property.NameEquals("name")) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("displayName")) + { + displayName = property.Value.GetString(); + continue; + } + if (property.NameEquals("children")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(DeserializeManagementGroupChildInfo(item)); + } + children = array; + continue; + } + } + return new ManagementGroupChildInfo(Optional.ToNullable(type), id.Value, name.Value, displayName.Value, Optional.ToList(children)); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildInfo.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildInfo.cs new file mode 100644 index 000000000000..07c6db20ac17 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildInfo.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + /// The child information of a management group. + public partial class ManagementGroupChildInfo + { + /// Initializes a new instance of ManagementGroupChildInfo. + internal ManagementGroupChildInfo() + { + Children = new ChangeTrackingList(); + } + + /// Initializes a new instance of ManagementGroupChildInfo. + /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). + /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + /// The name of the child entity. + /// The friendly name of the child resource. + /// The list of children. + internal ManagementGroupChildInfo(ManagementGroupChildType? type, string id, string name, string displayName, IReadOnlyList children) + { + Type = type; + Id = id; + Name = name; + DisplayName = displayName; + Children = children; + } + + /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). + public ManagementGroupChildType? Type { get; } + /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string Id { get; } + /// The name of the child entity. + public string Name { get; } + /// The friendly name of the child resource. + public string DisplayName { get; } + /// The list of children. + public IReadOnlyList Children { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildType.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildType.cs new file mode 100644 index 000000000000..61c7b3fc0660 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupChildType.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.Core +{ + /// The type of child resource. + public readonly partial struct ManagementGroupChildType : IEquatable + { + private readonly string _value; + + /// Determines if two values are the same. + /// is null. + public ManagementGroupChildType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string MicrosoftManagementManagementGroupsValue = "Microsoft.Management/managementGroups"; + private const string SubscriptionsValue = "/subscriptions"; + + /// Microsoft.Management/managementGroups. + public static ManagementGroupChildType MicrosoftManagementManagementGroups { get; } = new ManagementGroupChildType(MicrosoftManagementManagementGroupsValue); + /// /subscriptions. + public static ManagementGroupChildType Subscriptions { get; } = new ManagementGroupChildType(SubscriptionsValue); + /// Determines if two values are the same. + public static bool operator ==(ManagementGroupChildType left, ManagementGroupChildType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(ManagementGroupChildType left, ManagementGroupChildType right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator ManagementGroupChildType(string value) => new ManagementGroupChildType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is ManagementGroupChildType other && Equals(other); + /// + public bool Equals(ManagementGroupChildType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupData.Serialization.cs new file mode 100644 index 000000000000..98c52a999548 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupData.Serialization.cs @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class ManagementGroupData + { + internal static ManagementGroupData DeserializeManagementGroup(JsonElement element) + { + Optional id = default; + Optional type = default; + Optional name = default; + Optional tenantId = default; + Optional displayName = default; + Optional details = default; + Optional> children = 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; + } + if (property0.NameEquals("details")) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + property0.ThrowNonNullablePropertyIsNull(); + continue; + } + details = ManagementGroupDetails.DeserializeManagementGroupDetails(property0.Value); + continue; + } + if (property0.NameEquals("children")) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + children = null; + continue; + } + List array = new List(); + foreach (var item in property0.Value.EnumerateArray()) + { + array.Add(ManagementGroupChildInfo.DeserializeManagementGroupChildInfo(item)); + } + children = array; + continue; + } + } + continue; + } + } + return new ManagementGroupData(id.Value, type.Value, name.Value, tenantId.Value, displayName.Value, details.Value, Optional.ToList(children)); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupData.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupData.cs new file mode 100644 index 000000000000..0477e9c5288f --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupData.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + /// The management group details. + public partial class ManagementGroupData : Resource + { + /// Initializes a new instance of ManagementGroup. + internal ManagementGroupData() + { + Children = new ChangeTrackingList(); + } + + /// Initializes a new instance of ManagementGroup. + /// 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. + /// The details of a management group. + /// The list of children. + internal ManagementGroupData(string id, string type, string name, string tenantId, string displayName, ManagementGroupDetails details, IReadOnlyList children) + :base(id, name, type) + { + TenantId = tenantId; + DisplayName = displayName; + Details = details; + Children = children; + } + + /// 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; } + /// The details of a management group. + public ManagementGroupDetails Details { get; } + /// The list of children. + public IReadOnlyList Children { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupDetails.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupDetails.Serialization.cs new file mode 100644 index 000000000000..024524a75fe5 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupDetails.Serialization.cs @@ -0,0 +1,112 @@ +// 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; + +namespace Azure.ResourceManager.Core +{ + public partial class ManagementGroupDetails + { + internal static ManagementGroupDetails DeserializeManagementGroupDetails(JsonElement element) + { + Optional version = default; + Optional updatedTime = default; + Optional updatedBy = default; + Optional parent = default; + Optional> path = default; + Optional> managementGroupAncestors = default; + Optional> managementGroupAncestorsChain = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("version")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + version = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("updatedTime")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + updatedTime = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("updatedBy")) + { + updatedBy = property.Value.GetString(); + continue; + } + if (property.NameEquals("parent")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + parent = ParentGroupInfo.DeserializeParentGroupInfo(property.Value); + continue; + } + if (property.NameEquals("path")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + path = null; + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(ManagementGroupPathElement.DeserializeManagementGroupPathElement(item)); + } + path = array; + continue; + } + if (property.NameEquals("managementGroupAncestors")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + managementGroupAncestors = null; + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + managementGroupAncestors = array; + continue; + } + if (property.NameEquals("managementGroupAncestorsChain")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + managementGroupAncestorsChain = null; + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(ManagementGroupPathElement.DeserializeManagementGroupPathElement(item)); + } + managementGroupAncestorsChain = array; + continue; + } + } + return new ManagementGroupDetails(Optional.ToNullable(version), Optional.ToNullable(updatedTime), updatedBy.Value, parent.Value, Optional.ToList(path), Optional.ToList(managementGroupAncestors), Optional.ToList(managementGroupAncestorsChain)); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupDetails.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupDetails.cs new file mode 100644 index 000000000000..784ee71d967b --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupDetails.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + /// The details of a management group. + public partial class ManagementGroupDetails + { + /// Initializes a new instance of ManagementGroupDetails. + internal ManagementGroupDetails() + { + Path = new ChangeTrackingList(); + ManagementGroupAncestors = new ChangeTrackingList(); + ManagementGroupAncestorsChain = new ChangeTrackingList(); + } + + /// Initializes a new instance of ManagementGroupDetails. + /// The version number of the object. + /// The date and time when this object was last updated. + /// The identity of the principal or process that updated the object. + /// (Optional) The ID of the parent management group. + /// The path from the root to the current group. + /// The ancestors of the management group. + /// The ancestors of the management group displayed in reversed order, from immediate parent to the root. + internal ManagementGroupDetails(int? version, DateTimeOffset? updatedTime, string updatedBy, ParentGroupInfo parent, IReadOnlyList path, IReadOnlyList managementGroupAncestors, IReadOnlyList managementGroupAncestorsChain) + { + Version = version; + UpdatedTime = updatedTime; + UpdatedBy = updatedBy; + Parent = parent; + Path = path; + ManagementGroupAncestors = managementGroupAncestors; + ManagementGroupAncestorsChain = managementGroupAncestorsChain; + } + + /// The version number of the object. + public int? Version { get; } + /// The date and time when this object was last updated. + public DateTimeOffset? UpdatedTime { get; } + /// The identity of the principal or process that updated the object. + public string UpdatedBy { get; } + /// (Optional) The ID of the parent management group. + public ParentGroupInfo Parent { get; } + /// The path from the root to the current group. + public IReadOnlyList Path { get; } + /// The ancestors of the management group. + public IReadOnlyList ManagementGroupAncestors { get; } + /// The ancestors of the management group displayed in reversed order, from immediate parent to the root. + public IReadOnlyList ManagementGroupAncestorsChain { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupExpandType.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupExpandType.cs new file mode 100644 index 000000000000..ac0217b8eac7 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupExpandType.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.Core +{ + /// The Enum0. + public readonly partial struct ManagementGroupExpandType : IEquatable + { + private readonly string _value; + + /// Determines if two values are the same. + /// is null. + public ManagementGroupExpandType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string ChildrenValue = "children"; + private const string PathValue = "path"; + private const string AncestorsValue = "ancestors"; + + /// children. + public static ManagementGroupExpandType Children { get; } = new ManagementGroupExpandType(ChildrenValue); + /// path. + public static ManagementGroupExpandType Path { get; } = new ManagementGroupExpandType(PathValue); + /// ancestors. + public static ManagementGroupExpandType Ancestors { get; } = new ManagementGroupExpandType(AncestorsValue); + /// Determines if two values are the same. + public static bool operator ==(ManagementGroupExpandType left, ManagementGroupExpandType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(ManagementGroupExpandType left, ManagementGroupExpandType right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator ManagementGroupExpandType(string value) => new ManagementGroupExpandType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is ManagementGroupExpandType other && Equals(other); + /// + public bool Equals(ManagementGroupExpandType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.Serialization.cs new file mode 100644 index 000000000000..3004c2376e7e --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.Serialization.cs @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + 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.Core/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.cs new file mode 100644 index 000000000000..7bcfde10d21f --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupInfoData.cs @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// The management group resource. + public partial class ManagementGroupInfoData + { + /// 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) + { + Id = id; + Type = type; + Name = name; + TenantId = tenantId; + DisplayName = displayName; + } + + /// The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string Id { get; } + /// The type of the resource. For example, Microsoft.Management/managementGroups. + public string Type { get; } + /// The name of the management group. For example, 00000000-0000-0000-0000-000000000000. + public string Name { get; } + /// 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.Core/src/Generated/ManagementGroup/Models/ManagementGroupListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupListResult.Serialization.cs new file mode 100644 index 000000000000..ec8b98d0999d --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupListResult.Serialization.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + internal partial class ManagementGroupListResult + { + internal static ManagementGroupListResult DeserializeManagementGroupListResult(JsonElement element) + { + Optional> value = default; + Optional nextLink = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("value")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(ManagementGroupInfoData.DeserializeManagementGroupInfo(item)); + } + value = array; + continue; + } + if (property.NameEquals("nextLink")) + { + nextLink = property.Value.GetString(); + continue; + } + } + return new ManagementGroupListResult(Optional.ToList(value), nextLink.Value); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupListResult.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupListResult.cs new file mode 100644 index 000000000000..98dace9698e9 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupListResult.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + /// Describes the result of the request to list management groups. + internal partial class ManagementGroupListResult + { + /// Initializes a new instance of ManagementGroupListResult. + internal ManagementGroupListResult() + { + 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) + { + Value = value; + NextLink = nextLink; + } + + /// The list of management groups. + 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.Core/src/Generated/ManagementGroup/Models/ManagementGroupPathElement.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupPathElement.Serialization.cs new file mode 100644 index 000000000000..d716138cbf9f --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupPathElement.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class ManagementGroupPathElement + { + internal static ManagementGroupPathElement DeserializeManagementGroupPathElement(JsonElement element) + { + Optional name = default; + Optional displayName = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("name")) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("displayName")) + { + displayName = property.Value.GetString(); + continue; + } + } + return new ManagementGroupPathElement(name.Value, displayName.Value); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupPathElement.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupPathElement.cs new file mode 100644 index 000000000000..2f84b5f19da6 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ManagementGroupPathElement.cs @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// A path element of a management group ancestors. + public partial class ManagementGroupPathElement + { + /// Initializes a new instance of ManagementGroupPathElement. + internal ManagementGroupPathElement() + { + } + + /// Initializes a new instance of ManagementGroupPathElement. + /// The name of the group. + /// The friendly name of the group. + internal ManagementGroupPathElement(string name, string displayName) + { + Name = name; + DisplayName = displayName; + } + + /// The name of the group. + public string Name { get; } + /// The friendly name of the group. + public string DisplayName { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ParentGroupInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ParentGroupInfo.Serialization.cs new file mode 100644 index 000000000000..a62d1a48eb1d --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ParentGroupInfo.Serialization.cs @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class ParentGroupInfo + { + internal static ParentGroupInfo DeserializeParentGroupInfo(JsonElement element) + { + Optional id = default; + Optional name = default; + Optional displayName = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("id")) + { + id = property.Value.GetString(); + continue; + } + if (property.NameEquals("name")) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("displayName")) + { + displayName = property.Value.GetString(); + continue; + } + } + return new ParentGroupInfo(id.Value, name.Value, displayName.Value); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ParentGroupInfo.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ParentGroupInfo.cs new file mode 100644 index 000000000000..6f6d33401021 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/ParentGroupInfo.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// (Optional) The ID of the parent management group. + public partial class ParentGroupInfo + { + /// Initializes a new instance of ParentGroupInfo. + internal ParentGroupInfo() + { + } + + /// Initializes a new instance of ParentGroupInfo. + /// The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + /// The name of the parent management group. + /// The friendly name of the parent management group. + internal ParentGroupInfo(string id, string name, string displayName) + { + Id = id; + Name = name; + DisplayName = displayName; + } + + /// The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string Id { get; } + /// The name of the parent management group. + public string Name { get; } + /// The friendly name of the parent management group. + public string DisplayName { get; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/PatchManagementGroupRequest.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/PatchManagementGroupRequest.Serialization.cs new file mode 100644 index 000000000000..1f94133ed1b9 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/PatchManagementGroupRequest.Serialization.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.Core +{ + public partial class PatchManagementGroupRequest : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(DisplayName)) + { + if (DisplayName != null) + { + writer.WritePropertyName("displayName"); + writer.WriteStringValue(DisplayName); + } + else + { + writer.WriteNull("displayName"); + } + } + if (Optional.IsDefined(ParentGroupId)) + { + if (ParentGroupId != null) + { + writer.WritePropertyName("parentGroupId"); + writer.WriteStringValue(ParentGroupId); + } + else + { + writer.WriteNull("parentGroupId"); + } + } + writer.WriteEndObject(); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/PatchManagementGroupRequest.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/PatchManagementGroupRequest.cs new file mode 100644 index 000000000000..e6e37aa03334 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/PatchManagementGroupRequest.cs @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// Management group patch parameters. + public partial class PatchManagementGroupRequest + { + /// Initializes a new instance of PatchManagementGroupRequest. + public PatchManagementGroupRequest() + { + } + + /// The friendly name of the management group. + public string DisplayName { get; set; } + /// (Optional) The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. + public string ParentGroupId { get; set; } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/Reason.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/Reason.Serialization.cs new file mode 100644 index 000000000000..974d1b798f9f --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/Reason.Serialization.cs @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.ResourceManager.Core +{ + internal static partial class ReasonExtensions + { + public static string ToSerialString(this Reason value) => value switch + { + Reason.Invalid => "Invalid", + Reason.AlreadyExists => "AlreadyExists", + _ => throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown Reason value.") + }; + + public static Reason ToReason(this string value) + { + if (string.Equals(value, "Invalid", StringComparison.InvariantCultureIgnoreCase)) return Reason.Invalid; + if (string.Equals(value, "AlreadyExists", StringComparison.InvariantCultureIgnoreCase)) return Reason.AlreadyExists; + throw new ArgumentOutOfRangeException(nameof(value), value, "Unknown Reason value."); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/Reason.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/Reason.cs new file mode 100644 index 000000000000..e23bb2c1e530 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/ManagementGroup/Models/Reason.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.Core +{ + /// Required if nameAvailable == false. Invalid indicates the name provided does not match the resource provider's naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable. + public enum Reason + { + /// Invalid. + Invalid, + /// AlreadyExists. + AlreadyExists + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/Models/FeatureData.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/Models/FeatureData.cs index bc813e8c1d8e..960ad3185173 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/Models/FeatureData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/Models/FeatureData.cs @@ -8,7 +8,7 @@ namespace Azure.ResourceManager.Core { /// Previewed feature information. - public partial class FeatureData + public partial class FeatureData : Resource { /// Initializes a new instance of FeatureResult. internal FeatureData() @@ -21,20 +21,12 @@ internal FeatureData() /// The resource ID of the feature. /// The resource type of the feature. internal FeatureData(string name, FeatureProperties properties, string id, string type) + :base(id, name, type) { - Name = name; Properties = properties; - Id = id; - Type = type; } - /// The name of the feature. - public string Name { get; } /// Properties of the previewed feature. public FeatureProperties Properties { get; } - /// The resource ID of the feature. - public string Id { get; } - /// The resource type of the feature. - public string Type { get; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/TenantOperations.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/TenantOperations.cs index c3812416168e..52eedd63b4f2 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/TenantOperations.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Generated/TenantOperations.cs @@ -194,5 +194,24 @@ public virtual async Task> GetProviderAsync(string resour 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); + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Azure.ResourceManager.Core.Tests.csproj b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Azure.ResourceManager.Core.Tests.csproj index 2e8889245b94..76b2c1677de6 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Azure.ResourceManager.Core.Tests.csproj +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Azure.ResourceManager.Core.Tests.csproj @@ -30,6 +30,7 @@ + diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ManagementGroupContainerTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ManagementGroupContainerTests.cs new file mode 100644 index 000000000000..155bf9b2b765 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ManagementGroupContainerTests.cs @@ -0,0 +1,98 @@ +using System.Threading.Tasks; +using Azure.Core.TestFramework; +using NUnit.Framework; + +namespace Azure.ResourceManager.Core.Tests +{ + public class ManagementGroupContainerTests : ResourceManagerTestBase + { + private ManagementGroup _mgmtGroup; + private string _mgmtGroupName; + + public ManagementGroupContainerTests(bool isAsync) + : base(isAsync)//, RecordedTestMode.Record) + { + } + + [OneTimeSetUp] + public async Task GetGlobalManagementGroup() + { + _mgmtGroupName = SessionRecording.GenerateAssetName("mgmt-group-"); + _mgmtGroup = await GlobalClient.GetManagementGroups().CreateOrUpdateAsync(_mgmtGroupName, new CreateManagementGroupRequest()); + _mgmtGroup = await _mgmtGroup.GetAsync(); + StopSessionRecording(); + } + + [RecordedTest] + public async Task List() + { + var mgmtGroupContainer = Client.GetManagementGroups(); + ManagementGroupInfo mgmtGroup = null; + await foreach(var item in mgmtGroupContainer.ListAsync("no-cache")) + { + mgmtGroup = item; + break; + } + Assert.IsNotNull(mgmtGroup, "No management groups found in list"); + Assert.IsNotNull(mgmtGroup.Data.DisplayName, "DisplayName was null"); + Assert.IsNotNull(mgmtGroup.Data.Id, "Id was null"); + Assert.IsNotNull(mgmtGroup.Data.Name, "Name was null"); + Assert.IsNotNull(mgmtGroup.Data.TenantId, "TenantId was null"); + Assert.IsNotNull(mgmtGroup.Data.Type, "Type was null"); + } + + [RecordedTest] + public async Task Get() + { + ManagementGroup mgmtGroup = await Client.GetManagementGroups().GetAsync(_mgmtGroupName, cacheControl: "no-cache"); + CompareMgmtGroups(_mgmtGroup, mgmtGroup); + } + + [RecordedTest] + public async Task TryGet() + { + ManagementGroup mgmtGroup = await Client.GetManagementGroups().TryGetAsync(_mgmtGroup.Data.Name, cacheControl: "no-cache"); + CompareMgmtGroups(_mgmtGroup, mgmtGroup); + } + + [RecordedTest] + public async Task DoesExist() + { + Assert.IsTrue(await Client.GetManagementGroups().DoesExistAsync(_mgmtGroup.Data.Name, cacheControl: "no-cache")); + var ex = Assert.ThrowsAsync(async () => await Client.GetManagementGroups().DoesExistAsync(_mgmtGroup.Data.Name + "x", cacheControl: "no-cache")); + Assert.AreEqual(403, ex.Status); //you get forbidden vs not found here for some reason by the service + } + + [RecordedTest] + public async Task CreateOrUpdate() + { + string mgmtGroupName = Recording.GenerateAssetName("mgmt-group-"); + ManagementGroup mgmtGroup = await Client.GetManagementGroups().CreateOrUpdateAsync(mgmtGroupName, new CreateManagementGroupRequest()); + 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); + } + + [RecordedTest] + public async Task StartCreateOrUpdate() + { + string mgmtGroupName = Recording.GenerateAssetName("mgmt-group-"); + var mgmtGroupOp = await Client.GetManagementGroups().StartCreateOrUpdateAsync(mgmtGroupName, new CreateManagementGroupRequest()); + ManagementGroup mgmtGroup = await mgmtGroupOp.WaitForCompletionAsync(); + 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); + } + + [RecordedTest] + public async Task CheckNameAvailability() + { + var rq = new CheckNameAvailabilityRequest(); + rq.Name = "this-should-not-exist"; + var rs = await Client.GetManagementGroups().CheckNameAvailabilityAsync(rq); + Assert.IsTrue(rs.Value.NameAvailable); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ManagementGroupOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ManagementGroupOperationsTests.cs new file mode 100644 index 000000000000..d0a21d060814 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ManagementGroupOperationsTests.cs @@ -0,0 +1,79 @@ +using System.Threading.Tasks; +using Azure.Core.TestFramework; +using NUnit.Framework; + +namespace Azure.ResourceManager.Core.Tests +{ + public class ManagementGroupOperationsTests : ResourceManagerTestBase + { + private ManagementGroup _mgmtGroup; + private string _mgmtGroupName; + + public ManagementGroupOperationsTests(bool isAsync) + : base(isAsync)//, RecordedTestMode.Record) + { + } + + [OneTimeSetUp] + public async Task GetGlobalManagementGroup() + { + _mgmtGroupName = SessionRecording.GenerateAssetName("mgmt-group-"); + _mgmtGroup = await GlobalClient.GetManagementGroups().CreateOrUpdateAsync(_mgmtGroupName, new CreateManagementGroupRequest()); + _mgmtGroup = await _mgmtGroup.GetAsync(); + StopSessionRecording(); + } + + [RecordedTest] + public async Task Get() + { + var mgmtGroup = await Client.GetManagementGroupOperations(_mgmtGroup.Id).GetAsync(); + CompareMgmtGroups(_mgmtGroup, mgmtGroup.Value); + } + + [RecordedTest] + public async Task Delete() + { + ManagementGroup mgmtGroup = await Client.GetManagementGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("mgmt-group-"), new CreateManagementGroupRequest()); + await mgmtGroup.DeleteAsync(); + var ex = Assert.ThrowsAsync(async () => await mgmtGroup.GetAsync()); + Assert.AreEqual(404, ex.Status); + } + + [RecordedTest] + public async Task StartDelete() + { + ManagementGroup mgmtGroup = await Client.GetManagementGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("mgmt-group-"), new CreateManagementGroupRequest()); + var deleteOp = await mgmtGroup.StartDeleteAsync(); + await deleteOp.WaitForCompletionResponseAsync(); + var ex = Assert.ThrowsAsync(async () => await mgmtGroup.GetAsync()); + Assert.AreEqual(404, ex.Status); + } + + [RecordedTest] + public async Task GetDescendants() + { + ManagementGroup mgmtGroup = await Client.GetManagementGroupOperations(_mgmtGroup.Id).GetAsync(); + DescendantInfo descendant = null; + await foreach(var desc in mgmtGroup.ListDescendantsAsync()) + { + descendant = desc; + break; + } + Assert.IsNull(descendant); //should have no descendants + } + + [RecordedTest] + public async Task Update() + { + ManagementGroup mgmtGroup = await Client.GetManagementGroups().CreateOrUpdateAsync(Recording.GenerateAssetName("mgmt-group-"), new CreateManagementGroupRequest()); + PatchManagementGroupRequest patch = new PatchManagementGroupRequest(); + patch.DisplayName = "New Display Name"; + ManagementGroup patchedMgmtGroup = await mgmtGroup.UpdateAsync(patch); + Assert.AreEqual("New Display Name", patchedMgmtGroup.Data.DisplayName); + Assert.AreEqual(mgmtGroup.Data.Id, patchedMgmtGroup.Data.Id); + Assert.AreEqual(mgmtGroup.Data.Name, patchedMgmtGroup.Data.Name); + Assert.AreEqual(mgmtGroup.Data.TenantId, patchedMgmtGroup.Data.TenantId); + Assert.AreEqual(mgmtGroup.Data.Type, patchedMgmtGroup.Data.Type); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ResourceManagerTestBase.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ResourceManagerTestBase.cs index d9ca850d4c86..a67cab17e496 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ResourceManagerTestBase.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ResourceManagerTestBase.cs @@ -80,5 +80,15 @@ protected static async Task GetResourceCountAsync(GenericResourceContainer result++; return result; } + protected void CompareMgmtGroups(ManagementGroup expected, ManagementGroup actual) + { + Assert.AreEqual(expected.Data.DisplayName, actual.Data.DisplayName); + Assert.AreEqual(expected.Data.Id, actual.Data.Id); + Assert.AreEqual(expected.Data.Name, actual.Data.Name); + Assert.AreEqual(expected.Data.TenantId, actual.Data.TenantId); + Assert.AreEqual(expected.Data.Type, actual.Data.Type); + Assert.IsNotNull(actual.Data.Details, "Details were null"); + Assert.IsNotNull(actual.Data.Children, "Children were null"); + } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CheckNameAvailability.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CheckNameAvailability.json new file mode 100644 index 000000000000..2e1a00dd92f1 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CheckNameAvailability.json @@ -0,0 +1,93 @@ +{ + "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": "9a30bcfb38f7a7e02258f0615a304507", + "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 21:54:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6223dd9b-5699-45d6-90cc-45182fea1cb5", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "6223dd9b-5699-45d6-90cc-45182fea1cb5", + "x-ms-routing-request-id": "WESTUS2:20210712T215427Z:6223dd9b-5699-45d6-90cc-45182fea1cb5" + }, + "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/providers/Microsoft.Management/checkNameAvailability?api-version=2021-04-01", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "79", + "Content-Type": "application/json", + "traceparent": "00-9c0c083ae8d1624fa995c007009d8fe8-043f748a2b23f848-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": "8816731aab7b93a8cdf37a0d307be50e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "this-should-not-exist", + "type": "Microsoft.Management/managementGroups" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "09778cdb-4d15-4535-b702-4543216535d9", + "Content-Length": "22", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "09778cdb-4d15-4535-b702-4543216535d9", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "09778cdb-4d15-4535-b702-4543216535d9", + "x-ms-ratelimit-remaining-tenant-writes": "1199", + "x-ms-request-id": "westus2:09778cdb-4d15-4535-b702-4543216535d9", + "x-ms-routing-request-id": "WESTUS2:20210712T215427Z:09778cdb-4d15-4535-b702-4543216535d9" + }, + "ResponseBody": { + "nameAvailable": true + } + } + ], + "Variables": { + "RandomSeed": "1692393202", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CheckNameAvailabilityAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CheckNameAvailabilityAsync.json new file mode 100644 index 000000000000..27469097a806 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CheckNameAvailabilityAsync.json @@ -0,0 +1,93 @@ +{ + "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": "9d751ff0518a2b832974b0ed6dc71ae1", + "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 21:55:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b2e0c6ef-b96c-4be2-847c-849f93094eab", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "b2e0c6ef-b96c-4be2-847c-849f93094eab", + "x-ms-routing-request-id": "WESTUS2:20210712T215509Z:b2e0c6ef-b96c-4be2-847c-849f93094eab" + }, + "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/providers/Microsoft.Management/checkNameAvailability?api-version=2021-04-01", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "79", + "Content-Type": "application/json", + "traceparent": "00-878ca23fe24b6f4191d8036dafc4384b-181b637c76b4c24b-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": "6b1e4d69c6f0516bf0d09d6deec64e06", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "name": "this-should-not-exist", + "type": "Microsoft.Management/managementGroups" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "b439dbbb-0c16-449f-8edc-c1d988c44f5d", + "Content-Length": "22", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "b439dbbb-0c16-449f-8edc-c1d988c44f5d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b439dbbb-0c16-449f-8edc-c1d988c44f5d", + "x-ms-ratelimit-remaining-tenant-writes": "1199", + "x-ms-request-id": "westus2:b439dbbb-0c16-449f-8edc-c1d988c44f5d", + "x-ms-routing-request-id": "WESTUS2:20210712T215509Z:b439dbbb-0c16-449f-8edc-c1d988c44f5d" + }, + "ResponseBody": { + "nameAvailable": true + } + } + ], + "Variables": { + "RandomSeed": "246446359", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CreateOrUpdate.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CreateOrUpdate.json new file mode 100644 index 000000000000..07a3253b2332 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CreateOrUpdate.json @@ -0,0 +1,1012 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ddd3c550b2fefd79802e64b1bc97f296", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:45 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c1f1ed7d-3729-4eb9-865e-66cb41dd156b", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "c1f1ed7d-3729-4eb9-865e-66cb41dd156b", + "x-ms-routing-request-id": "WESTUS2:20210712T014745Z:c1f1ed7d-3729-4eb9-865e-66cb41dd156b" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-20490a9fefa21b44-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0ff5b73d2885b0ec1513c32cf5be013f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c4d257ba-8d82-4f8d-982b-8a64ddbe44d9", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:45 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c4d257ba-8d82-4f8d-982b-8a64ddbe44d9", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c4d257ba-8d82-4f8d-982b-8a64ddbe44d9", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:c4d257ba-8d82-4f8d-982b-8a64ddbe44d9", + "x-ms-routing-request-id": "WESTUS2:20210712T014746Z:c4d257ba-8d82-4f8d-982b-8a64ddbe44d9" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-6550", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-6550", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-07d4b5271f65b141-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "33f8cfd99d9c9ccae62ce89eb5d18b70", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "de9676a0-f012-4005-ba9d-1fca4a98f55b", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:45 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "de9676a0-f012-4005-ba9d-1fca4a98f55b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "de9676a0-f012-4005-ba9d-1fca4a98f55b", + "x-ms-ratelimit-remaining-tenant-reads": "11974", + "x-ms-request-id": "westus2:de9676a0-f012-4005-ba9d-1fca4a98f55b", + "x-ms-routing-request-id": "WESTUS2:20210712T014746Z:de9676a0-f012-4005-ba9d-1fca4a98f55b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-bf2f810af014de45-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e43571639343b7e97e4e2ce563d139de", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "cca655b3-d2f1-458e-a0ae-033dc779fa17", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:46 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "cca655b3-d2f1-458e-a0ae-033dc779fa17", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cca655b3-d2f1-458e-a0ae-033dc779fa17", + "x-ms-ratelimit-remaining-tenant-reads": "11973", + "x-ms-request-id": "westus2:cca655b3-d2f1-458e-a0ae-033dc779fa17", + "x-ms-routing-request-id": "WESTUS2:20210712T014747Z:cca655b3-d2f1-458e-a0ae-033dc779fa17" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-9109a42f5e45dd47-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2552a00acec6e9a2e8121bcd9d9bf011", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fd5a46d4-29da-45a1-bfab-7a97d07787b1", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fd5a46d4-29da-45a1-bfab-7a97d07787b1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fd5a46d4-29da-45a1-bfab-7a97d07787b1", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:fd5a46d4-29da-45a1-bfab-7a97d07787b1", + "x-ms-routing-request-id": "WESTUS2:20210712T014748Z:fd5a46d4-29da-45a1-bfab-7a97d07787b1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-34415c643aa49947-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "05b85414250145dfe640b44d70e43815", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "33ccc5b5-befd-4450-92ff-e634743b1b22", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "33ccc5b5-befd-4450-92ff-e634743b1b22", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "33ccc5b5-befd-4450-92ff-e634743b1b22", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:33ccc5b5-befd-4450-92ff-e634743b1b22", + "x-ms-routing-request-id": "WESTUS2:20210712T014749Z:33ccc5b5-befd-4450-92ff-e634743b1b22" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-323eebbe40624c4a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "159309f3657e94aacf4bfb31781c1ae2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "8c737c8e-64d8-4ae9-bb82-0cf51ba47a1b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "8c737c8e-64d8-4ae9-bb82-0cf51ba47a1b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8c737c8e-64d8-4ae9-bb82-0cf51ba47a1b", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:8c737c8e-64d8-4ae9-bb82-0cf51ba47a1b", + "x-ms-routing-request-id": "WESTUS2:20210712T014750Z:8c737c8e-64d8-4ae9-bb82-0cf51ba47a1b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-372bd502a8a1ad49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0ed11b5d3319e4ddc10d3f8519547904", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c027b87b-5702-4607-bed6-6f6431fde6e4", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c027b87b-5702-4607-bed6-6f6431fde6e4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c027b87b-5702-4607-bed6-6f6431fde6e4", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:c027b87b-5702-4607-bed6-6f6431fde6e4", + "x-ms-routing-request-id": "WESTUS2:20210712T014751Z:c027b87b-5702-4607-bed6-6f6431fde6e4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-e7612bac82512240-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "93d905d9db07ae93aa2336b529aeccc9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0a01f58e-4fc5-43fc-a17f-5886b974738f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:52 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0a01f58e-4fc5-43fc-a17f-5886b974738f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0a01f58e-4fc5-43fc-a17f-5886b974738f", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:0a01f58e-4fc5-43fc-a17f-5886b974738f", + "x-ms-routing-request-id": "WESTUS2:20210712T014753Z:0a01f58e-4fc5-43fc-a17f-5886b974738f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-09fd85333991464d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "55f0d2262913c0fc2baf547026247a7a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c2dacfb6-5953-47c7-8175-cd8481b51803", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:53 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c2dacfb6-5953-47c7-8175-cd8481b51803", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c2dacfb6-5953-47c7-8175-cd8481b51803", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:c2dacfb6-5953-47c7-8175-cd8481b51803", + "x-ms-routing-request-id": "WESTUS2:20210712T014754Z:c2dacfb6-5953-47c7-8175-cd8481b51803" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-098da549de5adb49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7257f7d2864282db872263f5fc28ba12", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "12692693-f44f-4346-89eb-67136a36d913", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:54 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "12692693-f44f-4346-89eb-67136a36d913", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "12692693-f44f-4346-89eb-67136a36d913", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:12692693-f44f-4346-89eb-67136a36d913", + "x-ms-routing-request-id": "WESTUS2:20210712T014755Z:12692693-f44f-4346-89eb-67136a36d913" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-ffd6cb09066bae42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "475f76402364b0f00919685887228886", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "553953ae-fbf5-41ce-a757-5f83d03f13a2", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "553953ae-fbf5-41ce-a757-5f83d03f13a2", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "553953ae-fbf5-41ce-a757-5f83d03f13a2", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:553953ae-fbf5-41ce-a757-5f83d03f13a2", + "x-ms-routing-request-id": "WESTUS2:20210712T014756Z:553953ae-fbf5-41ce-a757-5f83d03f13a2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-304bf1ffdaca0241-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "32e2bba959579f86f76ecdf0c606c303", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e141027d-7ad9-4c33-86aa-840d1c75d3b0", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:57 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e141027d-7ad9-4c33-86aa-840d1c75d3b0", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e141027d-7ad9-4c33-86aa-840d1c75d3b0", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:e141027d-7ad9-4c33-86aa-840d1c75d3b0", + "x-ms-routing-request-id": "WESTUS2:20210712T014757Z:e141027d-7ad9-4c33-86aa-840d1c75d3b0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-e0a4a5e2db3eba4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b03041f433c5af1606a768281e82fa65", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3d80b3d6-f5e8-4a43-a6a2-29722b8ce448", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3d80b3d6-f5e8-4a43-a6a2-29722b8ce448", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3d80b3d6-f5e8-4a43-a6a2-29722b8ce448", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:3d80b3d6-f5e8-4a43-a6a2-29722b8ce448", + "x-ms-routing-request-id": "WESTUS2:20210712T014758Z:3d80b3d6-f5e8-4a43-a6a2-29722b8ce448" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-5d8358baa4045c43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "414bdd998846e6bbefbf50f655ffe902", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ea3213ac-b3ed-4aef-b728-04c7edea5e98", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:47:59 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ea3213ac-b3ed-4aef-b728-04c7edea5e98", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ea3213ac-b3ed-4aef-b728-04c7edea5e98", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:ea3213ac-b3ed-4aef-b728-04c7edea5e98", + "x-ms-routing-request-id": "WESTUS2:20210712T014800Z:ea3213ac-b3ed-4aef-b728-04c7edea5e98" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-676c133813ca944f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "46646456d8f176c1a5322bb0f05d8174", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "770f6aa8-a9e6-4573-bf74-50a279d9502d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "770f6aa8-a9e6-4573-bf74-50a279d9502d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "770f6aa8-a9e6-4573-bf74-50a279d9502d", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:770f6aa8-a9e6-4573-bf74-50a279d9502d", + "x-ms-routing-request-id": "WESTUS2:20210712T014801Z:770f6aa8-a9e6-4573-bf74-50a279d9502d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-fec0047e8653af40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e857677381bb6bbc8549c006e2205906", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5dde736e-f154-49e7-8074-551fb1658a86", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5dde736e-f154-49e7-8074-551fb1658a86", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5dde736e-f154-49e7-8074-551fb1658a86", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:5dde736e-f154-49e7-8074-551fb1658a86", + "x-ms-routing-request-id": "WESTUS2:20210712T014802Z:5dde736e-f154-49e7-8074-551fb1658a86" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-e35b845e8cc6294a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b9d266bdb31ec1731cd59b135c0bf591", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "6ffd9112-b594-45ce-8785-a0de7d2a6923", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "6ffd9112-b594-45ce-8785-a0de7d2a6923", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6ffd9112-b594-45ce-8785-a0de7d2a6923", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:6ffd9112-b594-45ce-8785-a0de7d2a6923", + "x-ms-routing-request-id": "WESTUS2:20210712T014803Z:6ffd9112-b594-45ce-8785-a0de7d2a6923" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-2c761b4bacc2ac4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ee82db3d00a8d547a8f8c1a817bb9385", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e8660539-c571-47a8-8288-2aef3688c534", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:03 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e8660539-c571-47a8-8288-2aef3688c534", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e8660539-c571-47a8-8288-2aef3688c534", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:e8660539-c571-47a8-8288-2aef3688c534", + "x-ms-routing-request-id": "WESTUS2:20210712T014804Z:e8660539-c571-47a8-8288-2aef3688c534" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-348815a41c81864e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8af224d9c88bbf56f395cce5e5a90e79", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b9e97df5-0aed-40b1-8316-4d39e5f5dccb", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:04 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b9e97df5-0aed-40b1-8316-4d39e5f5dccb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b9e97df5-0aed-40b1-8316-4d39e5f5dccb", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:b9e97df5-0aed-40b1-8316-4d39e5f5dccb", + "x-ms-routing-request-id": "WESTUS2:20210712T014805Z:b9e97df5-0aed-40b1-8316-4d39e5f5dccb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-db23f43717e99a41-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "07c82f536b9dbc5e1efd1125f2cba961", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "8ae2f03a-eb00-42b6-a8e0-0089b23e5657", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "8ae2f03a-eb00-42b6-a8e0-0089b23e5657", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8ae2f03a-eb00-42b6-a8e0-0089b23e5657", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:8ae2f03a-eb00-42b6-a8e0-0089b23e5657", + "x-ms-routing-request-id": "WESTUS2:20210712T014806Z:8ae2f03a-eb00-42b6-a8e0-0089b23e5657" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-847468c74ca06248-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "373a16416a18750585c2fa123462effe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "8d866134-ab9f-41ef-8182-4b0721d2034c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "8d866134-ab9f-41ef-8182-4b0721d2034c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8d866134-ab9f-41ef-8182-4b0721d2034c", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:8d866134-ab9f-41ef-8182-4b0721d2034c", + "x-ms-routing-request-id": "WESTUS2:20210712T014807Z:8d866134-ab9f-41ef-8182-4b0721d2034c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-e06886bf566db54f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e85447e98cf26ee7c6366c8eb630cd28", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0e2d5844-bcce-401c-afca-9856a6574585", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0e2d5844-bcce-401c-afca-9856a6574585", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0e2d5844-bcce-401c-afca-9856a6574585", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:0e2d5844-bcce-401c-afca-9856a6574585", + "x-ms-routing-request-id": "WESTUS2:20210712T014809Z:0e2d5844-bcce-401c-afca-9856a6574585" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-633f12b808ae6e40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "cfa36becd76fe860295281db714b88bb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "fd6e6651-4363-465c-802e-1a3779d5d1e6", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "fd6e6651-4363-465c-802e-1a3779d5d1e6", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fd6e6651-4363-465c-802e-1a3779d5d1e6", + "x-ms-ratelimit-remaining-tenant-reads": "11953", + "x-ms-request-id": "westus2:fd6e6651-4363-465c-802e-1a3779d5d1e6", + "x-ms-routing-request-id": "WESTUS2:20210712T014810Z:fd6e6651-4363-465c-802e-1a3779d5d1e6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6550", + "name": "mgmt-group-6550", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-6550", + "details": { + "version": 1, + "updatedTime": "2021-07-12T01:47:52.5659456Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-6550?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-19cac4b61644af4cb181806740c1219c-3c7dd924db1ec449-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "aa3b120ec076b56e2ecc70e2fe77bf54", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "5c55205f-bc61-4b10-8e20-46d5223ed824", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 01:48:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "5c55205f-bc61-4b10-8e20-46d5223ed824", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5c55205f-bc61-4b10-8e20-46d5223ed824", + "x-ms-ratelimit-remaining-tenant-reads": "11952", + "x-ms-request-id": "westus2:5c55205f-bc61-4b10-8e20-46d5223ed824", + "x-ms-routing-request-id": "WESTUS2:20210712T014810Z:5c55205f-bc61-4b10-8e20-46d5223ed824" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-6550", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-6550", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-6550", + "details": { + "version": 1, + "updatedTime": "2021-07-12T01:47:52.5659456Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "326400329", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CreateOrUpdateAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CreateOrUpdateAsync.json new file mode 100644 index 000000000000..80d2c9fc9e0a --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/CreateOrUpdateAsync.json @@ -0,0 +1,1207 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6a767b63432a1f884cebf0889a6cc0f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7e076c52-37d1-4c1d-bc97-190a9be382ca", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "7e076c52-37d1-4c1d-bc97-190a9be382ca", + "x-ms-routing-request-id": "WESTUS2:20210712T022507Z:7e076c52-37d1-4c1d-bc97-190a9be382ca" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-78402e237bfa2743-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6dfcfa1ebbb689f022ef489afafad6cc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "81934931-4d51-49e4-bddc-b28457c4b783", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "81934931-4d51-49e4-bddc-b28457c4b783", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "81934931-4d51-49e4-bddc-b28457c4b783", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:81934931-4d51-49e4-bddc-b28457c4b783", + "x-ms-routing-request-id": "WESTUS2:20210712T022507Z:81934931-4d51-49e4-bddc-b28457c4b783" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-2793", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-2793", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-83d224a708d7d241-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8592ba068bcbc0ad85e00853408452f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "102c6076-9e3c-4c27-955f-df10c32401e4", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "102c6076-9e3c-4c27-955f-df10c32401e4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "102c6076-9e3c-4c27-955f-df10c32401e4", + "x-ms-ratelimit-remaining-tenant-reads": "11973", + "x-ms-request-id": "westus2:102c6076-9e3c-4c27-955f-df10c32401e4", + "x-ms-routing-request-id": "WESTUS2:20210712T022508Z:102c6076-9e3c-4c27-955f-df10c32401e4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-3ae4df111d40b744-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "54ecbb1a50ef74517845f0216bdbb912", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7d89aa1f-3b19-4f54-976f-92da84274a58", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7d89aa1f-3b19-4f54-976f-92da84274a58", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7d89aa1f-3b19-4f54-976f-92da84274a58", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:7d89aa1f-3b19-4f54-976f-92da84274a58", + "x-ms-routing-request-id": "WESTUS2:20210712T022509Z:7d89aa1f-3b19-4f54-976f-92da84274a58" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-36ab4d9a32f93f46-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3f940e4b50682200691021f7a02e76f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ea2b5209-8979-4afb-baf9-8de073e2abfc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ea2b5209-8979-4afb-baf9-8de073e2abfc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ea2b5209-8979-4afb-baf9-8de073e2abfc", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:ea2b5209-8979-4afb-baf9-8de073e2abfc", + "x-ms-routing-request-id": "WESTUS2:20210712T022510Z:ea2b5209-8979-4afb-baf9-8de073e2abfc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-5f49ef931fbdae4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "14fa5f424e22b54a691e0d859a8c54aa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9f892abb-fc68-47f1-800c-0dd036afb225", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9f892abb-fc68-47f1-800c-0dd036afb225", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9f892abb-fc68-47f1-800c-0dd036afb225", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:9f892abb-fc68-47f1-800c-0dd036afb225", + "x-ms-routing-request-id": "WESTUS2:20210712T022511Z:9f892abb-fc68-47f1-800c-0dd036afb225" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-d9a9ca18da111842-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3107f62612efc988bac9eadf2f59d34a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fb54f061-3f8d-4f5a-b1dc-890c15ab1c4c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fb54f061-3f8d-4f5a-b1dc-890c15ab1c4c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fb54f061-3f8d-4f5a-b1dc-890c15ab1c4c", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:fb54f061-3f8d-4f5a-b1dc-890c15ab1c4c", + "x-ms-routing-request-id": "WESTUS2:20210712T022512Z:fb54f061-3f8d-4f5a-b1dc-890c15ab1c4c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-f6579972de922545-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0cdff7cfa5e1fcefc3ded549437a88dd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "cc9c5be8-ce8c-4ea5-a3ba-1703d865ebfc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:13 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "cc9c5be8-ce8c-4ea5-a3ba-1703d865ebfc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cc9c5be8-ce8c-4ea5-a3ba-1703d865ebfc", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:cc9c5be8-ce8c-4ea5-a3ba-1703d865ebfc", + "x-ms-routing-request-id": "WESTUS2:20210712T022513Z:cc9c5be8-ce8c-4ea5-a3ba-1703d865ebfc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-ad6eb791bf996b40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "aad076bb44262f08d6305959646b8610", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "14737d7c-a7b1-4d6a-afba-1197c0764283", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "14737d7c-a7b1-4d6a-afba-1197c0764283", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "14737d7c-a7b1-4d6a-afba-1197c0764283", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:14737d7c-a7b1-4d6a-afba-1197c0764283", + "x-ms-routing-request-id": "WESTUS2:20210712T022514Z:14737d7c-a7b1-4d6a-afba-1197c0764283" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-7cc30bd374a2f348-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a2b6c34a48ad81c8060a6d103c3e863f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ff8f653d-382a-4e25-9e76-5b4abe3d16c0", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:15 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ff8f653d-382a-4e25-9e76-5b4abe3d16c0", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ff8f653d-382a-4e25-9e76-5b4abe3d16c0", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:ff8f653d-382a-4e25-9e76-5b4abe3d16c0", + "x-ms-routing-request-id": "WESTUS2:20210712T022515Z:ff8f653d-382a-4e25-9e76-5b4abe3d16c0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-29804081d803b249-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b8230d4128888a23efaf36b04b969858", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "cd61cd3d-1880-4a8e-85e9-2f64f25cdb5d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "cd61cd3d-1880-4a8e-85e9-2f64f25cdb5d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cd61cd3d-1880-4a8e-85e9-2f64f25cdb5d", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:cd61cd3d-1880-4a8e-85e9-2f64f25cdb5d", + "x-ms-routing-request-id": "WESTUS2:20210712T022517Z:cd61cd3d-1880-4a8e-85e9-2f64f25cdb5d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-62b530bbaccf2b4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "80ffc558e5c47330ae4fa31bd7f7f398", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a9c3a7e9-aa34-454b-98a6-be10c318e5d0", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a9c3a7e9-aa34-454b-98a6-be10c318e5d0", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a9c3a7e9-aa34-454b-98a6-be10c318e5d0", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:a9c3a7e9-aa34-454b-98a6-be10c318e5d0", + "x-ms-routing-request-id": "WESTUS2:20210712T022518Z:a9c3a7e9-aa34-454b-98a6-be10c318e5d0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-d50a10002ad8704c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "57171aa9cd4721879f2bb3fd12173670", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "38a7a852-080c-43e2-91ac-6deea30d4296", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "38a7a852-080c-43e2-91ac-6deea30d4296", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "38a7a852-080c-43e2-91ac-6deea30d4296", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:38a7a852-080c-43e2-91ac-6deea30d4296", + "x-ms-routing-request-id": "WESTUS2:20210712T022519Z:38a7a852-080c-43e2-91ac-6deea30d4296" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-878b4d86fada8447-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "77b81472063f5b7bdcb00a398507b3f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "8d132538-f79e-44dc-9a2a-fa867b6a2d75", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:19 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "8d132538-f79e-44dc-9a2a-fa867b6a2d75", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8d132538-f79e-44dc-9a2a-fa867b6a2d75", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:8d132538-f79e-44dc-9a2a-fa867b6a2d75", + "x-ms-routing-request-id": "WESTUS2:20210712T022520Z:8d132538-f79e-44dc-9a2a-fa867b6a2d75" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-3100511ea8730a48-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "31079dbc417e8b113edde09832326196", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "18ab18a0-f9bc-4a54-bafb-00dffbfae8f0", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "18ab18a0-f9bc-4a54-bafb-00dffbfae8f0", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "18ab18a0-f9bc-4a54-bafb-00dffbfae8f0", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:18ab18a0-f9bc-4a54-bafb-00dffbfae8f0", + "x-ms-routing-request-id": "WESTUS2:20210712T022521Z:18ab18a0-f9bc-4a54-bafb-00dffbfae8f0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-9f7ff05578765346-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c2a933187c3fa3589fbb7a96c34d9c97", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "bcad21c8-69ab-4d84-a12f-26f2356ceb30", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "bcad21c8-69ab-4d84-a12f-26f2356ceb30", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bcad21c8-69ab-4d84-a12f-26f2356ceb30", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:bcad21c8-69ab-4d84-a12f-26f2356ceb30", + "x-ms-routing-request-id": "WESTUS2:20210712T022522Z:bcad21c8-69ab-4d84-a12f-26f2356ceb30" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-6a63fef616313447-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7441bc78051030f2032c396125e229a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ec691601-d45b-4b50-8aa5-444c3e4566bc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ec691601-d45b-4b50-8aa5-444c3e4566bc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ec691601-d45b-4b50-8aa5-444c3e4566bc", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:ec691601-d45b-4b50-8aa5-444c3e4566bc", + "x-ms-routing-request-id": "WESTUS2:20210712T022523Z:ec691601-d45b-4b50-8aa5-444c3e4566bc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-c3f2accffd839142-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5220734ff05d40b7446391c2c67ac8f0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a1889f6b-89d6-4c3c-b2b8-2ecaac4301fa", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:24 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a1889f6b-89d6-4c3c-b2b8-2ecaac4301fa", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a1889f6b-89d6-4c3c-b2b8-2ecaac4301fa", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:a1889f6b-89d6-4c3c-b2b8-2ecaac4301fa", + "x-ms-routing-request-id": "WESTUS2:20210712T022525Z:a1889f6b-89d6-4c3c-b2b8-2ecaac4301fa" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-667e25dc0d547c4c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "751f4840edf113854079be1343f77dbc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "94ec5071-9358-4e4b-ba5e-ce3cffcf5783", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:25 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "94ec5071-9358-4e4b-ba5e-ce3cffcf5783", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "94ec5071-9358-4e4b-ba5e-ce3cffcf5783", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:94ec5071-9358-4e4b-ba5e-ce3cffcf5783", + "x-ms-routing-request-id": "WESTUS2:20210712T022526Z:94ec5071-9358-4e4b-ba5e-ce3cffcf5783" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-c499d3bf10ec7545-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4f47d1924a2d883904012fac732f6989", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "34563f1f-b3f7-47f5-9938-52e21b8aa875", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:26 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "34563f1f-b3f7-47f5-9938-52e21b8aa875", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "34563f1f-b3f7-47f5-9938-52e21b8aa875", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:34563f1f-b3f7-47f5-9938-52e21b8aa875", + "x-ms-routing-request-id": "WESTUS2:20210712T022527Z:34563f1f-b3f7-47f5-9938-52e21b8aa875" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-8a401c98b7631042-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "dc204864b3c262b8ee0d11e431a4fd4d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "bd5c657d-3eee-4073-9d9e-f6ceca7862d7", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "bd5c657d-3eee-4073-9d9e-f6ceca7862d7", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bd5c657d-3eee-4073-9d9e-f6ceca7862d7", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:bd5c657d-3eee-4073-9d9e-f6ceca7862d7", + "x-ms-routing-request-id": "WESTUS2:20210712T022528Z:bd5c657d-3eee-4073-9d9e-f6ceca7862d7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-0e2c16e72312564c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f530d4e67932f6c30e9771efbdd8a011", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "504c7550-f4c7-4a3e-9d03-87846b1298f6", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:28 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "504c7550-f4c7-4a3e-9d03-87846b1298f6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "504c7550-f4c7-4a3e-9d03-87846b1298f6", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:504c7550-f4c7-4a3e-9d03-87846b1298f6", + "x-ms-routing-request-id": "WESTUS2:20210712T022529Z:504c7550-f4c7-4a3e-9d03-87846b1298f6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-6920cbcec98cc940-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "faae350fa0d6defa18e5601f38555660", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "af96cecf-7b9b-41de-932f-6afb90075ae9", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "af96cecf-7b9b-41de-932f-6afb90075ae9", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "af96cecf-7b9b-41de-932f-6afb90075ae9", + "x-ms-ratelimit-remaining-tenant-reads": "11953", + "x-ms-request-id": "westus2:af96cecf-7b9b-41de-932f-6afb90075ae9", + "x-ms-routing-request-id": "WESTUS2:20210712T022530Z:af96cecf-7b9b-41de-932f-6afb90075ae9" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-5e73014b6d345241-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9ec6e10474feeb568529ce2a42c8a415", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "63ac1196-ba3f-41b6-b4d0-fb7d18c9a917", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:31 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "63ac1196-ba3f-41b6-b4d0-fb7d18c9a917", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "63ac1196-ba3f-41b6-b4d0-fb7d18c9a917", + "x-ms-ratelimit-remaining-tenant-reads": "11952", + "x-ms-request-id": "westus2:63ac1196-ba3f-41b6-b4d0-fb7d18c9a917", + "x-ms-routing-request-id": "WESTUS2:20210712T022531Z:63ac1196-ba3f-41b6-b4d0-fb7d18c9a917" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-f658e1ab4cb1b543-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fcd5ff6d02f54577da52dc4d18a3bdb9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e55e6b46-4446-4efe-aa60-ee986428d71b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:32 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e55e6b46-4446-4efe-aa60-ee986428d71b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e55e6b46-4446-4efe-aa60-ee986428d71b", + "x-ms-ratelimit-remaining-tenant-reads": "11951", + "x-ms-request-id": "westus2:e55e6b46-4446-4efe-aa60-ee986428d71b", + "x-ms-routing-request-id": "WESTUS2:20210712T022532Z:e55e6b46-4446-4efe-aa60-ee986428d71b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-45fe3c3a91957f4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "dceb114101129b12dec374acd2cf9b50", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d0f5c803-1122-4d9c-814a-426c24d82c2d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d0f5c803-1122-4d9c-814a-426c24d82c2d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d0f5c803-1122-4d9c-814a-426c24d82c2d", + "x-ms-ratelimit-remaining-tenant-reads": "11950", + "x-ms-request-id": "westus2:d0f5c803-1122-4d9c-814a-426c24d82c2d", + "x-ms-routing-request-id": "WESTUS2:20210712T022534Z:d0f5c803-1122-4d9c-814a-426c24d82c2d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-7800771dbc1b7040-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "39b24b40597f016a6a81c3ac9709d3e2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "90a0feed-9413-419c-aec7-13f0bf0a5bc6", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "90a0feed-9413-419c-aec7-13f0bf0a5bc6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "90a0feed-9413-419c-aec7-13f0bf0a5bc6", + "x-ms-ratelimit-remaining-tenant-reads": "11949", + "x-ms-request-id": "westus2:90a0feed-9413-419c-aec7-13f0bf0a5bc6", + "x-ms-routing-request-id": "WESTUS2:20210712T022535Z:90a0feed-9413-419c-aec7-13f0bf0a5bc6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-4ddecca63a2d524e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "31e9146cc8dc6b03ec3a1e328eca730b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "bb146d9c-796b-4b6c-9593-f09f40aac93c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:35 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "bb146d9c-796b-4b6c-9593-f09f40aac93c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bb146d9c-796b-4b6c-9593-f09f40aac93c", + "x-ms-ratelimit-remaining-tenant-reads": "11948", + "x-ms-request-id": "westus2:bb146d9c-796b-4b6c-9593-f09f40aac93c", + "x-ms-routing-request-id": "WESTUS2:20210712T022536Z:bb146d9c-796b-4b6c-9593-f09f40aac93c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-7193227d04ee3845-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "cc0c8cb684f0e739a6e971913d6603d4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "2cb92b68-0a1a-4148-95e6-402741389694", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "2cb92b68-0a1a-4148-95e6-402741389694", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2cb92b68-0a1a-4148-95e6-402741389694", + "x-ms-ratelimit-remaining-tenant-reads": "11947", + "x-ms-request-id": "westus2:2cb92b68-0a1a-4148-95e6-402741389694", + "x-ms-routing-request-id": "WESTUS2:20210712T022537Z:2cb92b68-0a1a-4148-95e6-402741389694" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-2793", + "name": "mgmt-group-2793", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-2793", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:25:16.6774128Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-2793?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1c4bb49725b0454aae42c3b331fd4f17-9f3be4a46251d84a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "be4092ef6ae5787348474c453a37739f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "7ba3ddbd-3dd1-44fa-8f86-55edf91e0504", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:36 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "7ba3ddbd-3dd1-44fa-8f86-55edf91e0504", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7ba3ddbd-3dd1-44fa-8f86-55edf91e0504", + "x-ms-ratelimit-remaining-tenant-reads": "11946", + "x-ms-request-id": "westus2:7ba3ddbd-3dd1-44fa-8f86-55edf91e0504", + "x-ms-routing-request-id": "WESTUS2:20210712T022537Z:7ba3ddbd-3dd1-44fa-8f86-55edf91e0504" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-2793", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-2793", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-2793", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:25:16.6774128Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "1524082043", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/DoesExist.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/DoesExist.json new file mode 100644 index 000000000000..2aa9038a2b6b --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/DoesExist.json @@ -0,0 +1,141 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8fd5419518aafaa02488caa8c8deda0c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:12:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "308085c2-c2e2-41e3-a2c3-6d1939877ed0", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "308085c2-c2e2-41e3-a2c3-6d1939877ed0", + "x-ms-routing-request-id": "WESTUS2:20210712T021233Z:308085c2-c2e2-41e3-a2c3-6d1939877ed0" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-88dbb2b2b9896642ba10cbaa6f815b95-8f86abda11ca7440-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8ec5b6fa05613f0330bdfc319ae0cf97", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "e2b31e6a-9d42-4da1-b2d5-5f546a5e2197", + "Content-Length": "562", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:12:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "e2b31e6a-9d42-4da1-b2d5-5f546a5e2197", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e2b31e6a-9d42-4da1-b2d5-5f546a5e2197", + "x-ms-ratelimit-remaining-tenant-reads": "11977", + "x-ms-request-id": "westus2:e2b31e6a-9d42-4da1-b2d5-5f546a5e2197", + "x-ms-routing-request-id": "WESTUS2:20210712T021233Z:e2b31e6a-9d42-4da1-b2d5-5f546a5e2197" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827", + "details": { + "version": 7, + "updatedTime": "2021-07-12T02:12:17.0110949Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-827x?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-4fad87e88352464cb2c0eab5c3cc4961-4c37dc144f791548-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "edf908d30bb1bc452e47f81454108323", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 403, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Connection": "close", + "Content-Length": "415", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:12:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "615ff006-29e5-4c19-a733-7197f49af8ce", + "x-ms-failure-cause": "gateway", + "x-ms-request-id": "615ff006-29e5-4c19-a733-7197f49af8ce", + "x-ms-routing-request-id": "WESTUS2:20210712T021233Z:615ff006-29e5-4c19-a733-7197f49af8ce" + }, + "ResponseBody": { + "error": { + "code": "AuthorizationFailed", + "message": "The client \u00273b10dae3-28cf-49a7-a8df-8fbae3e77f27\u0027 with object id \u00273b10dae3-28cf-49a7-a8df-8fbae3e77f27\u0027 does not have authorization to perform action \u0027Microsoft.Management/managementGroups/read\u0027 over scope \u0027/providers/Microsoft.Management/managementGroups/mgmt-group-827x\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials." + } + } + } + ], + "Variables": { + "RandomSeed": "999687268", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/DoesExistAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/DoesExistAsync.json new file mode 100644 index 000000000000..f3cba8adcdff --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/DoesExistAsync.json @@ -0,0 +1,141 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7e75a5d49435d430d8bcaeefd25cbf19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:37 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "35488971-3065-4bba-93d4-ced2cb0b2248", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "35488971-3065-4bba-93d4-ced2cb0b2248", + "x-ms-routing-request-id": "WESTUS2:20210712T022538Z:35488971-3065-4bba-93d4-ced2cb0b2248" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-38c11b7a3d5e784081fc2faa29e1ad15-ce5b0657509bfe42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e7b1785bcc493a9e327476b72e47dca9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "60329435-3e36-48ff-80e5-202112023a0f", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "60329435-3e36-48ff-80e5-202112023a0f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "60329435-3e36-48ff-80e5-202112023a0f", + "x-ms-ratelimit-remaining-tenant-reads": "11945", + "x-ms-request-id": "westus2:60329435-3e36-48ff-80e5-202112023a0f", + "x-ms-routing-request-id": "WESTUS2:20210712T022538Z:60329435-3e36-48ff-80e5-202112023a0f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-7077", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-7077", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-7077", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:24:46.5942156Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-7077x?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-8b041741573dfa458c0a3ffa47edca93-8eb56573ef9df545-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f8a719f22e2dd670c1d08257023acae1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 403, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Connection": "close", + "Content-Length": "416", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "86fef0a8-85d5-4e94-af7e-bdb31c8b351d", + "x-ms-failure-cause": "gateway", + "x-ms-request-id": "86fef0a8-85d5-4e94-af7e-bdb31c8b351d", + "x-ms-routing-request-id": "WESTUS2:20210712T022538Z:86fef0a8-85d5-4e94-af7e-bdb31c8b351d" + }, + "ResponseBody": { + "error": { + "code": "AuthorizationFailed", + "message": "The client \u00273b10dae3-28cf-49a7-a8df-8fbae3e77f27\u0027 with object id \u00273b10dae3-28cf-49a7-a8df-8fbae3e77f27\u0027 does not have authorization to perform action \u0027Microsoft.Management/managementGroups/read\u0027 over scope \u0027/providers/Microsoft.Management/managementGroups/mgmt-group-7077x\u0027 or the scope is invalid. If access was recently granted, please refresh your credentials." + } + } + } + ], + "Variables": { + "RandomSeed": "5208514", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/Get.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/Get.json new file mode 100644 index 000000000000..8ac71f51cd4a --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/Get.json @@ -0,0 +1,105 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d6bc55a4dabeb6982d83d7e935e2c8ae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:46:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7f981584-2b7a-494e-aa48-3995a0ed8ade", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "7f981584-2b7a-494e-aa48-3995a0ed8ade", + "x-ms-routing-request-id": "WESTUS2:20210712T024658Z:7f981584-2b7a-494e-aa48-3995a0ed8ade" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-5d34b3caacb2804fb016cdb384bc4fcb-de671d1ebc18164c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2fab16eddac6287ac47895b039e1a825", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "050fe02b-48f0-40ae-a7bd-660cc59a5932", + "Content-Length": "563", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:46:58 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "050fe02b-48f0-40ae-a7bd-660cc59a5932", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "050fe02b-48f0-40ae-a7bd-660cc59a5932", + "x-ms-ratelimit-remaining-tenant-reads": "11926", + "x-ms-request-id": "westus2:050fe02b-48f0-40ae-a7bd-660cc59a5932", + "x-ms-routing-request-id": "WESTUS2:20210712T024658Z:050fe02b-48f0-40ae-a7bd-660cc59a5932" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827", + "details": { + "version": 11, + "updatedTime": "2021-07-12T02:46:41.3959907Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "182079362", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/GetAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/GetAsync.json new file mode 100644 index 000000000000..c06747b598bd --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/GetAsync.json @@ -0,0 +1,105 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a2bf914cbf7bd160ccb71a5ce159e542", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8d1e5e85-86db-4888-9aff-1652217906f5", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "8d1e5e85-86db-4888-9aff-1652217906f5", + "x-ms-routing-request-id": "WESTUS2:20210712T022539Z:8d1e5e85-86db-4888-9aff-1652217906f5" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-c240d4afd0be5f4b84404601be9e3c2a-f2e23e01b3cf4f45-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3bbcecca6bb46a46bbf7f5fb203f20af", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "aa187cff-47f2-49b4-94ce-9f1e77218766", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "aa187cff-47f2-49b4-94ce-9f1e77218766", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "aa187cff-47f2-49b4-94ce-9f1e77218766", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "westus2:aa187cff-47f2-49b4-94ce-9f1e77218766", + "x-ms-routing-request-id": "WESTUS2:20210712T022539Z:aa187cff-47f2-49b4-94ce-9f1e77218766" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-7077", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-7077", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-7077", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:24:46.5942156Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "1838841866", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/List.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/List.json new file mode 100644 index 000000000000..c6ecfe117262 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/List.json @@ -0,0 +1,100 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1ece228fdacf7377a1575a120fc772b3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:16:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fe9bef53-fc20-4dd8-b8df-680492ef0c0a", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "fe9bef53-fc20-4dd8-b8df-680492ef0c0a", + "x-ms-routing-request-id": "WESTUS2:20210712T021622Z:fe9bef53-fc20-4dd8-b8df-680492ef0c0a" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-1cb3bb6efe74804cbc98e811892f362c-f18303985b2ea74e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3639dbd02a78ecc832f2cc6d6fa8908c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "4713d300-3d9b-43c1-8a0d-f7861c1dc4ad", + "Content-Length": "268", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:16:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "4713d300-3d9b-43c1-8a0d-f7861c1dc4ad", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4713d300-3d9b-43c1-8a0d-f7861c1dc4ad", + "x-ms-ratelimit-remaining-tenant-reads": "11974", + "x-ms-request-id": "westus2:4713d300-3d9b-43c1-8a0d-f7861c1dc4ad", + "x-ms-routing-request-id": "WESTUS2:20210712T021624Z:4713d300-3d9b-43c1-8a0d-f7861c1dc4ad" + }, + "ResponseBody": { + "value": [ + { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827" + } + } + ], + "@nextLink": null + } + } + ], + "Variables": { + "RandomSeed": "30018818", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ListAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ListAsync.json new file mode 100644 index 000000000000..b9d2419e63eb --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ListAsync.json @@ -0,0 +1,100 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "faae04ca7e1c7fae69e6a5bbe56fc77f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c1a33b63-793b-42b3-867e-d52f7b5fa6b2", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "c1a33b63-793b-42b3-867e-d52f7b5fa6b2", + "x-ms-routing-request-id": "WESTUS2:20210712T022539Z:c1a33b63-793b-42b3-867e-d52f7b5fa6b2" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-2b2815c5ac545246ba726c90e3eede55-074b45920fd43943-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "eb906a60ab29302bc4625a55d3575989", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "b18b3195-6349-4b89-a942-687f70a29c9d", + "Content-Length": "268", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:25:38 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "b18b3195-6349-4b89-a942-687f70a29c9d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b18b3195-6349-4b89-a942-687f70a29c9d", + "x-ms-ratelimit-remaining-tenant-reads": "11998", + "x-ms-request-id": "westus2:b18b3195-6349-4b89-a942-687f70a29c9d", + "x-ms-routing-request-id": "WESTUS2:20210712T022539Z:b18b3195-6349-4b89-a942-687f70a29c9d" + }, + "ResponseBody": { + "value": [ + { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827" + } + } + ], + "@nextLink": null + } + } + ], + "Variables": { + "RandomSeed": "267523460", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ManagementGroupContainerTests(False).json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ManagementGroupContainerTests(False).json new file mode 100644 index 000000000000..ea6a3602f39a --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ManagementGroupContainerTests(False).json @@ -0,0 +1,1102 @@ +{ + "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": "c3e11f6b550c9e107ce92b426a2fec90", + "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 21:53:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "82e19c85-dcce-4f75-880b-f6ec82c33b92", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "82e19c85-dcce-4f75-880b-f6ec82c33b92", + "x-ms-routing-request-id": "WESTUS2:20210712T215359Z:82e19c85-dcce-4f75-880b-f6ec82c33b92" + }, + "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/providers/Microsoft.Management/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-89a76ee21bd82c4c-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": "859b6229c1944506f0d4de51d82e796f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "62ec3bfe-ca32-43de-9149-2900f3cd80db", + "Content-Length": "165", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "62ec3bfe-ca32-43de-9149-2900f3cd80db", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "62ec3bfe-ca32-43de-9149-2900f3cd80db", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-writes": "1199", + "x-ms-request-id": "westus2:62ec3bfe-ca32-43de-9149-2900f3cd80db", + "x-ms-routing-request-id": "WESTUS2:20210712T215400Z:62ec3bfe-ca32-43de-9149-2900f3cd80db" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-4e8ce6950a78b24a-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": "80ab90b924185dd7da7d1b81314da3bb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e54c96f1-02b5-47f0-907d-fcf8e1263c16", + "Content-Length": "164", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e54c96f1-02b5-47f0-907d-fcf8e1263c16", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e54c96f1-02b5-47f0-907d-fcf8e1263c16", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "westus2:e54c96f1-02b5-47f0-907d-fcf8e1263c16", + "x-ms-routing-request-id": "WESTUS2:20210712T215400Z:e54c96f1-02b5-47f0-907d-fcf8e1263c16" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-0f26c4c24aa2554e-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": "c1f0d3b1760a0b718ae1c6624cd73cc6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "25a90122-1cab-4745-b2b9-09f4f34c6e1f", + "Content-Length": "164", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "25a90122-1cab-4745-b2b9-09f4f34c6e1f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "25a90122-1cab-4745-b2b9-09f4f34c6e1f", + "x-ms-ratelimit-remaining-tenant-reads": "11998", + "x-ms-request-id": "westus2:25a90122-1cab-4745-b2b9-09f4f34c6e1f", + "x-ms-routing-request-id": "WESTUS2:20210712T215401Z:25a90122-1cab-4745-b2b9-09f4f34c6e1f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-eae746a8a220b944-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": "48973c74f982545796843fe702568872", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7852e06e-1328-42f6-811c-828083eaceb0", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7852e06e-1328-42f6-811c-828083eaceb0", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7852e06e-1328-42f6-811c-828083eaceb0", + "x-ms-ratelimit-remaining-tenant-reads": "11997", + "x-ms-request-id": "westus2:7852e06e-1328-42f6-811c-828083eaceb0", + "x-ms-routing-request-id": "WESTUS2:20210712T215403Z:7852e06e-1328-42f6-811c-828083eaceb0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-8de802f9f3b3f54f-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": "357eb98e9e3843971e9ff6365e751003", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2195dd1a-d32b-458f-b518-2042d49f39da", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:03 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2195dd1a-d32b-458f-b518-2042d49f39da", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2195dd1a-d32b-458f-b518-2042d49f39da", + "x-ms-ratelimit-remaining-tenant-reads": "11996", + "x-ms-request-id": "westus2:2195dd1a-d32b-458f-b518-2042d49f39da", + "x-ms-routing-request-id": "WESTUS2:20210712T215404Z:2195dd1a-d32b-458f-b518-2042d49f39da" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-72cab6a56ff5bc47-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": "f50c55405bb5b8387c9b2b8536890933", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c5f85d24-b3a8-482c-bb15-da11332265d3", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:04 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c5f85d24-b3a8-482c-bb15-da11332265d3", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c5f85d24-b3a8-482c-bb15-da11332265d3", + "x-ms-ratelimit-remaining-tenant-reads": "11995", + "x-ms-request-id": "westus2:c5f85d24-b3a8-482c-bb15-da11332265d3", + "x-ms-routing-request-id": "WESTUS2:20210712T215405Z:c5f85d24-b3a8-482c-bb15-da11332265d3" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-aa24e41cdd591f4a-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": "93d354590758d58da45429e30220f621", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "96af93cc-0759-46ce-9e94-a406d72eb848", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "96af93cc-0759-46ce-9e94-a406d72eb848", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "96af93cc-0759-46ce-9e94-a406d72eb848", + "x-ms-ratelimit-remaining-tenant-reads": "11994", + "x-ms-request-id": "westus2:96af93cc-0759-46ce-9e94-a406d72eb848", + "x-ms-routing-request-id": "WESTUS2:20210712T215406Z:96af93cc-0759-46ce-9e94-a406d72eb848" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-04ec4845c6b55142-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": "aca63b73934a32bc80c5b89c73120c94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0723484f-0b28-49a8-ba45-e032fb0167b9", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0723484f-0b28-49a8-ba45-e032fb0167b9", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0723484f-0b28-49a8-ba45-e032fb0167b9", + "x-ms-ratelimit-remaining-tenant-reads": "11993", + "x-ms-request-id": "westus2:0723484f-0b28-49a8-ba45-e032fb0167b9", + "x-ms-routing-request-id": "WESTUS2:20210712T215407Z:0723484f-0b28-49a8-ba45-e032fb0167b9" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-60123aec9a78d049-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": "0adcc2967da139aac73650613255b55b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "8f315285-9faf-44ad-b092-6be3845e1e95", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "8f315285-9faf-44ad-b092-6be3845e1e95", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8f315285-9faf-44ad-b092-6be3845e1e95", + "x-ms-ratelimit-remaining-tenant-reads": "11992", + "x-ms-request-id": "westus2:8f315285-9faf-44ad-b092-6be3845e1e95", + "x-ms-routing-request-id": "WESTUS2:20210712T215408Z:8f315285-9faf-44ad-b092-6be3845e1e95" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-078923f937374a43-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": "fb110aa55ce3c6e997a113934ef06292", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c964ef6b-abbe-48fc-952c-d983e74bf6aa", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c964ef6b-abbe-48fc-952c-d983e74bf6aa", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c964ef6b-abbe-48fc-952c-d983e74bf6aa", + "x-ms-ratelimit-remaining-tenant-reads": "11991", + "x-ms-request-id": "westus2:c964ef6b-abbe-48fc-952c-d983e74bf6aa", + "x-ms-routing-request-id": "WESTUS2:20210712T215410Z:c964ef6b-abbe-48fc-952c-d983e74bf6aa" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-91695a0102e3a642-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": "3f4c9447ec43f67f906de513425b002b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "da23bc78-c4e1-484a-b437-fa132948bb2b", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "da23bc78-c4e1-484a-b437-fa132948bb2b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "da23bc78-c4e1-484a-b437-fa132948bb2b", + "x-ms-ratelimit-remaining-tenant-reads": "11990", + "x-ms-request-id": "westus2:da23bc78-c4e1-484a-b437-fa132948bb2b", + "x-ms-routing-request-id": "WESTUS2:20210712T215411Z:da23bc78-c4e1-484a-b437-fa132948bb2b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-dddcaf709b208047-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": "68f75c0f110039b1d91672006a17ead6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b642435f-6051-4bd1-aa6b-dd3cd11910ef", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b642435f-6051-4bd1-aa6b-dd3cd11910ef", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b642435f-6051-4bd1-aa6b-dd3cd11910ef", + "x-ms-ratelimit-remaining-tenant-reads": "11989", + "x-ms-request-id": "westus2:b642435f-6051-4bd1-aa6b-dd3cd11910ef", + "x-ms-routing-request-id": "WESTUS2:20210712T215412Z:b642435f-6051-4bd1-aa6b-dd3cd11910ef" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-bcd19215c892c546-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": "9d1abed37608b8178a1b6a7577d6833c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c3ca7f28-c89b-404b-96cf-ca1c1dae6771", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c3ca7f28-c89b-404b-96cf-ca1c1dae6771", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c3ca7f28-c89b-404b-96cf-ca1c1dae6771", + "x-ms-ratelimit-remaining-tenant-reads": "11988", + "x-ms-request-id": "westus2:c3ca7f28-c89b-404b-96cf-ca1c1dae6771", + "x-ms-routing-request-id": "WESTUS2:20210712T215413Z:c3ca7f28-c89b-404b-96cf-ca1c1dae6771" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-eb869dae50148b42-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": "f183e7a0f9f93592e313662d797f8c79", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d01d6037-d003-469f-b29a-72886df427e3", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:13 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d01d6037-d003-469f-b29a-72886df427e3", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d01d6037-d003-469f-b29a-72886df427e3", + "x-ms-ratelimit-remaining-tenant-reads": "11987", + "x-ms-request-id": "westus2:d01d6037-d003-469f-b29a-72886df427e3", + "x-ms-routing-request-id": "WESTUS2:20210712T215414Z:d01d6037-d003-469f-b29a-72886df427e3" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-b5755d05cac1044f-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": "843f0e8262419922443edee4a63bc202", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fa5c68a8-24d1-4096-bf6a-696b8e3eb9ba", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fa5c68a8-24d1-4096-bf6a-696b8e3eb9ba", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fa5c68a8-24d1-4096-bf6a-696b8e3eb9ba", + "x-ms-ratelimit-remaining-tenant-reads": "11986", + "x-ms-request-id": "westus2:fa5c68a8-24d1-4096-bf6a-696b8e3eb9ba", + "x-ms-routing-request-id": "WESTUS2:20210712T215415Z:fa5c68a8-24d1-4096-bf6a-696b8e3eb9ba" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-19f8b4ffdcfd8c47-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": "825f3692f893dadd2ce4baf50fea3e0b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "504e2ffe-142f-4d44-8678-8f0fd2c0a1ec", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "504e2ffe-142f-4d44-8678-8f0fd2c0a1ec", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "504e2ffe-142f-4d44-8678-8f0fd2c0a1ec", + "x-ms-ratelimit-remaining-tenant-reads": "11985", + "x-ms-request-id": "westus2:504e2ffe-142f-4d44-8678-8f0fd2c0a1ec", + "x-ms-routing-request-id": "WESTUS2:20210712T215416Z:504e2ffe-142f-4d44-8678-8f0fd2c0a1ec" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-8560ec68f419d442-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": "68f3f18eff973efbc5eaacba1bad8ea7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3479a062-2ee8-426e-b754-f4bd783ab872", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3479a062-2ee8-426e-b754-f4bd783ab872", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3479a062-2ee8-426e-b754-f4bd783ab872", + "x-ms-ratelimit-remaining-tenant-reads": "11984", + "x-ms-request-id": "westus2:3479a062-2ee8-426e-b754-f4bd783ab872", + "x-ms-routing-request-id": "WESTUS2:20210712T215418Z:3479a062-2ee8-426e-b754-f4bd783ab872" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-67322a18ad9b4c4d-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": "439a63510a1f89e53165585ca82d895a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "34287a73-232f-4c4c-a0db-aa2d635433c5", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "34287a73-232f-4c4c-a0db-aa2d635433c5", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "34287a73-232f-4c4c-a0db-aa2d635433c5", + "x-ms-ratelimit-remaining-tenant-reads": "11983", + "x-ms-request-id": "westus2:34287a73-232f-4c4c-a0db-aa2d635433c5", + "x-ms-routing-request-id": "WESTUS2:20210712T215419Z:34287a73-232f-4c4c-a0db-aa2d635433c5" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-21a32baeb864534b-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": "b556d3ff5948936b3a20bda84c22be7f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f7219b1e-7785-466d-8a70-0601a395ac2f", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:19 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f7219b1e-7785-466d-8a70-0601a395ac2f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f7219b1e-7785-466d-8a70-0601a395ac2f", + "x-ms-ratelimit-remaining-tenant-reads": "11982", + "x-ms-request-id": "westus2:f7219b1e-7785-466d-8a70-0601a395ac2f", + "x-ms-routing-request-id": "WESTUS2:20210712T215420Z:f7219b1e-7785-466d-8a70-0601a395ac2f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-abf9cff5155fb549-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": "aca31255fa4f84eb0b693731a79e9697", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "6e83b99c-cc2e-412a-b612-6620c8fa86a6", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:20 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "6e83b99c-cc2e-412a-b612-6620c8fa86a6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6e83b99c-cc2e-412a-b612-6620c8fa86a6", + "x-ms-ratelimit-remaining-tenant-reads": "11981", + "x-ms-request-id": "westus2:6e83b99c-cc2e-412a-b612-6620c8fa86a6", + "x-ms-routing-request-id": "WESTUS2:20210712T215421Z:6e83b99c-cc2e-412a-b612-6620c8fa86a6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-21ab150c4c67a042-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": "47ba5261d957f85ff70608ff4d3c3d0e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "91762829-a61b-4f11-8d8e-f7b81f1294e7", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "91762829-a61b-4f11-8d8e-f7b81f1294e7", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "91762829-a61b-4f11-8d8e-f7b81f1294e7", + "x-ms-ratelimit-remaining-tenant-reads": "11980", + "x-ms-request-id": "westus2:91762829-a61b-4f11-8d8e-f7b81f1294e7", + "x-ms-routing-request-id": "WESTUS2:20210712T215422Z:91762829-a61b-4f11-8d8e-f7b81f1294e7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-06f2ab4ac4ede142-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": "9507d9a6dd89040ae8d1a9df2139ec9c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b07312b9-4460-4249-931b-5e0f18e36aa6", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b07312b9-4460-4249-931b-5e0f18e36aa6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b07312b9-4460-4249-931b-5e0f18e36aa6", + "x-ms-ratelimit-remaining-tenant-reads": "11979", + "x-ms-request-id": "westus2:b07312b9-4460-4249-931b-5e0f18e36aa6", + "x-ms-routing-request-id": "WESTUS2:20210712T215423Z:b07312b9-4460-4249-931b-5e0f18e36aa6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-484d8a3877678741-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": "f947258a76677b27b3abb448f2eb37cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b58da0f9-53c0-410c-8316-6a09ff860415", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:24 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-827?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b58da0f9-53c0-410c-8316-6a09ff860415", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b58da0f9-53c0-410c-8316-6a09ff860415", + "x-ms-ratelimit-remaining-tenant-reads": "11978", + "x-ms-request-id": "westus2:b58da0f9-53c0-410c-8316-6a09ff860415", + "x-ms-routing-request-id": "WESTUS2:20210712T215425Z:b58da0f9-53c0-410c-8316-6a09ff860415" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-ebfbd2787b9c0940-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": "ce8b282b0196830d47b55f85307fd6bd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "0bfcc9e4-7781-4099-b713-edf5cca9ffcc", + "Content-Length": "380", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "0bfcc9e4-7781-4099-b713-edf5cca9ffcc", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0bfcc9e4-7781-4099-b713-edf5cca9ffcc", + "x-ms-ratelimit-remaining-tenant-reads": "11977", + "x-ms-request-id": "westus2:0bfcc9e4-7781-4099-b713-edf5cca9ffcc", + "x-ms-routing-request-id": "WESTUS2:20210712T215426Z:0bfcc9e4-7781-4099-b713-edf5cca9ffcc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-827", + "name": "mgmt-group-827", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827", + "details": { + "version": 13, + "updatedTime": "2021-07-12T21:54:09.0851566Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ced0d9aad8fec47bc680e8ae6f9cc31-cd279e05b230e445-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": "27746c1a43f42fa7b18ce1de28c112fc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "2ccfa28d-26a4-4a1d-93bb-60990fdcb2e0", + "Content-Length": "563", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "2ccfa28d-26a4-4a1d-93bb-60990fdcb2e0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2ccfa28d-26a4-4a1d-93bb-60990fdcb2e0", + "x-ms-ratelimit-remaining-tenant-reads": "11976", + "x-ms-request-id": "westus2:2ccfa28d-26a4-4a1d-93bb-60990fdcb2e0", + "x-ms-routing-request-id": "WESTUS2:20210712T215426Z:2ccfa28d-26a4-4a1d-93bb-60990fdcb2e0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827", + "details": { + "version": 13, + "updatedTime": "2021-07-12T21:54:09.0851566Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-7c2609f9dc863b438c022395696e3f19-72f35c1142c13f4a-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": "f9b4da9a1eae890618c4b2b117a24b34", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "5c9cf95e-75bb-4bc1-9394-be29030d468a", + "Content-Length": "563", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "5c9cf95e-75bb-4bc1-9394-be29030d468a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5c9cf95e-75bb-4bc1-9394-be29030d468a", + "x-ms-ratelimit-remaining-tenant-reads": "11975", + "x-ms-request-id": "westus2:5c9cf95e-75bb-4bc1-9394-be29030d468a", + "x-ms-routing-request-id": "WESTUS2:20210712T215426Z:5c9cf95e-75bb-4bc1-9394-be29030d468a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827", + "details": { + "version": 13, + "updatedTime": "2021-07-12T21:54:09.0851566Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "418237894", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ManagementGroupContainerTests(True)Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ManagementGroupContainerTests(True)Async.json new file mode 100644 index 000000000000..ed8838d6a247 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/ManagementGroupContainerTests(True)Async.json @@ -0,0 +1,1024 @@ +{ + "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": "b6d469f11bdaaf1dba903647d61c65db", + "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 21:54:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d56117ec-03b9-4a1c-9686-bb611c0be605", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "d56117ec-03b9-4a1c-9686-bb611c0be605", + "x-ms-routing-request-id": "WESTUS2:20210712T215444Z:d56117ec-03b9-4a1c-9686-bb611c0be605" + }, + "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/providers/Microsoft.Management/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-862a80010f508e46-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": "cac2c81daf6ab1916efff6a25d5c1843", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1aef2ea1-ec33-4f01-a113-b99c31ba2294", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:45 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1aef2ea1-ec33-4f01-a113-b99c31ba2294", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1aef2ea1-ec33-4f01-a113-b99c31ba2294", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-writes": "1199", + "x-ms-request-id": "westus2:1aef2ea1-ec33-4f01-a113-b99c31ba2294", + "x-ms-routing-request-id": "WESTUS2:20210712T215445Z:1aef2ea1-ec33-4f01-a113-b99c31ba2294" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-7077", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-7077", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-1cf4c7bdcc6f424b-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": "c84796b8b131b98642046b1c260c5c34", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1982c8ec-fe3e-40bc-9755-d652f61de23c", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:46 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1982c8ec-fe3e-40bc-9755-d652f61de23c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1982c8ec-fe3e-40bc-9755-d652f61de23c", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "westus2:1982c8ec-fe3e-40bc-9755-d652f61de23c", + "x-ms-routing-request-id": "WESTUS2:20210712T215446Z:1982c8ec-fe3e-40bc-9755-d652f61de23c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-ddaa4360e3430245-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": "6026041e5210512bbb14b468d7063aa9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1c6a4246-7267-4e98-9fd2-052e4e393e98", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:47 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1c6a4246-7267-4e98-9fd2-052e4e393e98", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1c6a4246-7267-4e98-9fd2-052e4e393e98", + "x-ms-ratelimit-remaining-tenant-reads": "11998", + "x-ms-request-id": "westus2:1c6a4246-7267-4e98-9fd2-052e4e393e98", + "x-ms-routing-request-id": "WESTUS2:20210712T215447Z:1c6a4246-7267-4e98-9fd2-052e4e393e98" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-1d9b16762e797342-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": "c7ea4e444f15fe12369b45c661f18808", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "48a6fe78-38e6-495b-b9cb-a6c1e440a72e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "48a6fe78-38e6-495b-b9cb-a6c1e440a72e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "48a6fe78-38e6-495b-b9cb-a6c1e440a72e", + "x-ms-ratelimit-remaining-tenant-reads": "11997", + "x-ms-request-id": "westus2:48a6fe78-38e6-495b-b9cb-a6c1e440a72e", + "x-ms-routing-request-id": "WESTUS2:20210712T215448Z:48a6fe78-38e6-495b-b9cb-a6c1e440a72e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-9a332321da56814f-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": "736da3a5599f65986af60c1cfc1de23c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "94c3d700-952f-486b-9311-7af9efcac448", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "94c3d700-952f-486b-9311-7af9efcac448", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "94c3d700-952f-486b-9311-7af9efcac448", + "x-ms-ratelimit-remaining-tenant-reads": "11996", + "x-ms-request-id": "westus2:94c3d700-952f-486b-9311-7af9efcac448", + "x-ms-routing-request-id": "WESTUS2:20210712T215449Z:94c3d700-952f-486b-9311-7af9efcac448" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-fef28436fdbf9f41-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": "d7d7c1ca9422ce1ff1272a740d65efca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "daefb3d9-0757-4a99-acc1-2d486009dfdc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "daefb3d9-0757-4a99-acc1-2d486009dfdc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "daefb3d9-0757-4a99-acc1-2d486009dfdc", + "x-ms-ratelimit-remaining-tenant-reads": "11995", + "x-ms-request-id": "westus2:daefb3d9-0757-4a99-acc1-2d486009dfdc", + "x-ms-routing-request-id": "WESTUS2:20210712T215450Z:daefb3d9-0757-4a99-acc1-2d486009dfdc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-0952987dd9424243-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": "34c3ab8cc798eb09b6855c1f42f50118", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5873aad4-3421-4db3-852c-61e6f7f04ffc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5873aad4-3421-4db3-852c-61e6f7f04ffc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5873aad4-3421-4db3-852c-61e6f7f04ffc", + "x-ms-ratelimit-remaining-tenant-reads": "11994", + "x-ms-request-id": "westus2:5873aad4-3421-4db3-852c-61e6f7f04ffc", + "x-ms-routing-request-id": "WESTUS2:20210712T215451Z:5873aad4-3421-4db3-852c-61e6f7f04ffc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-70765b5e66dbff4e-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": "9ffb09b9b01910e6849e81772f235704", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "97988cb8-6e82-45de-8ec3-5f3bf7f22fa6", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:52 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "97988cb8-6e82-45de-8ec3-5f3bf7f22fa6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "97988cb8-6e82-45de-8ec3-5f3bf7f22fa6", + "x-ms-ratelimit-remaining-tenant-reads": "11993", + "x-ms-request-id": "westus2:97988cb8-6e82-45de-8ec3-5f3bf7f22fa6", + "x-ms-routing-request-id": "WESTUS2:20210712T215452Z:97988cb8-6e82-45de-8ec3-5f3bf7f22fa6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-65487ad7dc8df64a-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": "50904206ae5a03a3b7ec219d37ff8bfc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9b6aee7f-54a0-4720-a0ef-bb8e6deea4d8", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:53 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9b6aee7f-54a0-4720-a0ef-bb8e6deea4d8", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9b6aee7f-54a0-4720-a0ef-bb8e6deea4d8", + "x-ms-ratelimit-remaining-tenant-reads": "11992", + "x-ms-request-id": "westus2:9b6aee7f-54a0-4720-a0ef-bb8e6deea4d8", + "x-ms-routing-request-id": "WESTUS2:20210712T215453Z:9b6aee7f-54a0-4720-a0ef-bb8e6deea4d8" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-2c755fb3b971ab48-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": "04bb11264f6adbb0c5b2affa4692bb93", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ad36b47b-130e-4501-8b72-08d62d36df6d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ad36b47b-130e-4501-8b72-08d62d36df6d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ad36b47b-130e-4501-8b72-08d62d36df6d", + "x-ms-ratelimit-remaining-tenant-reads": "11991", + "x-ms-request-id": "westus2:ad36b47b-130e-4501-8b72-08d62d36df6d", + "x-ms-routing-request-id": "WESTUS2:20210712T215455Z:ad36b47b-130e-4501-8b72-08d62d36df6d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-5fdd4a65bfb13948-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": "0018582db0640bbe65f8e72d8f48d884", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "26c80366-d334-45d8-ae1d-d37ff369a10d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:56 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "26c80366-d334-45d8-ae1d-d37ff369a10d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "26c80366-d334-45d8-ae1d-d37ff369a10d", + "x-ms-ratelimit-remaining-tenant-reads": "11990", + "x-ms-request-id": "westus2:26c80366-d334-45d8-ae1d-d37ff369a10d", + "x-ms-routing-request-id": "WESTUS2:20210712T215456Z:26c80366-d334-45d8-ae1d-d37ff369a10d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-2f1b0a3accd2a04d-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": "1e5085135367b69a91b48aa8fea9bc25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0af4f6e0-345f-4b72-91ce-0567d7b422bf", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:57 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0af4f6e0-345f-4b72-91ce-0567d7b422bf", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0af4f6e0-345f-4b72-91ce-0567d7b422bf", + "x-ms-ratelimit-remaining-tenant-reads": "11989", + "x-ms-request-id": "westus2:0af4f6e0-345f-4b72-91ce-0567d7b422bf", + "x-ms-routing-request-id": "WESTUS2:20210712T215457Z:0af4f6e0-345f-4b72-91ce-0567d7b422bf" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-b08c786bbf884346-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": "df708d308ae7759752b09e7168834c7d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d596f84e-59a9-411f-91e1-c586bd3ecd0b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d596f84e-59a9-411f-91e1-c586bd3ecd0b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d596f84e-59a9-411f-91e1-c586bd3ecd0b", + "x-ms-ratelimit-remaining-tenant-reads": "11988", + "x-ms-request-id": "westus2:d596f84e-59a9-411f-91e1-c586bd3ecd0b", + "x-ms-routing-request-id": "WESTUS2:20210712T215458Z:d596f84e-59a9-411f-91e1-c586bd3ecd0b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-82a0baa8d795f241-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": "c1e72bd99d41d92bbd616fb025160cbb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1552b4ce-c9ff-4486-bad2-915bc8a6c1d8", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:54:59 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1552b4ce-c9ff-4486-bad2-915bc8a6c1d8", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1552b4ce-c9ff-4486-bad2-915bc8a6c1d8", + "x-ms-ratelimit-remaining-tenant-reads": "11987", + "x-ms-request-id": "westus2:1552b4ce-c9ff-4486-bad2-915bc8a6c1d8", + "x-ms-routing-request-id": "WESTUS2:20210712T215459Z:1552b4ce-c9ff-4486-bad2-915bc8a6c1d8" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-44e0408a8d10734d-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": "01fdc23bf9d8889deddbcbb6b5284e0e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "72c40b2b-6a41-4433-b06a-6a5596dc3563", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "72c40b2b-6a41-4433-b06a-6a5596dc3563", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "72c40b2b-6a41-4433-b06a-6a5596dc3563", + "x-ms-ratelimit-remaining-tenant-reads": "11986", + "x-ms-request-id": "westus2:72c40b2b-6a41-4433-b06a-6a5596dc3563", + "x-ms-routing-request-id": "WESTUS2:20210712T215500Z:72c40b2b-6a41-4433-b06a-6a5596dc3563" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-c168f3dba8bae24d-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": "d3ce0d68fbc293e3629622851be74f3c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "eac1b54d-7927-400e-99cb-c1e6e8620306", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "eac1b54d-7927-400e-99cb-c1e6e8620306", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "eac1b54d-7927-400e-99cb-c1e6e8620306", + "x-ms-ratelimit-remaining-tenant-reads": "11985", + "x-ms-request-id": "westus2:eac1b54d-7927-400e-99cb-c1e6e8620306", + "x-ms-routing-request-id": "WESTUS2:20210712T215501Z:eac1b54d-7927-400e-99cb-c1e6e8620306" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-2da009a5ba8deb4b-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": "a636e2a34a85e0a48e5fd366d2742494", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1688e1e5-d3a7-4d8e-b6eb-eb7dfdc8556e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1688e1e5-d3a7-4d8e-b6eb-eb7dfdc8556e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1688e1e5-d3a7-4d8e-b6eb-eb7dfdc8556e", + "x-ms-ratelimit-remaining-tenant-reads": "11984", + "x-ms-request-id": "westus2:1688e1e5-d3a7-4d8e-b6eb-eb7dfdc8556e", + "x-ms-routing-request-id": "WESTUS2:20210712T215502Z:1688e1e5-d3a7-4d8e-b6eb-eb7dfdc8556e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-121c66209bd70742-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": "1847601339473ff9de6a9f41d6176c06", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "63d27ed6-68ed-4c80-a9c3-18fa73504e2e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:03 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "63d27ed6-68ed-4c80-a9c3-18fa73504e2e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "63d27ed6-68ed-4c80-a9c3-18fa73504e2e", + "x-ms-ratelimit-remaining-tenant-reads": "11983", + "x-ms-request-id": "westus2:63d27ed6-68ed-4c80-a9c3-18fa73504e2e", + "x-ms-routing-request-id": "WESTUS2:20210712T215504Z:63d27ed6-68ed-4c80-a9c3-18fa73504e2e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-0a830d83d0ca514e-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": "d2138e8ba8f21e8868ee4563287dc0ed", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5111001e-43c2-4e5f-bfd1-670f753b117f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:05 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5111001e-43c2-4e5f-bfd1-670f753b117f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5111001e-43c2-4e5f-bfd1-670f753b117f", + "x-ms-ratelimit-remaining-tenant-reads": "11982", + "x-ms-request-id": "westus2:5111001e-43c2-4e5f-bfd1-670f753b117f", + "x-ms-routing-request-id": "WESTUS2:20210712T215505Z:5111001e-43c2-4e5f-bfd1-670f753b117f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-bce55e0cc8edf743-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": "ba728e72379f6af5e9f6c71baa630977", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "db9cfccd-ff08-4ae4-ab15-35c44da5455d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "db9cfccd-ff08-4ae4-ab15-35c44da5455d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "db9cfccd-ff08-4ae4-ab15-35c44da5455d", + "x-ms-ratelimit-remaining-tenant-reads": "11981", + "x-ms-request-id": "westus2:db9cfccd-ff08-4ae4-ab15-35c44da5455d", + "x-ms-routing-request-id": "WESTUS2:20210712T215506Z:db9cfccd-ff08-4ae4-ab15-35c44da5455d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-1d575347b9921b4b-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": "43daccf252616aa1d828af58f4961761", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f7d0f086-6f0f-4c74-8bbd-7026dc22d0dc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f7d0f086-6f0f-4c74-8bbd-7026dc22d0dc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f7d0f086-6f0f-4c74-8bbd-7026dc22d0dc", + "x-ms-ratelimit-remaining-tenant-reads": "11980", + "x-ms-request-id": "westus2:f7d0f086-6f0f-4c74-8bbd-7026dc22d0dc", + "x-ms-routing-request-id": "WESTUS2:20210712T215507Z:f7d0f086-6f0f-4c74-8bbd-7026dc22d0dc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-2c3e8ac7e0887248-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": "48cfb2a9b1a4536699a8e8fbe16c7305", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "84e60f72-c163-4af7-a865-2b5bc214696d", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "84e60f72-c163-4af7-a865-2b5bc214696d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "84e60f72-c163-4af7-a865-2b5bc214696d", + "x-ms-ratelimit-remaining-tenant-reads": "11979", + "x-ms-request-id": "westus2:84e60f72-c163-4af7-a865-2b5bc214696d", + "x-ms-routing-request-id": "WESTUS2:20210712T215508Z:84e60f72-c163-4af7-a865-2b5bc214696d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-7077", + "name": "mgmt-group-7077", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-7077", + "details": { + "version": 3, + "updatedTime": "2021-07-12T21:54:52.9694307Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-17b2a62abf4a3b439134f9a1b5d937bb-d4358a639be4d748-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": "5b70cee57da21f8bec08e277889c7552", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "153a8b2e-2833-48c8-a418-a79f001fea62", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "153a8b2e-2833-48c8-a418-a79f001fea62", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "153a8b2e-2833-48c8-a418-a79f001fea62", + "x-ms-ratelimit-remaining-tenant-reads": "11978", + "x-ms-request-id": "westus2:153a8b2e-2833-48c8-a418-a79f001fea62", + "x-ms-routing-request-id": "WESTUS2:20210712T215508Z:153a8b2e-2833-48c8-a418-a79f001fea62" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-7077", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-7077", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-7077", + "details": { + "version": 3, + "updatedTime": "2021-07-12T21:54:52.9694307Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3464c22358153f428758fcaea0cfad6b-3047fa47b4f96242-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": "f87266dfc09341d26687aab969a6896b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "253b9c14-9900-4a6e-a2a3-a40fce0db682", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 21:55:08 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "253b9c14-9900-4a6e-a2a3-a40fce0db682", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "253b9c14-9900-4a6e-a2a3-a40fce0db682", + "x-ms-ratelimit-remaining-tenant-reads": "11977", + "x-ms-request-id": "westus2:253b9c14-9900-4a6e-a2a3-a40fce0db682", + "x-ms-routing-request-id": "WESTUS2:20210712T215509Z:253b9c14-9900-4a6e-a2a3-a40fce0db682" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-7077", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-7077", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-7077", + "details": { + "version": 3, + "updatedTime": "2021-07-12T21:54:52.9694307Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "2078233070", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/StartCreateOrUpdate.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/StartCreateOrUpdate.json new file mode 100644 index 000000000000..6094b3a09d11 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/StartCreateOrUpdate.json @@ -0,0 +1,1103 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2b7b2e324583457a7c44ec880d18a776", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:06 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2e721b71-9159-4703-93f6-9c822e96378d", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "2e721b71-9159-4703-93f6-9c822e96378d", + "x-ms-routing-request-id": "WESTUS2:20210712T021406Z:2e721b71-9159-4703-93f6-9c822e96378d" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-76eb4639c92b7a4db1edd4d4456cd7b2-e38e090e1bf9d74e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9920ab59f87cc2f2b5884c75725ceb4d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a67cda73-5cc7-42ef-bbc7-3a5e5d466d8e", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a67cda73-5cc7-42ef-bbc7-3a5e5d466d8e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a67cda73-5cc7-42ef-bbc7-3a5e5d466d8e", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:a67cda73-5cc7-42ef-bbc7-3a5e5d466d8e", + "x-ms-routing-request-id": "WESTUS2:20210712T021406Z:a67cda73-5cc7-42ef-bbc7-3a5e5d466d8e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-9570", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-9570", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8f533af82b6735b68969cdbc2ed009e7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "016fbcf5-faab-4b56-a4c4-e38eda0eb013", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "016fbcf5-faab-4b56-a4c4-e38eda0eb013", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "016fbcf5-faab-4b56-a4c4-e38eda0eb013", + "x-ms-ratelimit-remaining-tenant-reads": "11973", + "x-ms-request-id": "westus2:016fbcf5-faab-4b56-a4c4-e38eda0eb013", + "x-ms-routing-request-id": "WESTUS2:20210712T021406Z:016fbcf5-faab-4b56-a4c4-e38eda0eb013" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "60cf3a00c9e0d5e127ad743f199306b2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "4c8b4b70-b038-4337-a636-9690a738074e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "4c8b4b70-b038-4337-a636-9690a738074e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4c8b4b70-b038-4337-a636-9690a738074e", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:4c8b4b70-b038-4337-a636-9690a738074e", + "x-ms-routing-request-id": "WESTUS2:20210712T021408Z:4c8b4b70-b038-4337-a636-9690a738074e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "377db3f85c0812e50191238ab6c74454", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "08465da2-263b-431a-8317-e416e04ec04e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "08465da2-263b-431a-8317-e416e04ec04e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "08465da2-263b-431a-8317-e416e04ec04e", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:08465da2-263b-431a-8317-e416e04ec04e", + "x-ms-routing-request-id": "WESTUS2:20210712T021409Z:08465da2-263b-431a-8317-e416e04ec04e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "805df7322f332fb8587e67b9b6761cf5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "82060df5-4a52-440f-876f-9cd25a10cf82", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "82060df5-4a52-440f-876f-9cd25a10cf82", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "82060df5-4a52-440f-876f-9cd25a10cf82", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:82060df5-4a52-440f-876f-9cd25a10cf82", + "x-ms-routing-request-id": "WESTUS2:20210712T021410Z:82060df5-4a52-440f-876f-9cd25a10cf82" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7bc41b62d253a3df54bc5e4ea5571f60", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "23468b85-4fb4-4493-977b-903b37005910", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "23468b85-4fb4-4493-977b-903b37005910", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "23468b85-4fb4-4493-977b-903b37005910", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:23468b85-4fb4-4493-977b-903b37005910", + "x-ms-routing-request-id": "WESTUS2:20210712T021411Z:23468b85-4fb4-4493-977b-903b37005910" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "210d1f698636c87efa4ede8af52c5c8b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2b9d5f92-5edd-4fa6-b5a7-c77475848490", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2b9d5f92-5edd-4fa6-b5a7-c77475848490", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2b9d5f92-5edd-4fa6-b5a7-c77475848490", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:2b9d5f92-5edd-4fa6-b5a7-c77475848490", + "x-ms-routing-request-id": "WESTUS2:20210712T021412Z:2b9d5f92-5edd-4fa6-b5a7-c77475848490" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9b272e75c902600118b92b77d16a8901", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "969eb582-362c-4c37-99fc-951b4ef99a32", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:13 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "969eb582-362c-4c37-99fc-951b4ef99a32", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "969eb582-362c-4c37-99fc-951b4ef99a32", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:969eb582-362c-4c37-99fc-951b4ef99a32", + "x-ms-routing-request-id": "WESTUS2:20210712T021413Z:969eb582-362c-4c37-99fc-951b4ef99a32" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9750075ffa68dcbf9cfb8004f354ae28", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f1d72caf-f8d5-4dc8-b73b-4a82faf5c70e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f1d72caf-f8d5-4dc8-b73b-4a82faf5c70e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f1d72caf-f8d5-4dc8-b73b-4a82faf5c70e", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:f1d72caf-f8d5-4dc8-b73b-4a82faf5c70e", + "x-ms-routing-request-id": "WESTUS2:20210712T021414Z:f1d72caf-f8d5-4dc8-b73b-4a82faf5c70e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "76d9d36084309f5d1dad097c5a07f790", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3e810420-58bb-4d36-9304-e102158c5b40", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:15 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3e810420-58bb-4d36-9304-e102158c5b40", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3e810420-58bb-4d36-9304-e102158c5b40", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:3e810420-58bb-4d36-9304-e102158c5b40", + "x-ms-routing-request-id": "WESTUS2:20210712T021415Z:3e810420-58bb-4d36-9304-e102158c5b40" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ed2bddc4c4db7a226f4afe0748fc6cc3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "938654e5-1bdd-4b15-8a56-526ea5702427", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "938654e5-1bdd-4b15-8a56-526ea5702427", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "938654e5-1bdd-4b15-8a56-526ea5702427", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:938654e5-1bdd-4b15-8a56-526ea5702427", + "x-ms-routing-request-id": "WESTUS2:20210712T021417Z:938654e5-1bdd-4b15-8a56-526ea5702427" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fe16030b1390dbd1aab179bbf1438294", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c2fd6122-a651-4f85-9c53-10f2a3f838ff", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c2fd6122-a651-4f85-9c53-10f2a3f838ff", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c2fd6122-a651-4f85-9c53-10f2a3f838ff", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:c2fd6122-a651-4f85-9c53-10f2a3f838ff", + "x-ms-routing-request-id": "WESTUS2:20210712T021418Z:c2fd6122-a651-4f85-9c53-10f2a3f838ff" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1540f004c1299b4cb05f07e585555620", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "03fdd275-609f-4b4b-902a-3e12c5eb3454", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "03fdd275-609f-4b4b-902a-3e12c5eb3454", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "03fdd275-609f-4b4b-902a-3e12c5eb3454", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:03fdd275-609f-4b4b-902a-3e12c5eb3454", + "x-ms-routing-request-id": "WESTUS2:20210712T021419Z:03fdd275-609f-4b4b-902a-3e12c5eb3454" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "57714540f8f1b0ff0c50432a4a67892c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7185cbd7-d333-47b8-8dee-4865da9b4e5b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:20 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7185cbd7-d333-47b8-8dee-4865da9b4e5b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7185cbd7-d333-47b8-8dee-4865da9b4e5b", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:7185cbd7-d333-47b8-8dee-4865da9b4e5b", + "x-ms-routing-request-id": "WESTUS2:20210712T021420Z:7185cbd7-d333-47b8-8dee-4865da9b4e5b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "580369c857bc499ab67a4d310ceb5554", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a6329e25-bed9-4043-93d8-2cb89255211e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a6329e25-bed9-4043-93d8-2cb89255211e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a6329e25-bed9-4043-93d8-2cb89255211e", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:a6329e25-bed9-4043-93d8-2cb89255211e", + "x-ms-routing-request-id": "WESTUS2:20210712T021421Z:a6329e25-bed9-4043-93d8-2cb89255211e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ab7a595a2ad20ba3f08f08d97d225049", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "de9c07f1-4b7f-4352-8af7-a7deeece0626", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "de9c07f1-4b7f-4352-8af7-a7deeece0626", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "de9c07f1-4b7f-4352-8af7-a7deeece0626", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:de9c07f1-4b7f-4352-8af7-a7deeece0626", + "x-ms-routing-request-id": "WESTUS2:20210712T021422Z:de9c07f1-4b7f-4352-8af7-a7deeece0626" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1b1ddad6fe52e964ab27a076aacea421", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b730d2cc-feb8-4fac-b8e3-dfcecb56ae7a", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b730d2cc-feb8-4fac-b8e3-dfcecb56ae7a", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b730d2cc-feb8-4fac-b8e3-dfcecb56ae7a", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:b730d2cc-feb8-4fac-b8e3-dfcecb56ae7a", + "x-ms-routing-request-id": "WESTUS2:20210712T021423Z:b730d2cc-feb8-4fac-b8e3-dfcecb56ae7a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f1d0effadded9d5ac6f7672c4ec0cc94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b1c38e1d-1913-4242-a119-9de896de3e2c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:24 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b1c38e1d-1913-4242-a119-9de896de3e2c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b1c38e1d-1913-4242-a119-9de896de3e2c", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:b1c38e1d-1913-4242-a119-9de896de3e2c", + "x-ms-routing-request-id": "WESTUS2:20210712T021424Z:b1c38e1d-1913-4242-a119-9de896de3e2c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "315a04293ace5b01f49000aa8a2c6021", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fbe9130f-afbe-4edb-8493-44d8a52c6879", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:25 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fbe9130f-afbe-4edb-8493-44d8a52c6879", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fbe9130f-afbe-4edb-8493-44d8a52c6879", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:fbe9130f-afbe-4edb-8493-44d8a52c6879", + "x-ms-routing-request-id": "WESTUS2:20210712T021426Z:fbe9130f-afbe-4edb-8493-44d8a52c6879" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8edfe7eb5f52f85c807f555a97379bea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d96d4907-d0fd-4ec9-99c6-b55811fedb67", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:26 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d96d4907-d0fd-4ec9-99c6-b55811fedb67", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d96d4907-d0fd-4ec9-99c6-b55811fedb67", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:d96d4907-d0fd-4ec9-99c6-b55811fedb67", + "x-ms-routing-request-id": "WESTUS2:20210712T021427Z:d96d4907-d0fd-4ec9-99c6-b55811fedb67" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a64c0c5a7373c052ed74fd5cdcaf1399", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "74e34c3c-cf0c-4bfe-9b0d-ef276daae41e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "74e34c3c-cf0c-4bfe-9b0d-ef276daae41e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "74e34c3c-cf0c-4bfe-9b0d-ef276daae41e", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:74e34c3c-cf0c-4bfe-9b0d-ef276daae41e", + "x-ms-routing-request-id": "WESTUS2:20210712T021428Z:74e34c3c-cf0c-4bfe-9b0d-ef276daae41e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "664145963de1ca41a862b04ee5a7c4bd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ba716ba4-4fb9-485c-a0fa-fe66d139f841", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ba716ba4-4fb9-485c-a0fa-fe66d139f841", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ba716ba4-4fb9-485c-a0fa-fe66d139f841", + "x-ms-ratelimit-remaining-tenant-reads": "11953", + "x-ms-request-id": "westus2:ba716ba4-4fb9-485c-a0fa-fe66d139f841", + "x-ms-routing-request-id": "WESTUS2:20210712T021429Z:ba716ba4-4fb9-485c-a0fa-fe66d139f841" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7d5016f5badf78ad941ea1dd62ff1bd1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "bb4d6f6b-7cc7-48e6-9df3-5fdaa875a6a3", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:30 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "bb4d6f6b-7cc7-48e6-9df3-5fdaa875a6a3", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bb4d6f6b-7cc7-48e6-9df3-5fdaa875a6a3", + "x-ms-ratelimit-remaining-tenant-reads": "11952", + "x-ms-request-id": "westus2:bb4d6f6b-7cc7-48e6-9df3-5fdaa875a6a3", + "x-ms-routing-request-id": "WESTUS2:20210712T021430Z:bb4d6f6b-7cc7-48e6-9df3-5fdaa875a6a3" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "51c3bb6c34f51d08ca82fd11c204db46", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "bf9f1b81-3f43-4164-85bb-d66043ba52d6", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:31 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "bf9f1b81-3f43-4164-85bb-d66043ba52d6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bf9f1b81-3f43-4164-85bb-d66043ba52d6", + "x-ms-ratelimit-remaining-tenant-reads": "11951", + "x-ms-request-id": "westus2:bf9f1b81-3f43-4164-85bb-d66043ba52d6", + "x-ms-routing-request-id": "WESTUS2:20210712T021431Z:bf9f1b81-3f43-4164-85bb-d66043ba52d6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c6673fb0955fdcb998c9d2c39c6468a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d6b1d797-72fc-481b-a70f-c2c31e213a25", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:32 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d6b1d797-72fc-481b-a70f-c2c31e213a25", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d6b1d797-72fc-481b-a70f-c2c31e213a25", + "x-ms-ratelimit-remaining-tenant-reads": "11950", + "x-ms-request-id": "westus2:d6b1d797-72fc-481b-a70f-c2c31e213a25", + "x-ms-routing-request-id": "WESTUS2:20210712T021432Z:d6b1d797-72fc-481b-a70f-c2c31e213a25" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "29e2df4673e3c1c70d33b25dbd9cb590", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "33e9f2fa-c912-44ba-a6a4-fdfc12ea6137", + "Content-Length": "381", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "33e9f2fa-c912-44ba-a6a4-fdfc12ea6137", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "33e9f2fa-c912-44ba-a6a4-fdfc12ea6137", + "x-ms-ratelimit-remaining-tenant-reads": "11949", + "x-ms-request-id": "westus2:33e9f2fa-c912-44ba-a6a4-fdfc12ea6137", + "x-ms-routing-request-id": "WESTUS2:20210712T021434Z:33e9f2fa-c912-44ba-a6a4-fdfc12ea6137" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9570", + "name": "mgmt-group-9570", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-9570", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:14:15.133631Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-9570?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "222d5a435497d67101e7b82c61458066", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "0261b93d-2634-498b-b46f-7f6829823033", + "Content-Length": "564", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:14:33 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "0261b93d-2634-498b-b46f-7f6829823033", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0261b93d-2634-498b-b46f-7f6829823033", + "x-ms-ratelimit-remaining-tenant-reads": "11948", + "x-ms-request-id": "westus2:0261b93d-2634-498b-b46f-7f6829823033", + "x-ms-routing-request-id": "WESTUS2:20210712T021434Z:0261b93d-2634-498b-b46f-7f6829823033" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-9570", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-9570", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-9570", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:14:15.133631Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "236743813", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/StartCreateOrUpdateAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/StartCreateOrUpdateAsync.json new file mode 100644 index 000000000000..75a52541c42e --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/StartCreateOrUpdateAsync.json @@ -0,0 +1,913 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "203bacc8bd0b9d8d6d25b617b1e84d5f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c8af3e70-77e6-4f0c-9332-4051716346ed", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "c8af3e70-77e6-4f0c-9332-4051716346ed", + "x-ms-routing-request-id": "WESTUS2:20210712T024333Z:c8af3e70-77e6-4f0c-9332-4051716346ed" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-0c83bb9435f9614699b3b3530616785a-a5097d0c99424449-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "22541c62e434a7cf0ed6ea9373f5f86a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "60935eb6-cd02-4c10-9904-e7c575f885fe", + "Content-Length": "165", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "60935eb6-cd02-4c10-9904-e7c575f885fe", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "60935eb6-cd02-4c10-9904-e7c575f885fe", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:60935eb6-cd02-4c10-9904-e7c575f885fe", + "x-ms-routing-request-id": "WESTUS2:20210712T024333Z:60935eb6-cd02-4c10-9904-e7c575f885fe" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-775", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-775", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8db5becf25f0c7946c79fde7a309fa30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7830fc21-88a0-4683-aa77-e2e1d1ee9ae5", + "Content-Length": "164", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7830fc21-88a0-4683-aa77-e2e1d1ee9ae5", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7830fc21-88a0-4683-aa77-e2e1d1ee9ae5", + "x-ms-ratelimit-remaining-tenant-reads": "11974", + "x-ms-request-id": "westus2:7830fc21-88a0-4683-aa77-e2e1d1ee9ae5", + "x-ms-routing-request-id": "WESTUS2:20210712T024333Z:7830fc21-88a0-4683-aa77-e2e1d1ee9ae5" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7136adbdf879e3265d3434037f9d2839", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5e6a988b-5b76-4b5f-9d82-cd23d65e3054", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5e6a988b-5b76-4b5f-9d82-cd23d65e3054", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5e6a988b-5b76-4b5f-9d82-cd23d65e3054", + "x-ms-ratelimit-remaining-tenant-reads": "11973", + "x-ms-request-id": "westus2:5e6a988b-5b76-4b5f-9d82-cd23d65e3054", + "x-ms-routing-request-id": "WESTUS2:20210712T024335Z:5e6a988b-5b76-4b5f-9d82-cd23d65e3054" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b5c44aa06b3f5679e20cfae782d77ce4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "035be1c1-ea07-411d-99d9-feed3e33bf15", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:35 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "035be1c1-ea07-411d-99d9-feed3e33bf15", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "035be1c1-ea07-411d-99d9-feed3e33bf15", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:035be1c1-ea07-411d-99d9-feed3e33bf15", + "x-ms-routing-request-id": "WESTUS2:20210712T024336Z:035be1c1-ea07-411d-99d9-feed3e33bf15" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d1743435c39ed62697d22fbcf09047cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "88d4d96c-f910-4006-bafe-a266fa862812", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:36 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "88d4d96c-f910-4006-bafe-a266fa862812", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "88d4d96c-f910-4006-bafe-a266fa862812", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:88d4d96c-f910-4006-bafe-a266fa862812", + "x-ms-routing-request-id": "WESTUS2:20210712T024337Z:88d4d96c-f910-4006-bafe-a266fa862812" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5846c351454452f133e08f6dfd3f6186", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "18d9af47-4b89-4bc5-bf68-a84e11406d09", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:37 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "18d9af47-4b89-4bc5-bf68-a84e11406d09", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "18d9af47-4b89-4bc5-bf68-a84e11406d09", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:18d9af47-4b89-4bc5-bf68-a84e11406d09", + "x-ms-routing-request-id": "WESTUS2:20210712T024338Z:18d9af47-4b89-4bc5-bf68-a84e11406d09" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4bce50b75629dd9a24ed1d6d3bbd6551", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0d01b982-66c2-4de5-9c87-8854b59ea4a8", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:38 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0d01b982-66c2-4de5-9c87-8854b59ea4a8", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0d01b982-66c2-4de5-9c87-8854b59ea4a8", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:0d01b982-66c2-4de5-9c87-8854b59ea4a8", + "x-ms-routing-request-id": "WESTUS2:20210712T024339Z:0d01b982-66c2-4de5-9c87-8854b59ea4a8" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "be952bc42490f09f43219ebe34b9d958", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fb4d97b2-5ffc-4b33-a083-48acc351733e", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:39 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fb4d97b2-5ffc-4b33-a083-48acc351733e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fb4d97b2-5ffc-4b33-a083-48acc351733e", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:fb4d97b2-5ffc-4b33-a083-48acc351733e", + "x-ms-routing-request-id": "WESTUS2:20210712T024340Z:fb4d97b2-5ffc-4b33-a083-48acc351733e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a005a870fcc2fba62969345627831675", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "6647a2bb-7d73-4203-ba3c-c01b11148f7e", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:40 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "6647a2bb-7d73-4203-ba3c-c01b11148f7e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6647a2bb-7d73-4203-ba3c-c01b11148f7e", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:6647a2bb-7d73-4203-ba3c-c01b11148f7e", + "x-ms-routing-request-id": "WESTUS2:20210712T024341Z:6647a2bb-7d73-4203-ba3c-c01b11148f7e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d2a83d7aa3a993f6b1dd0707b8dba96a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f864ad17-274a-4e07-a8c3-7f596f4a01ad", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:42 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f864ad17-274a-4e07-a8c3-7f596f4a01ad", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f864ad17-274a-4e07-a8c3-7f596f4a01ad", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:f864ad17-274a-4e07-a8c3-7f596f4a01ad", + "x-ms-routing-request-id": "WESTUS2:20210712T024342Z:f864ad17-274a-4e07-a8c3-7f596f4a01ad" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "92fcc514c5b8c88f849a9527ef48c8c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "39ac4d5d-1912-4cb5-b643-f8a188f81e19", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:43 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "39ac4d5d-1912-4cb5-b643-f8a188f81e19", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "39ac4d5d-1912-4cb5-b643-f8a188f81e19", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:39ac4d5d-1912-4cb5-b643-f8a188f81e19", + "x-ms-routing-request-id": "WESTUS2:20210712T024344Z:39ac4d5d-1912-4cb5-b643-f8a188f81e19" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f643280a0611cdafb271eee4f59e424d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e028a418-1c20-46e3-b088-ac69873a5199", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:44 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e028a418-1c20-46e3-b088-ac69873a5199", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e028a418-1c20-46e3-b088-ac69873a5199", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:e028a418-1c20-46e3-b088-ac69873a5199", + "x-ms-routing-request-id": "WESTUS2:20210712T024345Z:e028a418-1c20-46e3-b088-ac69873a5199" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6242c9c08486b5bdaedf4d0e0ecfa468", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c4abba12-f148-4bf2-bb73-f4beec2025ba", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:45 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c4abba12-f148-4bf2-bb73-f4beec2025ba", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c4abba12-f148-4bf2-bb73-f4beec2025ba", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:c4abba12-f148-4bf2-bb73-f4beec2025ba", + "x-ms-routing-request-id": "WESTUS2:20210712T024346Z:c4abba12-f148-4bf2-bb73-f4beec2025ba" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8ffc4715b2980e59162fe046d6aad3e6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "932cd32a-6051-422f-9029-a3ce58328212", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:46 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "932cd32a-6051-422f-9029-a3ce58328212", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "932cd32a-6051-422f-9029-a3ce58328212", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:932cd32a-6051-422f-9029-a3ce58328212", + "x-ms-routing-request-id": "WESTUS2:20210712T024347Z:932cd32a-6051-422f-9029-a3ce58328212" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "25664758650686396a8e4731b9a0bfe3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f61b9112-92a1-49de-a3d1-0bcab6bc6bde", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:47 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f61b9112-92a1-49de-a3d1-0bcab6bc6bde", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f61b9112-92a1-49de-a3d1-0bcab6bc6bde", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:f61b9112-92a1-49de-a3d1-0bcab6bc6bde", + "x-ms-routing-request-id": "WESTUS2:20210712T024348Z:f61b9112-92a1-49de-a3d1-0bcab6bc6bde" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "adcf85cdb3a10db56f344c56a477de04", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "dc44f62b-28f6-4bcc-9c60-e255b8487710", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "dc44f62b-28f6-4bcc-9c60-e255b8487710", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "dc44f62b-28f6-4bcc-9c60-e255b8487710", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:dc44f62b-28f6-4bcc-9c60-e255b8487710", + "x-ms-routing-request-id": "WESTUS2:20210712T024349Z:dc44f62b-28f6-4bcc-9c60-e255b8487710" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c6b6670c7e68af620e7624096a285475", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1af14634-e389-4cbd-a70d-1520d3ab8d88", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1af14634-e389-4cbd-a70d-1520d3ab8d88", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1af14634-e389-4cbd-a70d-1520d3ab8d88", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:1af14634-e389-4cbd-a70d-1520d3ab8d88", + "x-ms-routing-request-id": "WESTUS2:20210712T024350Z:1af14634-e389-4cbd-a70d-1520d3ab8d88" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5078fc7025daa4449259b5d219e2e2f3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "aba00f92-71aa-4756-8a4e-c60e2768fddd", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "aba00f92-71aa-4756-8a4e-c60e2768fddd", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "aba00f92-71aa-4756-8a4e-c60e2768fddd", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:aba00f92-71aa-4756-8a4e-c60e2768fddd", + "x-ms-routing-request-id": "WESTUS2:20210712T024351Z:aba00f92-71aa-4756-8a4e-c60e2768fddd" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "522443b0f8ea4f7a231f9f2b8eaba347", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ceeea91d-975a-469c-be43-b4f60195569e", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:52 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ceeea91d-975a-469c-be43-b4f60195569e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ceeea91d-975a-469c-be43-b4f60195569e", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:ceeea91d-975a-469c-be43-b4f60195569e", + "x-ms-routing-request-id": "WESTUS2:20210712T024353Z:ceeea91d-975a-469c-be43-b4f60195569e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a7e6d6df8dfee7292211330fc990962b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b8d1d29a-e7ef-41e0-8b9a-d752d7660c6b", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:53 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-775?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b8d1d29a-e7ef-41e0-8b9a-d752d7660c6b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b8d1d29a-e7ef-41e0-8b9a-d752d7660c6b", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:b8d1d29a-e7ef-41e0-8b9a-d752d7660c6b", + "x-ms-routing-request-id": "WESTUS2:20210712T024354Z:b8d1d29a-e7ef-41e0-8b9a-d752d7660c6b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "275931940203778a82292dba861916e7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "19f63554-d08c-465f-b851-f73438e5a765", + "Content-Length": "379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "19f63554-d08c-465f-b851-f73438e5a765", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "19f63554-d08c-465f-b851-f73438e5a765", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:19f63554-d08c-465f-b851-f73438e5a765", + "x-ms-routing-request-id": "WESTUS2:20210712T024355Z:19f63554-d08c-465f-b851-f73438e5a765" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-775", + "name": "mgmt-group-775", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-775", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:43:39.5346693Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-775?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "42f26eb53afc22f4193d2fd9c56b8592", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "0873484f-1738-4438-9c52-aeecdeb00d2a", + "Content-Length": "562", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:43:54 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "0873484f-1738-4438-9c52-aeecdeb00d2a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0873484f-1738-4438-9c52-aeecdeb00d2a", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:0873484f-1738-4438-9c52-aeecdeb00d2a", + "x-ms-routing-request-id": "WESTUS2:20210712T024355Z:0873484f-1738-4438-9c52-aeecdeb00d2a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-775", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-775", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-775", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:43:39.5346693Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "417480256", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/TryGet.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/TryGet.json new file mode 100644 index 000000000000..60dc0e1a67e0 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/TryGet.json @@ -0,0 +1,105 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e64ce7b6ef0be13b573b5f2b57537f36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:15:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "71bb4bcf-f086-4aa2-bc2c-39f134e9b504", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "71bb4bcf-f086-4aa2-bc2c-39f134e9b504", + "x-ms-routing-request-id": "WESTUS:20210712T021543Z:71bb4bcf-f086-4aa2-bc2c-39f134e9b504" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-827?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-f8c5b31b964b554ab96148e3af390f71-ca63e327d8370041-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5690c13e5c329039af4eb8add7939f18", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "b0fe58d7-e3ee-4691-8cce-8f0a2ff95403", + "Content-Length": "562", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:15:43 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "b0fe58d7-e3ee-4691-8cce-8f0a2ff95403", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b0fe58d7-e3ee-4691-8cce-8f0a2ff95403", + "x-ms-ratelimit-remaining-tenant-reads": "11949", + "x-ms-request-id": "westus:b0fe58d7-e3ee-4691-8cce-8f0a2ff95403", + "x-ms-routing-request-id": "WESTUS:20210712T021543Z:b0fe58d7-e3ee-4691-8cce-8f0a2ff95403" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-827", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-827", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-827", + "details": { + "version": 9, + "updatedTime": "2021-07-12T02:15:00.0191642Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "284253039", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/TryGetAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/TryGetAsync.json new file mode 100644 index 000000000000..5bdcdfed5bd2 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupContainerTests/TryGetAsync.json @@ -0,0 +1,105 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b0fdc5193a5158d5b66d07707d8b5def", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:26:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4c25b6fd-5cdf-429d-b76d-ee00ceae132b", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "4c25b6fd-5cdf-429d-b76d-ee00ceae132b", + "x-ms-routing-request-id": "WESTUS2:20210712T022604Z:4c25b6fd-5cdf-429d-b76d-ee00ceae132b" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-7077?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Cache-Control": "no-cache", + "traceparent": "00-8bf1f9106a845640975c36800465289a-5eaea812ebf63048-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c6588176474d9f59c776b5a74ff53a62", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "385409c1-2f78-4047-9266-e407e94e65f3", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 02:26:03 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "385409c1-2f78-4047-9266-e407e94e65f3", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "385409c1-2f78-4047-9266-e407e94e65f3", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "westus2:385409c1-2f78-4047-9266-e407e94e65f3", + "x-ms-routing-request-id": "WESTUS2:20210712T022604Z:385409c1-2f78-4047-9266-e407e94e65f3" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-7077", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-7077", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-7077", + "details": { + "version": 1, + "updatedTime": "2021-07-12T02:24:46.5942156Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "167478796", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Delete.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Delete.json new file mode 100644 index 000000000000..44d811c18713 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Delete.json @@ -0,0 +1,2141 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ccb002e2806015ee3332903397c46945", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "047e81d6-45f4-4db2-b94a-7bd3fe200b79", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "047e81d6-45f4-4db2-b94a-7bd3fe200b79", + "x-ms-routing-request-id": "WESTUS2:20210712T031609Z:047e81d6-45f4-4db2-b94a-7bd3fe200b79" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-887e1b6ff6afa044-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ce1be1b8d33b6684291b982596b875fe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "83b1b45d-bb5d-442e-9b6a-5e1eabf2bf7d", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "83b1b45d-bb5d-442e-9b6a-5e1eabf2bf7d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "83b1b45d-bb5d-442e-9b6a-5e1eabf2bf7d", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:83b1b45d-bb5d-442e-9b6a-5e1eabf2bf7d", + "x-ms-routing-request-id": "WESTUS2:20210712T031610Z:83b1b45d-bb5d-442e-9b6a-5e1eabf2bf7d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-8286", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-c5079c4e19888a4e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e5120dd34f962fa72b66376556ef9c7a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "27f4cb2d-f0ec-4bc3-aa23-983f85d18594", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "27f4cb2d-f0ec-4bc3-aa23-983f85d18594", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "27f4cb2d-f0ec-4bc3-aa23-983f85d18594", + "x-ms-ratelimit-remaining-tenant-reads": "11922", + "x-ms-request-id": "westus2:27f4cb2d-f0ec-4bc3-aa23-983f85d18594", + "x-ms-routing-request-id": "WESTUS2:20210712T031610Z:27f4cb2d-f0ec-4bc3-aa23-983f85d18594" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-1722393e0185a944-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b799341b7414cb5357c033c4566b5aab", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b20e9a52-8122-4571-ae71-03afb74056fd", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b20e9a52-8122-4571-ae71-03afb74056fd", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b20e9a52-8122-4571-ae71-03afb74056fd", + "x-ms-ratelimit-remaining-tenant-reads": "11921", + "x-ms-request-id": "westus2:b20e9a52-8122-4571-ae71-03afb74056fd", + "x-ms-routing-request-id": "WESTUS2:20210712T031611Z:b20e9a52-8122-4571-ae71-03afb74056fd" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-6b1807c982d4b24a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "895121898fa6ae686525a67cb52405ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "49dc4f9c-01f4-4d64-b3c8-53862787d0e9", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "49dc4f9c-01f4-4d64-b3c8-53862787d0e9", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "49dc4f9c-01f4-4d64-b3c8-53862787d0e9", + "x-ms-ratelimit-remaining-tenant-reads": "11920", + "x-ms-request-id": "westus2:49dc4f9c-01f4-4d64-b3c8-53862787d0e9", + "x-ms-routing-request-id": "WESTUS2:20210712T031612Z:49dc4f9c-01f4-4d64-b3c8-53862787d0e9" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-df070f5b4e9b3c40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d7fe02dadae45f61b9468ed61be2d8bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7fda1599-899a-4fb6-a788-2555c9db35ea", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:13 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7fda1599-899a-4fb6-a788-2555c9db35ea", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7fda1599-899a-4fb6-a788-2555c9db35ea", + "x-ms-ratelimit-remaining-tenant-reads": "11919", + "x-ms-request-id": "westus2:7fda1599-899a-4fb6-a788-2555c9db35ea", + "x-ms-routing-request-id": "WESTUS2:20210712T031613Z:7fda1599-899a-4fb6-a788-2555c9db35ea" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-ec7bdbda07adac43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "34dc8b0b129d8bd4cceb52efced71632", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "612be926-9491-4fb3-8754-fb03e9488802", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "612be926-9491-4fb3-8754-fb03e9488802", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "612be926-9491-4fb3-8754-fb03e9488802", + "x-ms-ratelimit-remaining-tenant-reads": "11918", + "x-ms-request-id": "westus2:612be926-9491-4fb3-8754-fb03e9488802", + "x-ms-routing-request-id": "WESTUS2:20210712T031614Z:612be926-9491-4fb3-8754-fb03e9488802" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-52a6772294c43f4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "54ea87bb826daec7bff2d05f01929282", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fae3059e-75c7-451d-9356-a8b299b288e6", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:15 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fae3059e-75c7-451d-9356-a8b299b288e6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fae3059e-75c7-451d-9356-a8b299b288e6", + "x-ms-ratelimit-remaining-tenant-reads": "11917", + "x-ms-request-id": "westus2:fae3059e-75c7-451d-9356-a8b299b288e6", + "x-ms-routing-request-id": "WESTUS2:20210712T031615Z:fae3059e-75c7-451d-9356-a8b299b288e6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-7cc620c054cbb747-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2970e64cd047c70e2e720bf9887291e2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0e58e1cc-2c53-4bc5-8318-42f83da9e44b", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0e58e1cc-2c53-4bc5-8318-42f83da9e44b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0e58e1cc-2c53-4bc5-8318-42f83da9e44b", + "x-ms-ratelimit-remaining-tenant-reads": "11916", + "x-ms-request-id": "westus2:0e58e1cc-2c53-4bc5-8318-42f83da9e44b", + "x-ms-routing-request-id": "WESTUS2:20210712T031617Z:0e58e1cc-2c53-4bc5-8318-42f83da9e44b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-d24c38ff4daf934c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "941a5b3084f88952c42d74ab42748a39", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "502da218-0cec-4dfe-9255-9cea03a2cf96", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "502da218-0cec-4dfe-9255-9cea03a2cf96", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "502da218-0cec-4dfe-9255-9cea03a2cf96", + "x-ms-ratelimit-remaining-tenant-reads": "11915", + "x-ms-request-id": "westus2:502da218-0cec-4dfe-9255-9cea03a2cf96", + "x-ms-routing-request-id": "WESTUS2:20210712T031618Z:502da218-0cec-4dfe-9255-9cea03a2cf96" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-1af3456fc77d1c49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e7a2cf58ec66eaea782326fb76cd264c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2c449b2a-d739-4152-bcae-d07ebbdc611f", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2c449b2a-d739-4152-bcae-d07ebbdc611f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2c449b2a-d739-4152-bcae-d07ebbdc611f", + "x-ms-ratelimit-remaining-tenant-reads": "11914", + "x-ms-request-id": "westus2:2c449b2a-d739-4152-bcae-d07ebbdc611f", + "x-ms-routing-request-id": "WESTUS2:20210712T031619Z:2c449b2a-d739-4152-bcae-d07ebbdc611f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-d00da239fb59bc49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a52fed60fd77c88a94e6651a5c6284b9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1a5d8408-3f4f-447a-ae45-82d7abaa08ac", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:19 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1a5d8408-3f4f-447a-ae45-82d7abaa08ac", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1a5d8408-3f4f-447a-ae45-82d7abaa08ac", + "x-ms-ratelimit-remaining-tenant-reads": "11913", + "x-ms-request-id": "westus2:1a5d8408-3f4f-447a-ae45-82d7abaa08ac", + "x-ms-routing-request-id": "WESTUS2:20210712T031620Z:1a5d8408-3f4f-447a-ae45-82d7abaa08ac" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-09069d25f1ef6e40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b8a1d1e7a9d0447b70301cd45e5612f6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d7d44ef0-f4f4-4689-9f19-f9d026900511", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:20 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d7d44ef0-f4f4-4689-9f19-f9d026900511", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d7d44ef0-f4f4-4689-9f19-f9d026900511", + "x-ms-ratelimit-remaining-tenant-reads": "11912", + "x-ms-request-id": "westus2:d7d44ef0-f4f4-4689-9f19-f9d026900511", + "x-ms-routing-request-id": "WESTUS2:20210712T031621Z:d7d44ef0-f4f4-4689-9f19-f9d026900511" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-1f6662c6ab0d5b43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "554a2707e5455ac245da538087d08e16", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9cfaded3-f38e-4c4f-bb7a-1caf05a0b745", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9cfaded3-f38e-4c4f-bb7a-1caf05a0b745", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9cfaded3-f38e-4c4f-bb7a-1caf05a0b745", + "x-ms-ratelimit-remaining-tenant-reads": "11911", + "x-ms-request-id": "westus2:9cfaded3-f38e-4c4f-bb7a-1caf05a0b745", + "x-ms-routing-request-id": "WESTUS2:20210712T031622Z:9cfaded3-f38e-4c4f-bb7a-1caf05a0b745" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-d83e4680534f6d4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a5146c9f6e2cb77c71eb3447e1b5693d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d1d060fa-70b8-4a16-8640-a6ceda4734d2", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d1d060fa-70b8-4a16-8640-a6ceda4734d2", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d1d060fa-70b8-4a16-8640-a6ceda4734d2", + "x-ms-ratelimit-remaining-tenant-reads": "11910", + "x-ms-request-id": "westus2:d1d060fa-70b8-4a16-8640-a6ceda4734d2", + "x-ms-routing-request-id": "WESTUS2:20210712T031623Z:d1d060fa-70b8-4a16-8640-a6ceda4734d2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-cc96c32ca8e3aa44-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "34136ed42e1801730f4672f656fbbca0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3932c5d7-59ed-4fb4-9497-3cdf30c26b62", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:24 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3932c5d7-59ed-4fb4-9497-3cdf30c26b62", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3932c5d7-59ed-4fb4-9497-3cdf30c26b62", + "x-ms-ratelimit-remaining-tenant-reads": "11909", + "x-ms-request-id": "westus2:3932c5d7-59ed-4fb4-9497-3cdf30c26b62", + "x-ms-routing-request-id": "WESTUS2:20210712T031624Z:3932c5d7-59ed-4fb4-9497-3cdf30c26b62" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-3e5b2a2f8658a34c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f13506a26d4299caab93e35ab07a7890", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3defd958-8625-4dab-9246-43423100cedb", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:25 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3defd958-8625-4dab-9246-43423100cedb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3defd958-8625-4dab-9246-43423100cedb", + "x-ms-ratelimit-remaining-tenant-reads": "11908", + "x-ms-request-id": "westus2:3defd958-8625-4dab-9246-43423100cedb", + "x-ms-routing-request-id": "WESTUS2:20210712T031626Z:3defd958-8625-4dab-9246-43423100cedb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-68ae80afb2945740-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "18ab167059bd70fdf81295e6fb866176", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ffe06dcb-8b34-49dc-a6fd-c2bc7577ef92", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:26 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ffe06dcb-8b34-49dc-a6fd-c2bc7577ef92", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ffe06dcb-8b34-49dc-a6fd-c2bc7577ef92", + "x-ms-ratelimit-remaining-tenant-reads": "11907", + "x-ms-request-id": "westus2:ffe06dcb-8b34-49dc-a6fd-c2bc7577ef92", + "x-ms-routing-request-id": "WESTUS2:20210712T031627Z:ffe06dcb-8b34-49dc-a6fd-c2bc7577ef92" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-79cf2b98746c7e4f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "dba5942e777f67faa47a89854b195194", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b5d764bb-0064-4d43-82bc-fa7d97fac9e4", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b5d764bb-0064-4d43-82bc-fa7d97fac9e4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b5d764bb-0064-4d43-82bc-fa7d97fac9e4", + "x-ms-ratelimit-remaining-tenant-reads": "11906", + "x-ms-request-id": "westus2:b5d764bb-0064-4d43-82bc-fa7d97fac9e4", + "x-ms-routing-request-id": "WESTUS2:20210712T031628Z:b5d764bb-0064-4d43-82bc-fa7d97fac9e4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-1ef7adbc0ee1c146-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3f85e1cda44f49e208c5f830d7e49d25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "98ad5887-a72d-42a2-930c-79193e7230ea", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:28 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "98ad5887-a72d-42a2-930c-79193e7230ea", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "98ad5887-a72d-42a2-930c-79193e7230ea", + "x-ms-ratelimit-remaining-tenant-reads": "11905", + "x-ms-request-id": "westus2:98ad5887-a72d-42a2-930c-79193e7230ea", + "x-ms-routing-request-id": "WESTUS2:20210712T031629Z:98ad5887-a72d-42a2-930c-79193e7230ea" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-6e847c3ff8acdb45-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1c2c6c319dd5f9111c447443cf7824df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "4ca81359-c02f-4251-aa5f-3d7819a3076c", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "4ca81359-c02f-4251-aa5f-3d7819a3076c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4ca81359-c02f-4251-aa5f-3d7819a3076c", + "x-ms-ratelimit-remaining-tenant-reads": "11904", + "x-ms-request-id": "westus2:4ca81359-c02f-4251-aa5f-3d7819a3076c", + "x-ms-routing-request-id": "WESTUS2:20210712T031630Z:4ca81359-c02f-4251-aa5f-3d7819a3076c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-d0edb6e5f3a8c543-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "191801c121008926b15cd3ba7eca8fc0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "956fc3a8-3368-456a-a2ab-bc4a88acf2be", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:30 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "956fc3a8-3368-456a-a2ab-bc4a88acf2be", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "956fc3a8-3368-456a-a2ab-bc4a88acf2be", + "x-ms-ratelimit-remaining-tenant-reads": "11903", + "x-ms-request-id": "westus2:956fc3a8-3368-456a-a2ab-bc4a88acf2be", + "x-ms-routing-request-id": "WESTUS2:20210712T031631Z:956fc3a8-3368-456a-a2ab-bc4a88acf2be" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-ecd1d1ffdb9d4542-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "de5364dc34ec30bed08c230b309f798f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0d37a379-b5d5-406c-92cc-fdd3063df3c6", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:31 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0d37a379-b5d5-406c-92cc-fdd3063df3c6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0d37a379-b5d5-406c-92cc-fdd3063df3c6", + "x-ms-ratelimit-remaining-tenant-reads": "11902", + "x-ms-request-id": "westus2:0d37a379-b5d5-406c-92cc-fdd3063df3c6", + "x-ms-routing-request-id": "WESTUS2:20210712T031632Z:0d37a379-b5d5-406c-92cc-fdd3063df3c6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-e838e6f8b6029546-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d66e19a083cb0f2446a26a79c9577a51", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f4b19ce3-dabf-4606-a43c-4eb4554c000d", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f4b19ce3-dabf-4606-a43c-4eb4554c000d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f4b19ce3-dabf-4606-a43c-4eb4554c000d", + "x-ms-ratelimit-remaining-tenant-reads": "11901", + "x-ms-request-id": "westus2:f4b19ce3-dabf-4606-a43c-4eb4554c000d", + "x-ms-routing-request-id": "WESTUS2:20210712T031633Z:f4b19ce3-dabf-4606-a43c-4eb4554c000d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-5c269c2071e5a942-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6a66b3b446258cf242e74974fe1a5912", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "53db52c1-4d90-4a95-844f-dacfc4a625ef", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "53db52c1-4d90-4a95-844f-dacfc4a625ef", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "53db52c1-4d90-4a95-844f-dacfc4a625ef", + "x-ms-ratelimit-remaining-tenant-reads": "11900", + "x-ms-request-id": "westus2:53db52c1-4d90-4a95-844f-dacfc4a625ef", + "x-ms-routing-request-id": "WESTUS2:20210712T031635Z:53db52c1-4d90-4a95-844f-dacfc4a625ef" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-dd14c8c89116644c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "651943e2b95b59f43f43984aca456679", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a8e9ad11-411c-4a0c-8dbc-b3952646f95b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:35 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a8e9ad11-411c-4a0c-8dbc-b3952646f95b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a8e9ad11-411c-4a0c-8dbc-b3952646f95b", + "x-ms-ratelimit-remaining-tenant-reads": "11899", + "x-ms-request-id": "westus2:a8e9ad11-411c-4a0c-8dbc-b3952646f95b", + "x-ms-routing-request-id": "WESTUS2:20210712T031636Z:a8e9ad11-411c-4a0c-8dbc-b3952646f95b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-46034bb40d6afc4e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7c57d1110e38596a26e294e33ab0112b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "43ae243a-fa59-4d9f-8ff8-c11f12769901", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:36 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "43ae243a-fa59-4d9f-8ff8-c11f12769901", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "43ae243a-fa59-4d9f-8ff8-c11f12769901", + "x-ms-ratelimit-remaining-tenant-reads": "11898", + "x-ms-request-id": "westus2:43ae243a-fa59-4d9f-8ff8-c11f12769901", + "x-ms-routing-request-id": "WESTUS2:20210712T031637Z:43ae243a-fa59-4d9f-8ff8-c11f12769901" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-6a0163637007fd47-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "86965849153dfaf6bf0d2ae1aea8c2fc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d1c419db-e8ed-409b-a366-614e5e4b846d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:37 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d1c419db-e8ed-409b-a366-614e5e4b846d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d1c419db-e8ed-409b-a366-614e5e4b846d", + "x-ms-ratelimit-remaining-tenant-reads": "11897", + "x-ms-request-id": "westus2:d1c419db-e8ed-409b-a366-614e5e4b846d", + "x-ms-routing-request-id": "WESTUS2:20210712T031638Z:d1c419db-e8ed-409b-a366-614e5e4b846d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-7530882f31190643-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2c62cf81dcc3d3d9d9bf3e7825101f8f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b53b47ce-19cc-4b31-b318-4103bc2cd65d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:38 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b53b47ce-19cc-4b31-b318-4103bc2cd65d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b53b47ce-19cc-4b31-b318-4103bc2cd65d", + "x-ms-ratelimit-remaining-tenant-reads": "11896", + "x-ms-request-id": "westus2:b53b47ce-19cc-4b31-b318-4103bc2cd65d", + "x-ms-routing-request-id": "WESTUS2:20210712T031639Z:b53b47ce-19cc-4b31-b318-4103bc2cd65d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-6ef6bc973b22384b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "71006c31e0affc3cda5cbd2be388ab7e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "996c0f8f-65e7-4387-9225-acc0b0d047fd", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:39 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "996c0f8f-65e7-4387-9225-acc0b0d047fd", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "996c0f8f-65e7-4387-9225-acc0b0d047fd", + "x-ms-ratelimit-remaining-tenant-reads": "11895", + "x-ms-request-id": "westus2:996c0f8f-65e7-4387-9225-acc0b0d047fd", + "x-ms-routing-request-id": "WESTUS2:20210712T031640Z:996c0f8f-65e7-4387-9225-acc0b0d047fd" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-a9a44aee06113943-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6a629720e54d6d677fc2ac7dd67ed5ae", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c5b87d57-2ae0-4a13-a43e-4bd8e7e895ac", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:40 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c5b87d57-2ae0-4a13-a43e-4bd8e7e895ac", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c5b87d57-2ae0-4a13-a43e-4bd8e7e895ac", + "x-ms-ratelimit-remaining-tenant-reads": "11894", + "x-ms-request-id": "westus2:c5b87d57-2ae0-4a13-a43e-4bd8e7e895ac", + "x-ms-routing-request-id": "WESTUS2:20210712T031641Z:c5b87d57-2ae0-4a13-a43e-4bd8e7e895ac" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-1603e126be63c745-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "41b09bed50a8a04c936651671fadf051", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d850f708-0389-4ab0-b742-8ef278341e36", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:42 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d850f708-0389-4ab0-b742-8ef278341e36", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d850f708-0389-4ab0-b742-8ef278341e36", + "x-ms-ratelimit-remaining-tenant-reads": "11893", + "x-ms-request-id": "westus2:d850f708-0389-4ab0-b742-8ef278341e36", + "x-ms-routing-request-id": "WESTUS2:20210712T031643Z:d850f708-0389-4ab0-b742-8ef278341e36" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-3774c2f4dde86f40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8d58c014b5ad4c420493f2ec34be265c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3385783e-de5b-48d9-b0bb-62fd39e7d926", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:43 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3385783e-de5b-48d9-b0bb-62fd39e7d926", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3385783e-de5b-48d9-b0bb-62fd39e7d926", + "x-ms-ratelimit-remaining-tenant-reads": "11892", + "x-ms-request-id": "westus2:3385783e-de5b-48d9-b0bb-62fd39e7d926", + "x-ms-routing-request-id": "WESTUS2:20210712T031644Z:3385783e-de5b-48d9-b0bb-62fd39e7d926" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-8eacd1bfeaceac4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "483d0e8669d8cfd54ac1d6e793004ed1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9830c7e6-39b9-42cd-8469-2cd0d87d0b5a", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:45 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9830c7e6-39b9-42cd-8469-2cd0d87d0b5a", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9830c7e6-39b9-42cd-8469-2cd0d87d0b5a", + "x-ms-ratelimit-remaining-tenant-reads": "11891", + "x-ms-request-id": "westus2:9830c7e6-39b9-42cd-8469-2cd0d87d0b5a", + "x-ms-routing-request-id": "WESTUS2:20210712T031645Z:9830c7e6-39b9-42cd-8469-2cd0d87d0b5a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-cfda9881c2995442-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "15695ad24725380158633d155d606cd4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3f8d2fd7-dc41-41bf-bafb-3fee4d65cec2", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:46 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3f8d2fd7-dc41-41bf-bafb-3fee4d65cec2", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3f8d2fd7-dc41-41bf-bafb-3fee4d65cec2", + "x-ms-ratelimit-remaining-tenant-reads": "11890", + "x-ms-request-id": "westus2:3f8d2fd7-dc41-41bf-bafb-3fee4d65cec2", + "x-ms-routing-request-id": "WESTUS2:20210712T031646Z:3f8d2fd7-dc41-41bf-bafb-3fee4d65cec2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-38463c74a3c54646-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "10e0f53fa76faa79ea8843ebde5bb904", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fc0dcff8-7f05-4df4-88b6-42928bb53139", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:47 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fc0dcff8-7f05-4df4-88b6-42928bb53139", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fc0dcff8-7f05-4df4-88b6-42928bb53139", + "x-ms-ratelimit-remaining-tenant-reads": "11889", + "x-ms-request-id": "westus2:fc0dcff8-7f05-4df4-88b6-42928bb53139", + "x-ms-routing-request-id": "WESTUS2:20210712T031647Z:fc0dcff8-7f05-4df4-88b6-42928bb53139" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-1c37a991d6d7fb4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d91a214510553f360d05f0742cc072ea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "51fc4953-a32c-4346-a554-f27b614ca266", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "51fc4953-a32c-4346-a554-f27b614ca266", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "51fc4953-a32c-4346-a554-f27b614ca266", + "x-ms-ratelimit-remaining-tenant-reads": "11888", + "x-ms-request-id": "westus2:51fc4953-a32c-4346-a554-f27b614ca266", + "x-ms-routing-request-id": "WESTUS2:20210712T031648Z:51fc4953-a32c-4346-a554-f27b614ca266" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-ce89c00be608b246-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9da701553d202b62e1be2a9d04155afd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ad015913-856d-4206-b796-aaadd4b2e7f9", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ad015913-856d-4206-b796-aaadd4b2e7f9", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ad015913-856d-4206-b796-aaadd4b2e7f9", + "x-ms-ratelimit-remaining-tenant-reads": "11887", + "x-ms-request-id": "westus2:ad015913-856d-4206-b796-aaadd4b2e7f9", + "x-ms-routing-request-id": "WESTUS2:20210712T031649Z:ad015913-856d-4206-b796-aaadd4b2e7f9" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-cf12028de5a0f54a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3cd038aa93452f7fbea1036ab6047e2a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2297f2a9-fb32-450d-aa53-24317def3e8d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2297f2a9-fb32-450d-aa53-24317def3e8d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2297f2a9-fb32-450d-aa53-24317def3e8d", + "x-ms-ratelimit-remaining-tenant-reads": "11886", + "x-ms-request-id": "westus2:2297f2a9-fb32-450d-aa53-24317def3e8d", + "x-ms-routing-request-id": "WESTUS2:20210712T031650Z:2297f2a9-fb32-450d-aa53-24317def3e8d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-1bfa5f695147b549-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "dc9658161bb308e4beeff797e5993af8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5ac361d3-60d9-4c6a-9271-ed75be0e39e1", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5ac361d3-60d9-4c6a-9271-ed75be0e39e1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5ac361d3-60d9-4c6a-9271-ed75be0e39e1", + "x-ms-ratelimit-remaining-tenant-reads": "11885", + "x-ms-request-id": "westus2:5ac361d3-60d9-4c6a-9271-ed75be0e39e1", + "x-ms-routing-request-id": "WESTUS2:20210712T031652Z:5ac361d3-60d9-4c6a-9271-ed75be0e39e1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-94fe62f004a1d74d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f3caf2aa36f0c1a48278de7e39f774dc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1e9c4f02-64e7-4333-869a-9349ba11f555", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:53 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1e9c4f02-64e7-4333-869a-9349ba11f555", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1e9c4f02-64e7-4333-869a-9349ba11f555", + "x-ms-ratelimit-remaining-tenant-reads": "11884", + "x-ms-request-id": "westus2:1e9c4f02-64e7-4333-869a-9349ba11f555", + "x-ms-routing-request-id": "WESTUS2:20210712T031653Z:1e9c4f02-64e7-4333-869a-9349ba11f555" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-7dff89de84dc5546-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ac87003f7d7e8e4954c87d569ce74925", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "dc6a3d59-3ff6-4cf4-b0a2-612a4bae71fb", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:54 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "dc6a3d59-3ff6-4cf4-b0a2-612a4bae71fb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "dc6a3d59-3ff6-4cf4-b0a2-612a4bae71fb", + "x-ms-ratelimit-remaining-tenant-reads": "11883", + "x-ms-request-id": "westus2:dc6a3d59-3ff6-4cf4-b0a2-612a4bae71fb", + "x-ms-routing-request-id": "WESTUS2:20210712T031654Z:dc6a3d59-3ff6-4cf4-b0a2-612a4bae71fb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-7a648a2d2b82c642-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c3bf0b668a3adf39b3d55a3b3c65cec6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "93aa4039-f296-4d61-bfb9-a9136e7f2246", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "93aa4039-f296-4d61-bfb9-a9136e7f2246", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "93aa4039-f296-4d61-bfb9-a9136e7f2246", + "x-ms-ratelimit-remaining-tenant-reads": "11882", + "x-ms-request-id": "westus2:93aa4039-f296-4d61-bfb9-a9136e7f2246", + "x-ms-routing-request-id": "WESTUS2:20210712T031655Z:93aa4039-f296-4d61-bfb9-a9136e7f2246" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-edc1972a374f8b45-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e4571b7a8e122d79a83c9f28b84e259a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1f2c62f9-03b2-4a20-823a-07afde3e0ba2", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:56 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1f2c62f9-03b2-4a20-823a-07afde3e0ba2", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1f2c62f9-03b2-4a20-823a-07afde3e0ba2", + "x-ms-ratelimit-remaining-tenant-reads": "11881", + "x-ms-request-id": "westus2:1f2c62f9-03b2-4a20-823a-07afde3e0ba2", + "x-ms-routing-request-id": "WESTUS2:20210712T031656Z:1f2c62f9-03b2-4a20-823a-07afde3e0ba2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-fb4ea5c070aaa247-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2d18b92eb038b5a1c7a7f8a9230e51ee", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "60dc2e67-4460-480b-a296-f70f8f6719dc", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "60dc2e67-4460-480b-a296-f70f8f6719dc", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "60dc2e67-4460-480b-a296-f70f8f6719dc", + "x-ms-ratelimit-remaining-tenant-reads": "11880", + "x-ms-request-id": "westus2:60dc2e67-4460-480b-a296-f70f8f6719dc", + "x-ms-routing-request-id": "WESTUS2:20210712T031657Z:60dc2e67-4460-480b-a296-f70f8f6719dc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-8286", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:16:40.0124641Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a0c69de90921d54aaab538f43f9811eb-f255837f31ea0f4e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "81dcb6f96490d71291921afeea112665", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "81ad05af-1ff8-4fce-ba69-679c909086c2", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:57 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "81ad05af-1ff8-4fce-ba69-679c909086c2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "81ad05af-1ff8-4fce-ba69-679c909086c2", + "x-ms-ratelimit-remaining-tenant-reads": "11879", + "x-ms-request-id": "westus2:81ad05af-1ff8-4fce-ba69-679c909086c2", + "x-ms-routing-request-id": "WESTUS2:20210712T031658Z:81ad05af-1ff8-4fce-ba69-679c909086c2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-8286", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-8286", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-8286", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:16:40.0124641Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b933840c82e891438da9c688f066f596-df11cb5dd1913946-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "830cbfafa04cc98e79a11d6b96d0099a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1428c98c-884a-4125-a650-61bad55de655", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1428c98c-884a-4125-a650-61bad55de655", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1428c98c-884a-4125-a650-61bad55de655", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-deletes": "14999", + "x-ms-request-id": "westus2:1428c98c-884a-4125-a650-61bad55de655", + "x-ms-routing-request-id": "WESTUS2:20210712T031658Z:1428c98c-884a-4125-a650-61bad55de655" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-8286", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b933840c82e891438da9c688f066f596-89fd64fd7349b84f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "64f99280cd0158a1281207ee46a741c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fda3743b-8b6d-41e7-99e9-f6ea70bb6519", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fda3743b-8b6d-41e7-99e9-f6ea70bb6519", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fda3743b-8b6d-41e7-99e9-f6ea70bb6519", + "x-ms-ratelimit-remaining-tenant-reads": "11878", + "x-ms-request-id": "westus2:fda3743b-8b6d-41e7-99e9-f6ea70bb6519", + "x-ms-routing-request-id": "WESTUS2:20210712T031658Z:fda3743b-8b6d-41e7-99e9-f6ea70bb6519" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b933840c82e891438da9c688f066f596-432fa97e7209ad42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3913808824e10bf3b443dc0b04e734d5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "550e8365-a651-4b78-b8df-08ad1a1ccd5e", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:16:59 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "550e8365-a651-4b78-b8df-08ad1a1ccd5e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "550e8365-a651-4b78-b8df-08ad1a1ccd5e", + "x-ms-ratelimit-remaining-tenant-reads": "11877", + "x-ms-request-id": "westus2:550e8365-a651-4b78-b8df-08ad1a1ccd5e", + "x-ms-routing-request-id": "WESTUS2:20210712T031659Z:550e8365-a651-4b78-b8df-08ad1a1ccd5e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b933840c82e891438da9c688f066f596-5d63f6505344514f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "03ea67d7a5d71c980fd6da5f9c1c82fe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "81fdca73-da1b-43f4-bf16-a0f466dd8a33", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:17:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "81fdca73-da1b-43f4-bf16-a0f466dd8a33", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "81fdca73-da1b-43f4-bf16-a0f466dd8a33", + "x-ms-ratelimit-remaining-tenant-reads": "11876", + "x-ms-request-id": "westus2:81fdca73-da1b-43f4-bf16-a0f466dd8a33", + "x-ms-routing-request-id": "WESTUS2:20210712T031701Z:81fdca73-da1b-43f4-bf16-a0f466dd8a33" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b933840c82e891438da9c688f066f596-4854bf9fbb0bc84d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "141edbff918f5bd49feeafbef1965440", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ed774c2d-aa19-45ec-8216-f0e345b4a6b2", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:17:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ed774c2d-aa19-45ec-8216-f0e345b4a6b2", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ed774c2d-aa19-45ec-8216-f0e345b4a6b2", + "x-ms-ratelimit-remaining-tenant-reads": "11875", + "x-ms-request-id": "westus2:ed774c2d-aa19-45ec-8216-f0e345b4a6b2", + "x-ms-routing-request-id": "WESTUS2:20210712T031702Z:ed774c2d-aa19-45ec-8216-f0e345b4a6b2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b933840c82e891438da9c688f066f596-9c675b2413371e43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "df1732de3ebde3e9e8f62a0b4a946e98", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ccd06bf9-c79c-41ee-9cbd-29586a56bed4", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:17:03 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ccd06bf9-c79c-41ee-9cbd-29586a56bed4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ccd06bf9-c79c-41ee-9cbd-29586a56bed4", + "x-ms-ratelimit-remaining-tenant-reads": "11874", + "x-ms-request-id": "westus2:ccd06bf9-c79c-41ee-9cbd-29586a56bed4", + "x-ms-routing-request-id": "WESTUS2:20210712T031703Z:ccd06bf9-c79c-41ee-9cbd-29586a56bed4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b933840c82e891438da9c688f066f596-1c46baa27c6a1c49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "290bdec01fc94545938f63e8f5da2b78", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "13ccbfe6-9dbd-4759-b44c-60ece7b2874f", + "Content-Length": "165", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:17:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "13ccbfe6-9dbd-4759-b44c-60ece7b2874f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "13ccbfe6-9dbd-4759-b44c-60ece7b2874f", + "x-ms-ratelimit-remaining-tenant-reads": "11873", + "x-ms-request-id": "westus2:13ccbfe6-9dbd-4759-b44c-60ece7b2874f", + "x-ms-routing-request-id": "WESTUS2:20210712T031704Z:13ccbfe6-9dbd-4759-b44c-60ece7b2874f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8286", + "name": "mgmt-group-8286", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8286?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-0defa5673bc54f47b99b804e34d09db4-069a43591102a849-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6a819a82a304c141f13a2c9966c8110b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "cf029868-fdb5-44dc-b8d3-d77c195ccba2", + "Content-Length": "133", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:17:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "cf029868-fdb5-44dc-b8d3-d77c195ccba2", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cf029868-fdb5-44dc-b8d3-d77c195ccba2", + "x-ms-ratelimit-remaining-tenant-reads": "11872", + "x-ms-request-id": "westus2:cf029868-fdb5-44dc-b8d3-d77c195ccba2", + "x-ms-routing-request-id": "WESTUS2:20210712T031704Z:cf029868-fdb5-44dc-b8d3-d77c195ccba2" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "\u0027/providers/Microsoft.Management/managementGroups/mgmt-group-8286\u0027 not found", + "details": null + } + } + } + ], + "Variables": { + "RandomSeed": "997423243", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/DeleteAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/DeleteAsync.json new file mode 100644 index 000000000000..7b93e1e7d60c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/DeleteAsync.json @@ -0,0 +1,1244 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "48cb8f120d6139fb618c02cd9c3f5ace", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "41ac57a0-9470-4bda-aaf1-b39c5783d714", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "41ac57a0-9470-4bda-aaf1-b39c5783d714", + "x-ms-routing-request-id": "WESTUS2:20210712T032422Z:41ac57a0-9470-4bda-aaf1-b39c5783d714" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-dcf129ced697a84b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "907f28ec14b63f8e0606254ec76bc8de", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ea8a5776-7337-4287-bbcf-17306fe89e1a", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ea8a5776-7337-4287-bbcf-17306fe89e1a", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ea8a5776-7337-4287-bbcf-17306fe89e1a", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:ea8a5776-7337-4287-bbcf-17306fe89e1a", + "x-ms-routing-request-id": "WESTUS2:20210712T032422Z:ea8a5776-7337-4287-bbcf-17306fe89e1a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-8650", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-8650", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-f4cd4d7a71b52c4c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9a0dab2df6757a5b3c095b06d6eb9921", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1f8965de-4215-4c9b-80b4-298299097836", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1f8965de-4215-4c9b-80b4-298299097836", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1f8965de-4215-4c9b-80b4-298299097836", + "x-ms-ratelimit-remaining-tenant-reads": "11975", + "x-ms-request-id": "westus2:1f8965de-4215-4c9b-80b4-298299097836", + "x-ms-routing-request-id": "WESTUS2:20210712T032422Z:1f8965de-4215-4c9b-80b4-298299097836" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-789d5a8573b15f42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1f08ef390282a90d04f760eb30cabebd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5da0bc0e-c6cb-4c34-a235-b9e0ae8dad3d", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5da0bc0e-c6cb-4c34-a235-b9e0ae8dad3d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5da0bc0e-c6cb-4c34-a235-b9e0ae8dad3d", + "x-ms-ratelimit-remaining-tenant-reads": "11974", + "x-ms-request-id": "westus2:5da0bc0e-c6cb-4c34-a235-b9e0ae8dad3d", + "x-ms-routing-request-id": "WESTUS2:20210712T032424Z:5da0bc0e-c6cb-4c34-a235-b9e0ae8dad3d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-69156b97a09ee145-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1c2001192e5d9d68c45d8e3ce71db144", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1cd02650-f65d-48c2-b519-1e173328a255", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:24 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1cd02650-f65d-48c2-b519-1e173328a255", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1cd02650-f65d-48c2-b519-1e173328a255", + "x-ms-ratelimit-remaining-tenant-reads": "11973", + "x-ms-request-id": "westus2:1cd02650-f65d-48c2-b519-1e173328a255", + "x-ms-routing-request-id": "WESTUS2:20210712T032425Z:1cd02650-f65d-48c2-b519-1e173328a255" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-b41a243751f12940-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "918ac231ce3f2aa19e63957d95704a72", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0f62eedd-faf9-4a58-ba9a-6394765ba2fb", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:26 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0f62eedd-faf9-4a58-ba9a-6394765ba2fb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0f62eedd-faf9-4a58-ba9a-6394765ba2fb", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:0f62eedd-faf9-4a58-ba9a-6394765ba2fb", + "x-ms-routing-request-id": "WESTUS2:20210712T032426Z:0f62eedd-faf9-4a58-ba9a-6394765ba2fb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-dacfbcc706653a41-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d4ed9d4a7dca0bc3866a5a2474d0c2e7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b9ada306-e5db-4981-b95e-c4250b9759da", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b9ada306-e5db-4981-b95e-c4250b9759da", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b9ada306-e5db-4981-b95e-c4250b9759da", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:b9ada306-e5db-4981-b95e-c4250b9759da", + "x-ms-routing-request-id": "WESTUS2:20210712T032427Z:b9ada306-e5db-4981-b95e-c4250b9759da" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-476fd8dbdabaa44e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6db91c462c3f4b7e60f67dfa99eb0853", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a90dbf6d-a3e6-45a3-923b-bfdf5e799d16", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:28 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a90dbf6d-a3e6-45a3-923b-bfdf5e799d16", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a90dbf6d-a3e6-45a3-923b-bfdf5e799d16", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:a90dbf6d-a3e6-45a3-923b-bfdf5e799d16", + "x-ms-routing-request-id": "WESTUS2:20210712T032428Z:a90dbf6d-a3e6-45a3-923b-bfdf5e799d16" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-966ce064d2ede94e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4af21b13dc2fb379ff7f0bd5737db5cd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "eadfe6c9-50b2-496a-ab19-8d5088fd3315", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "eadfe6c9-50b2-496a-ab19-8d5088fd3315", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "eadfe6c9-50b2-496a-ab19-8d5088fd3315", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:eadfe6c9-50b2-496a-ab19-8d5088fd3315", + "x-ms-routing-request-id": "WESTUS2:20210712T032429Z:eadfe6c9-50b2-496a-ab19-8d5088fd3315" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-b5c4d0e4193ef94c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7937aea1dcb71d321fa174d400c8729b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f9aee6a4-4d7d-4745-b9e9-7e429d39e5e1", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:30 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f9aee6a4-4d7d-4745-b9e9-7e429d39e5e1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f9aee6a4-4d7d-4745-b9e9-7e429d39e5e1", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:f9aee6a4-4d7d-4745-b9e9-7e429d39e5e1", + "x-ms-routing-request-id": "WESTUS2:20210712T032430Z:f9aee6a4-4d7d-4745-b9e9-7e429d39e5e1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-a5e291326db7d145-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5811076178de69b7a2066ec021a8d8e2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "406453f4-0b83-40af-becf-f7441e9577bf", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:31 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "406453f4-0b83-40af-becf-f7441e9577bf", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "406453f4-0b83-40af-becf-f7441e9577bf", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:406453f4-0b83-40af-becf-f7441e9577bf", + "x-ms-routing-request-id": "WESTUS2:20210712T032431Z:406453f4-0b83-40af-becf-f7441e9577bf" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-0053359d73874b4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "eb59b0408fb4369ce9d42b8e68a5b336", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a523dd96-2638-4621-8ae7-22df40fed30f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:32 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a523dd96-2638-4621-8ae7-22df40fed30f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a523dd96-2638-4621-8ae7-22df40fed30f", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:a523dd96-2638-4621-8ae7-22df40fed30f", + "x-ms-routing-request-id": "WESTUS2:20210712T032433Z:a523dd96-2638-4621-8ae7-22df40fed30f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-b182a469dfc9004e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6c736f0d5d6b29eef6cdd6b06e71fc76", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9f162310-fbd1-4e04-882b-903f1cb0f48d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9f162310-fbd1-4e04-882b-903f1cb0f48d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9f162310-fbd1-4e04-882b-903f1cb0f48d", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:9f162310-fbd1-4e04-882b-903f1cb0f48d", + "x-ms-routing-request-id": "WESTUS2:20210712T032434Z:9f162310-fbd1-4e04-882b-903f1cb0f48d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-f17def5c5f6a6242-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4f9391c9876fd2e76adb6f094c2901fc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "df51aa88-52be-4605-bea0-1c3f87c4e6bb", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "df51aa88-52be-4605-bea0-1c3f87c4e6bb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "df51aa88-52be-4605-bea0-1c3f87c4e6bb", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:df51aa88-52be-4605-bea0-1c3f87c4e6bb", + "x-ms-routing-request-id": "WESTUS2:20210712T032435Z:df51aa88-52be-4605-bea0-1c3f87c4e6bb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-841e506966b30f47-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b2b337536b35e377c130f4e6b8ebc777", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5e855b60-3160-4e51-b911-2ccba8c219f7", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:36 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5e855b60-3160-4e51-b911-2ccba8c219f7", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5e855b60-3160-4e51-b911-2ccba8c219f7", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:5e855b60-3160-4e51-b911-2ccba8c219f7", + "x-ms-routing-request-id": "WESTUS2:20210712T032436Z:5e855b60-3160-4e51-b911-2ccba8c219f7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-3645c6f8d3a74f41-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d6c4b4d8631286c688a00190ede5dccc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "416a0c68-34c0-4b80-ad88-78981e14da61", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:37 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "416a0c68-34c0-4b80-ad88-78981e14da61", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "416a0c68-34c0-4b80-ad88-78981e14da61", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:416a0c68-34c0-4b80-ad88-78981e14da61", + "x-ms-routing-request-id": "WESTUS2:20210712T032437Z:416a0c68-34c0-4b80-ad88-78981e14da61" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-821c1e43a8302f45-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "365ddacb49be5d411ab08d3f9200197f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "674cb43e-5ea7-416d-966d-1e0803ab1d7a", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:38 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "674cb43e-5ea7-416d-966d-1e0803ab1d7a", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "674cb43e-5ea7-416d-966d-1e0803ab1d7a", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:674cb43e-5ea7-416d-966d-1e0803ab1d7a", + "x-ms-routing-request-id": "WESTUS2:20210712T032438Z:674cb43e-5ea7-416d-966d-1e0803ab1d7a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-1698b385e4063e4e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9831f7132b65efea702c2a946ae7f5dc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "661ed0ed-191f-4839-ae2c-62915ddb4aa7", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:39 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "661ed0ed-191f-4839-ae2c-62915ddb4aa7", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "661ed0ed-191f-4839-ae2c-62915ddb4aa7", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:661ed0ed-191f-4839-ae2c-62915ddb4aa7", + "x-ms-routing-request-id": "WESTUS2:20210712T032439Z:661ed0ed-191f-4839-ae2c-62915ddb4aa7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-91341c4ab7f0df4e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "de1a2854908d8eb87366bc61d587f487", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "aabb1837-ae5f-49cf-a8a7-d5f379331264", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:40 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "aabb1837-ae5f-49cf-a8a7-d5f379331264", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "aabb1837-ae5f-49cf-a8a7-d5f379331264", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:aabb1837-ae5f-49cf-a8a7-d5f379331264", + "x-ms-routing-request-id": "WESTUS2:20210712T032441Z:aabb1837-ae5f-49cf-a8a7-d5f379331264" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-e30ffdc9f0c90c49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f57c818644b3a067f06ec6921facf333", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "4d49f6d9-23ff-428e-bb45-8b5b5f4c3a82", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "4d49f6d9-23ff-428e-bb45-8b5b5f4c3a82", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4d49f6d9-23ff-428e-bb45-8b5b5f4c3a82", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:4d49f6d9-23ff-428e-bb45-8b5b5f4c3a82", + "x-ms-routing-request-id": "WESTUS2:20210712T032442Z:4d49f6d9-23ff-428e-bb45-8b5b5f4c3a82" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-bbe4d20244d8e44e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6aebb1ba3be582f13fa224fe6e8819e9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d70f543c-dbd9-48f2-8f9c-a60dca248367", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:42 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d70f543c-dbd9-48f2-8f9c-a60dca248367", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d70f543c-dbd9-48f2-8f9c-a60dca248367", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:d70f543c-dbd9-48f2-8f9c-a60dca248367", + "x-ms-routing-request-id": "WESTUS2:20210712T032443Z:d70f543c-dbd9-48f2-8f9c-a60dca248367" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-a9e095a524859e44-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e80da238006a1028c07aee1eca266ec7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "4b7630bd-d087-4423-9f82-a649fe4e7177", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "4b7630bd-d087-4423-9f82-a649fe4e7177", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4b7630bd-d087-4423-9f82-a649fe4e7177", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:4b7630bd-d087-4423-9f82-a649fe4e7177", + "x-ms-routing-request-id": "WESTUS2:20210712T032444Z:4b7630bd-d087-4423-9f82-a649fe4e7177" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-8650", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:24:28.7981831Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a09965dd2298d84ca08920eebff445bf-36401089eeee7545-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "24a78973899c4ba190fab6111f693167", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "645d2b9b-5bb8-4166-b4ab-32ba2fbeca0b", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:44 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "645d2b9b-5bb8-4166-b4ab-32ba2fbeca0b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "645d2b9b-5bb8-4166-b4ab-32ba2fbeca0b", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:645d2b9b-5bb8-4166-b4ab-32ba2fbeca0b", + "x-ms-routing-request-id": "WESTUS2:20210712T032444Z:645d2b9b-5bb8-4166-b4ab-32ba2fbeca0b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-8650", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-8650", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-8650", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:24:28.7981831Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-b936915daf2fe046ae16626c4ef7202b-e9881e8369fae741-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7d59dc550a9ebac888dba96b4dd2b819", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "30e26069-cd51-4be9-9869-9b2cadcba9ce", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:44 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "30e26069-cd51-4be9-9869-9b2cadcba9ce", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "30e26069-cd51-4be9-9869-9b2cadcba9ce", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-deletes": "14999", + "x-ms-request-id": "westus2:30e26069-cd51-4be9-9869-9b2cadcba9ce", + "x-ms-routing-request-id": "WESTUS2:20210712T032445Z:30e26069-cd51-4be9-9869-9b2cadcba9ce" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-8650", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-8650", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b936915daf2fe046ae16626c4ef7202b-ea34e7a5bdb29744-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "edc98648f1cc6828c0ed9bc1e036fdbd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "4e5aff8b-c7fe-4aae-8e37-a311fec63aab", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:44 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "4e5aff8b-c7fe-4aae-8e37-a311fec63aab", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4e5aff8b-c7fe-4aae-8e37-a311fec63aab", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:4e5aff8b-c7fe-4aae-8e37-a311fec63aab", + "x-ms-routing-request-id": "WESTUS2:20210712T032445Z:4e5aff8b-c7fe-4aae-8e37-a311fec63aab" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b936915daf2fe046ae16626c4ef7202b-e8f99ff7e52ed243-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c2dd9c424cde618690ab7cdcb2586f71", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a13fa70c-4c0b-4ac3-b223-f31fd3e38226", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:46 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a13fa70c-4c0b-4ac3-b223-f31fd3e38226", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a13fa70c-4c0b-4ac3-b223-f31fd3e38226", + "x-ms-ratelimit-remaining-tenant-reads": "11953", + "x-ms-request-id": "westus2:a13fa70c-4c0b-4ac3-b223-f31fd3e38226", + "x-ms-routing-request-id": "WESTUS2:20210712T032446Z:a13fa70c-4c0b-4ac3-b223-f31fd3e38226" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b936915daf2fe046ae16626c4ef7202b-4e3d9ef45b6e414f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c72352eaca09424c342125f3588bceca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "135f5948-ce65-4049-9114-67191648272e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:47 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "135f5948-ce65-4049-9114-67191648272e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "135f5948-ce65-4049-9114-67191648272e", + "x-ms-ratelimit-remaining-tenant-reads": "11952", + "x-ms-request-id": "westus2:135f5948-ce65-4049-9114-67191648272e", + "x-ms-routing-request-id": "WESTUS2:20210712T032447Z:135f5948-ce65-4049-9114-67191648272e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b936915daf2fe046ae16626c4ef7202b-9411360c809a154d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ad2e9bc52e3afb79ff685d21754cb667", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "25336ccd-9466-4e6e-80fd-ecbce12db0bb", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "25336ccd-9466-4e6e-80fd-ecbce12db0bb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "25336ccd-9466-4e6e-80fd-ecbce12db0bb", + "x-ms-ratelimit-remaining-tenant-reads": "11951", + "x-ms-request-id": "westus2:25336ccd-9466-4e6e-80fd-ecbce12db0bb", + "x-ms-routing-request-id": "WESTUS2:20210712T032448Z:25336ccd-9466-4e6e-80fd-ecbce12db0bb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b936915daf2fe046ae16626c4ef7202b-f36025cca38adf44-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8dd62a7d361277b3509b8dbc27920804", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "bbedb6fe-078a-4995-a9d8-f042b50d4cf1", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "bbedb6fe-078a-4995-a9d8-f042b50d4cf1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bbedb6fe-078a-4995-a9d8-f042b50d4cf1", + "x-ms-ratelimit-remaining-tenant-reads": "11950", + "x-ms-request-id": "westus2:bbedb6fe-078a-4995-a9d8-f042b50d4cf1", + "x-ms-routing-request-id": "WESTUS2:20210712T032450Z:bbedb6fe-078a-4995-a9d8-f042b50d4cf1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b936915daf2fe046ae16626c4ef7202b-f467c5160231de43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1717b1dcc22abc36d927c7a16c2bcce8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "b1875222-c6e1-444d-8f72-52e3c5b6430d", + "Content-Length": "165", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "b1875222-c6e1-444d-8f72-52e3c5b6430d", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b1875222-c6e1-444d-8f72-52e3c5b6430d", + "x-ms-ratelimit-remaining-tenant-reads": "11949", + "x-ms-request-id": "westus2:b1875222-c6e1-444d-8f72-52e3c5b6430d", + "x-ms-routing-request-id": "WESTUS2:20210712T032451Z:b1875222-c6e1-444d-8f72-52e3c5b6430d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-8650", + "name": "mgmt-group-8650", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-8650?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-10b9d545bc26904e80ab7a8670d9aef5-b56b8d0273ef4d41-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2d76bd6b40b58eb8e7b65c9ea0bdd46c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "24203f4d-bb95-4c1a-8f39-e89eaa8596aa", + "Content-Length": "133", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:50 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "24203f4d-bb95-4c1a-8f39-e89eaa8596aa", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "24203f4d-bb95-4c1a-8f39-e89eaa8596aa", + "x-ms-ratelimit-remaining-tenant-reads": "11948", + "x-ms-request-id": "westus2:24203f4d-bb95-4c1a-8f39-e89eaa8596aa", + "x-ms-routing-request-id": "WESTUS2:20210712T032451Z:24203f4d-bb95-4c1a-8f39-e89eaa8596aa" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "\u0027/providers/Microsoft.Management/managementGroups/mgmt-group-8650\u0027 not found", + "details": null + } + } + } + ], + "Variables": { + "RandomSeed": "504366198", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Get.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Get.json new file mode 100644 index 000000000000..4ea61746d755 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Get.json @@ -0,0 +1,104 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "71cc022a5f59a68b177345e336d3d7b0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:17:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8223183f-7b89-4bf3-97a8-ebf277091dec", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "8223183f-7b89-4bf3-97a8-ebf277091dec", + "x-ms-routing-request-id": "WESTUS2:20210712T031704Z:8223183f-7b89-4bf3-97a8-ebf277091dec" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-cd9b1b81d4d19d4ba22aadb1b6d6d1b9-d224f468fd936942-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3d55b5d74f64f23d890c4314438e371b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "c95d541a-00db-4b93-a07d-fbbad0d776f7", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:17:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "c95d541a-00db-4b93-a07d-fbbad0d776f7", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c95d541a-00db-4b93-a07d-fbbad0d776f7", + "x-ms-ratelimit-remaining-tenant-reads": "11871", + "x-ms-request-id": "westus2:c95d541a-00db-4b93-a07d-fbbad0d776f7", + "x-ms-routing-request-id": "WESTUS2:20210712T031705Z:c95d541a-00db-4b93-a07d-fbbad0d776f7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-4740", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-4740", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-4740", + "details": { + "version": 2, + "updatedTime": "2021-07-12T03:14:51.4974337Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "1839838992", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetAsync.json new file mode 100644 index 000000000000..58199a6c3425 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetAsync.json @@ -0,0 +1,104 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "eaa50d54ba6732b7f06c5007cb26223d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4678cbd3-5c70-4ab6-815e-953a27027ebe", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "4678cbd3-5c70-4ab6-815e-953a27027ebe", + "x-ms-routing-request-id": "WESTUS2:20210712T032451Z:4678cbd3-5c70-4ab6-815e-953a27027ebe" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1efe3570c23bc04684957701cf56946e-7fe6a40ce948674c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4fb7085f14561b8c360e2db7da4e200e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "71afcaa1-a895-44a2-9a37-8e4621e79507", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:24:51 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "71afcaa1-a895-44a2-9a37-8e4621e79507", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "71afcaa1-a895-44a2-9a37-8e4621e79507", + "x-ms-ratelimit-remaining-tenant-reads": "11947", + "x-ms-request-id": "westus2:71afcaa1-a895-44a2-9a37-8e4621e79507", + "x-ms-routing-request-id": "WESTUS2:20210712T032451Z:71afcaa1-a895-44a2-9a37-8e4621e79507" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-3600", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-3600", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-3600", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:24:02.7641993Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "915105786", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetDescendants.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetDescendants.json new file mode 100644 index 000000000000..f32ac981e459 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetDescendants.json @@ -0,0 +1,140 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9869a49c586a15b88899d9a3c386e0c5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "10f546ff-9004-48c9-b230-68e6611f5039", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "10f546ff-9004-48c9-b230-68e6611f5039", + "x-ms-routing-request-id": "WESTUS2:20210712T033632Z:10f546ff-9004-48c9-b230-68e6611f5039" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-196130152d86f34b96994494fb4e37ba-9921b0f9a09d1147-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7629c78a206c54a0639dc7a5673a1d74", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "8e684a98-ef60-41d8-ab24-7d3e6746d059", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "8e684a98-ef60-41d8-ab24-7d3e6746d059", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8e684a98-ef60-41d8-ab24-7d3e6746d059", + "x-ms-ratelimit-remaining-tenant-reads": "11976", + "x-ms-request-id": "westus2:8e684a98-ef60-41d8-ab24-7d3e6746d059", + "x-ms-routing-request-id": "WESTUS2:20210712T033632Z:8e684a98-ef60-41d8-ab24-7d3e6746d059" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-4740", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-4740", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-4740", + "details": { + "version": 8, + "updatedTime": "2021-07-12T03:36:16.4435272Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-4740/descendants?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-f83d88b5850e394ba4fbe2a52145a1db-fa1619f59fb09e42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "badd213b4e24ab4f8023fe6d69b2d152", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "c9a5d487-05a2-4415-821e-24c6814575e4", + "Content-Length": "12", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "c9a5d487-05a2-4415-821e-24c6814575e4", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c9a5d487-05a2-4415-821e-24c6814575e4", + "x-ms-ratelimit-remaining-managementgroups-requests": "599", + "x-ms-ratelimit-remaining-tenant-reads": "11975", + "x-ms-request-id": "westus2:c9a5d487-05a2-4415-821e-24c6814575e4", + "x-ms-routing-request-id": "WESTUS2:20210712T033632Z:c9a5d487-05a2-4415-821e-24c6814575e4" + }, + "ResponseBody": { + "value": [] + } + } + ], + "Variables": { + "RandomSeed": "500404869", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetDescendantsAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetDescendantsAsync.json new file mode 100644 index 000000000000..f557a4b17a2b --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/GetDescendantsAsync.json @@ -0,0 +1,140 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8655a825f295a5a6aa34d06ad134701e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3f166df7-3bd0-404e-9f30-72e1ccd8ade0", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "3f166df7-3bd0-404e-9f30-72e1ccd8ade0", + "x-ms-routing-request-id": "WESTUS2:20210712T033713Z:3f166df7-3bd0-404e-9f30-72e1ccd8ade0" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-e206b79593ef0b4495d7f4bb3e396394-6d924e9005e0bd47-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "91f3834473c8b607142c545fa2b108f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "64f1b5d5-201b-4e79-a7ec-dacef606f593", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "64f1b5d5-201b-4e79-a7ec-dacef606f593", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "64f1b5d5-201b-4e79-a7ec-dacef606f593", + "x-ms-ratelimit-remaining-tenant-reads": "11975", + "x-ms-request-id": "westus2:64f1b5d5-201b-4e79-a7ec-dacef606f593", + "x-ms-routing-request-id": "WESTUS2:20210712T033714Z:64f1b5d5-201b-4e79-a7ec-dacef606f593" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-3600", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-3600", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-3600", + "details": { + "version": 3, + "updatedTime": "2021-07-12T03:36:54.9243033Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-3600/descendants?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-80011f1eb1bee2489a05b8a532d287ee-21ce986c92c81841-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6dceded636eb8055136143d6d7745808", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "7934c449-920b-4a02-a997-7d3d58973e32", + "Content-Length": "12", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "7934c449-920b-4a02-a997-7d3d58973e32", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7934c449-920b-4a02-a997-7d3d58973e32", + "x-ms-ratelimit-remaining-managementgroups-requests": "599", + "x-ms-ratelimit-remaining-tenant-reads": "11974", + "x-ms-request-id": "westus2:7934c449-920b-4a02-a997-7d3d58973e32", + "x-ms-routing-request-id": "WESTUS2:20210712T033714Z:7934c449-920b-4a02-a997-7d3d58973e32" + }, + "ResponseBody": { + "value": [] + } + } + ], + "Variables": { + "RandomSeed": "1910427064", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/ManagementGroupOperationsTests(False).json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/ManagementGroupOperationsTests(False).json new file mode 100644 index 000000000000..5131c70499f2 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/ManagementGroupOperationsTests(False).json @@ -0,0 +1,1024 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8909a4b24b6642f33d8b067ec711c5fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7bf1bef2-3c9d-4fff-950f-5e1a147d6532", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "7bf1bef2-3c9d-4fff-950f-5e1a147d6532", + "x-ms-routing-request-id": "WESTUS2:20210712T033608Z:7bf1bef2-3c9d-4fff-950f-5e1a147d6532" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-f8b1e47b31e4e643-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fe513e610b91eed9620d697197f107a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "30761af1-fcd0-49c2-83ed-faf361ece540", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "30761af1-fcd0-49c2-83ed-faf361ece540", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "30761af1-fcd0-49c2-83ed-faf361ece540", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-writes": "1199", + "x-ms-request-id": "westus2:30761af1-fcd0-49c2-83ed-faf361ece540", + "x-ms-routing-request-id": "WESTUS2:20210712T033608Z:30761af1-fcd0-49c2-83ed-faf361ece540" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-4740", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-4740", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-8108c417c230b142-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "de5548df10799920309b033d8ad0a59a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "92af688f-793c-42c0-8c45-3c7b254ef76b", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "92af688f-793c-42c0-8c45-3c7b254ef76b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "92af688f-793c-42c0-8c45-3c7b254ef76b", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "westus2:92af688f-793c-42c0-8c45-3c7b254ef76b", + "x-ms-routing-request-id": "WESTUS2:20210712T033609Z:92af688f-793c-42c0-8c45-3c7b254ef76b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-a80ebab3492a874a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6f16d5ff9ec1d3e2161b07acec57e2a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e126b7d0-8566-49cf-891f-5c58772e3553", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e126b7d0-8566-49cf-891f-5c58772e3553", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e126b7d0-8566-49cf-891f-5c58772e3553", + "x-ms-ratelimit-remaining-tenant-reads": "11998", + "x-ms-request-id": "westus2:e126b7d0-8566-49cf-891f-5c58772e3553", + "x-ms-routing-request-id": "WESTUS2:20210712T033610Z:e126b7d0-8566-49cf-891f-5c58772e3553" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-2f993b9db878f347-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4f9222a1289ba12f81692df58aeaab26", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "64c8de01-4807-4fe5-acb7-514e0a6474bf", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "64c8de01-4807-4fe5-acb7-514e0a6474bf", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "64c8de01-4807-4fe5-acb7-514e0a6474bf", + "x-ms-ratelimit-remaining-tenant-reads": "11997", + "x-ms-request-id": "westus2:64c8de01-4807-4fe5-acb7-514e0a6474bf", + "x-ms-routing-request-id": "WESTUS2:20210712T033611Z:64c8de01-4807-4fe5-acb7-514e0a6474bf" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-f524b80d05585742-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3782843ffca941846681c75e0873acd8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e76e4584-f14c-4c86-9352-09a567ad9f0a", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e76e4584-f14c-4c86-9352-09a567ad9f0a", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e76e4584-f14c-4c86-9352-09a567ad9f0a", + "x-ms-ratelimit-remaining-tenant-reads": "11996", + "x-ms-request-id": "westus2:e76e4584-f14c-4c86-9352-09a567ad9f0a", + "x-ms-routing-request-id": "WESTUS2:20210712T033612Z:e76e4584-f14c-4c86-9352-09a567ad9f0a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-e74fd6e1a54ecf40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "679c60b8563dd6ffa674ee5770ed482b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b5b19877-f557-4557-812b-6737f8b8f07f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b5b19877-f557-4557-812b-6737f8b8f07f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b5b19877-f557-4557-812b-6737f8b8f07f", + "x-ms-ratelimit-remaining-tenant-reads": "11995", + "x-ms-request-id": "westus2:b5b19877-f557-4557-812b-6737f8b8f07f", + "x-ms-routing-request-id": "WESTUS2:20210712T033613Z:b5b19877-f557-4557-812b-6737f8b8f07f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-298754822a9be448-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "686de070abd5a4f99e51e91961d0980d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "95411855-0510-4d35-bd86-1d82b4d0cb3c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "95411855-0510-4d35-bd86-1d82b4d0cb3c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "95411855-0510-4d35-bd86-1d82b4d0cb3c", + "x-ms-ratelimit-remaining-tenant-reads": "11994", + "x-ms-request-id": "westus2:95411855-0510-4d35-bd86-1d82b4d0cb3c", + "x-ms-routing-request-id": "WESTUS2:20210712T033614Z:95411855-0510-4d35-bd86-1d82b4d0cb3c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-20f12f12e17a084d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2a3d54bd434ee9e885ab90340e2cd078", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e5724986-a8ea-412e-8280-0f8ce692073b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:15 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e5724986-a8ea-412e-8280-0f8ce692073b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e5724986-a8ea-412e-8280-0f8ce692073b", + "x-ms-ratelimit-remaining-tenant-reads": "11993", + "x-ms-request-id": "westus2:e5724986-a8ea-412e-8280-0f8ce692073b", + "x-ms-routing-request-id": "WESTUS2:20210712T033615Z:e5724986-a8ea-412e-8280-0f8ce692073b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-4a7dbe2c450bbd4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "28ee9c3944060c0366f8c8ec6de575d5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2e108b74-17f7-4cab-9973-461d1434da0b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2e108b74-17f7-4cab-9973-461d1434da0b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2e108b74-17f7-4cab-9973-461d1434da0b", + "x-ms-ratelimit-remaining-tenant-reads": "11992", + "x-ms-request-id": "westus2:2e108b74-17f7-4cab-9973-461d1434da0b", + "x-ms-routing-request-id": "WESTUS2:20210712T033617Z:2e108b74-17f7-4cab-9973-461d1434da0b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-c5e2af9474c2944b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1b9ae0dc1eaf2cddf783e3291ac49572", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0ffd9a02-a2e1-4dc0-b37f-2d3b0dca561f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0ffd9a02-a2e1-4dc0-b37f-2d3b0dca561f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0ffd9a02-a2e1-4dc0-b37f-2d3b0dca561f", + "x-ms-ratelimit-remaining-tenant-reads": "11991", + "x-ms-request-id": "westus2:0ffd9a02-a2e1-4dc0-b37f-2d3b0dca561f", + "x-ms-routing-request-id": "WESTUS2:20210712T033618Z:0ffd9a02-a2e1-4dc0-b37f-2d3b0dca561f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-3fee344b4a97bf47-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c5e0708070e278065130c3557afc7c9f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "140e6b37-d5ff-4493-b444-a4d4fb22b40f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "140e6b37-d5ff-4493-b444-a4d4fb22b40f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "140e6b37-d5ff-4493-b444-a4d4fb22b40f", + "x-ms-ratelimit-remaining-tenant-reads": "11990", + "x-ms-request-id": "westus2:140e6b37-d5ff-4493-b444-a4d4fb22b40f", + "x-ms-routing-request-id": "WESTUS2:20210712T033619Z:140e6b37-d5ff-4493-b444-a4d4fb22b40f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-8f5849b645bd7f43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2e58bb36b5911ac9bec1308361d9f2a2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "be05a61c-3510-49f2-aeb2-1df2d5c8dcd8", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:19 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "be05a61c-3510-49f2-aeb2-1df2d5c8dcd8", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "be05a61c-3510-49f2-aeb2-1df2d5c8dcd8", + "x-ms-ratelimit-remaining-tenant-reads": "11989", + "x-ms-request-id": "westus2:be05a61c-3510-49f2-aeb2-1df2d5c8dcd8", + "x-ms-routing-request-id": "WESTUS2:20210712T033620Z:be05a61c-3510-49f2-aeb2-1df2d5c8dcd8" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-97e2c1c8669c454b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fc6b5662b0056bf2d922ca7f5a88b1fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "660a38ed-87b8-48b1-a4dc-15ae4701f065", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:20 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "660a38ed-87b8-48b1-a4dc-15ae4701f065", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "660a38ed-87b8-48b1-a4dc-15ae4701f065", + "x-ms-ratelimit-remaining-tenant-reads": "11988", + "x-ms-request-id": "westus2:660a38ed-87b8-48b1-a4dc-15ae4701f065", + "x-ms-routing-request-id": "WESTUS2:20210712T033621Z:660a38ed-87b8-48b1-a4dc-15ae4701f065" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-e561ec13c98f8f4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5ef34307676bcbe0a7c5062040831777", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "6edc38b8-9313-4db6-8616-e1403eada561", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "6edc38b8-9313-4db6-8616-e1403eada561", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6edc38b8-9313-4db6-8616-e1403eada561", + "x-ms-ratelimit-remaining-tenant-reads": "11987", + "x-ms-request-id": "westus2:6edc38b8-9313-4db6-8616-e1403eada561", + "x-ms-routing-request-id": "WESTUS2:20210712T033622Z:6edc38b8-9313-4db6-8616-e1403eada561" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-36a3bfad38661840-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "24f2213e7f91859ac9ed546fea49bf36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f416ab10-0a64-4de1-8e27-a398f2cacafc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f416ab10-0a64-4de1-8e27-a398f2cacafc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f416ab10-0a64-4de1-8e27-a398f2cacafc", + "x-ms-ratelimit-remaining-tenant-reads": "11986", + "x-ms-request-id": "westus2:f416ab10-0a64-4de1-8e27-a398f2cacafc", + "x-ms-routing-request-id": "WESTUS2:20210712T033623Z:f416ab10-0a64-4de1-8e27-a398f2cacafc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-ffbbd164daf20745-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1d7b341093e6fb36769f553fa9d12b55", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "6fc0149d-4cf5-4490-bdf7-8e16bd6cd597", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:24 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "6fc0149d-4cf5-4490-bdf7-8e16bd6cd597", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6fc0149d-4cf5-4490-bdf7-8e16bd6cd597", + "x-ms-ratelimit-remaining-tenant-reads": "11985", + "x-ms-request-id": "westus2:6fc0149d-4cf5-4490-bdf7-8e16bd6cd597", + "x-ms-routing-request-id": "WESTUS2:20210712T033624Z:6fc0149d-4cf5-4490-bdf7-8e16bd6cd597" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-14832ac4285ce24c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3941520b8d95876aa96d957e1371e05d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "97319b09-eb51-4c1d-a597-1c5d9d53c560", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:25 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "97319b09-eb51-4c1d-a597-1c5d9d53c560", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "97319b09-eb51-4c1d-a597-1c5d9d53c560", + "x-ms-ratelimit-remaining-tenant-reads": "11984", + "x-ms-request-id": "westus2:97319b09-eb51-4c1d-a597-1c5d9d53c560", + "x-ms-routing-request-id": "WESTUS2:20210712T033626Z:97319b09-eb51-4c1d-a597-1c5d9d53c560" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-69a5aca2f8ba9440-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0b10d005f907aa91eaf7aef1295adcf8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a2f375eb-54e9-462d-a277-368e505d2463", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:26 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a2f375eb-54e9-462d-a277-368e505d2463", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a2f375eb-54e9-462d-a277-368e505d2463", + "x-ms-ratelimit-remaining-tenant-reads": "11983", + "x-ms-request-id": "westus2:a2f375eb-54e9-462d-a277-368e505d2463", + "x-ms-routing-request-id": "WESTUS2:20210712T033627Z:a2f375eb-54e9-462d-a277-368e505d2463" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-e10b8469a3ebe64c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9864fec1860783a0caf47478feb8e805", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1e6fcb3b-0a3c-49b8-9ccb-cdca3d4106cc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1e6fcb3b-0a3c-49b8-9ccb-cdca3d4106cc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1e6fcb3b-0a3c-49b8-9ccb-cdca3d4106cc", + "x-ms-ratelimit-remaining-tenant-reads": "11982", + "x-ms-request-id": "westus2:1e6fcb3b-0a3c-49b8-9ccb-cdca3d4106cc", + "x-ms-routing-request-id": "WESTUS2:20210712T033628Z:1e6fcb3b-0a3c-49b8-9ccb-cdca3d4106cc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-e56d925870f65b48-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d839f8be20c0114dc1964f9edf785d4e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c9533973-7488-4d1a-be2d-7e8436fd6951", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:28 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c9533973-7488-4d1a-be2d-7e8436fd6951", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c9533973-7488-4d1a-be2d-7e8436fd6951", + "x-ms-ratelimit-remaining-tenant-reads": "11981", + "x-ms-request-id": "westus2:c9533973-7488-4d1a-be2d-7e8436fd6951", + "x-ms-routing-request-id": "WESTUS2:20210712T033629Z:c9533973-7488-4d1a-be2d-7e8436fd6951" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-fda5575dd8aeaa4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "14bc9d91480c7f55308d40138419ac31", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "413bbd12-793c-46f8-b57e-8ffeb21a2b7d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "413bbd12-793c-46f8-b57e-8ffeb21a2b7d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "413bbd12-793c-46f8-b57e-8ffeb21a2b7d", + "x-ms-ratelimit-remaining-tenant-reads": "11980", + "x-ms-request-id": "westus2:413bbd12-793c-46f8-b57e-8ffeb21a2b7d", + "x-ms-routing-request-id": "WESTUS2:20210712T033630Z:413bbd12-793c-46f8-b57e-8ffeb21a2b7d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-11ac4599ae05594f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3132a90f0321a137b052d6703602a452", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "9be1ed96-17a9-40e5-b913-13ca8ba4b8b6", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "9be1ed96-17a9-40e5-b913-13ca8ba4b8b6", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9be1ed96-17a9-40e5-b913-13ca8ba4b8b6", + "x-ms-ratelimit-remaining-tenant-reads": "11979", + "x-ms-request-id": "westus2:9be1ed96-17a9-40e5-b913-13ca8ba4b8b6", + "x-ms-routing-request-id": "WESTUS2:20210712T033631Z:9be1ed96-17a9-40e5-b913-13ca8ba4b8b6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-4740", + "name": "mgmt-group-4740", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-4740", + "details": { + "version": 8, + "updatedTime": "2021-07-12T03:36:16.4435272Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-de1c2bfec1d40745b6678aa21f904f53-24bfc96549ed0540-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "60e62696d3fc75f8a2b9a833df3a8ca8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "cf0c222f-5140-4ae9-a7e3-776a7a6aa3b3", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "cf0c222f-5140-4ae9-a7e3-776a7a6aa3b3", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cf0c222f-5140-4ae9-a7e3-776a7a6aa3b3", + "x-ms-ratelimit-remaining-tenant-reads": "11978", + "x-ms-request-id": "westus2:cf0c222f-5140-4ae9-a7e3-776a7a6aa3b3", + "x-ms-routing-request-id": "WESTUS2:20210712T033631Z:cf0c222f-5140-4ae9-a7e3-776a7a6aa3b3" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-4740", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-4740", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-4740", + "details": { + "version": 8, + "updatedTime": "2021-07-12T03:36:16.4435272Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-4740?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-20dc9375eee749428e981adbec4adc3f-1b06b2bac2ab8b40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "368f1dea2c458e2c661a64b972e4492e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "bea5c815-5e8d-42a6-ae1c-7a465d5dc9e5", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "bea5c815-5e8d-42a6-ae1c-7a465d5dc9e5", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bea5c815-5e8d-42a6-ae1c-7a465d5dc9e5", + "x-ms-ratelimit-remaining-tenant-reads": "11977", + "x-ms-request-id": "westus2:bea5c815-5e8d-42a6-ae1c-7a465d5dc9e5", + "x-ms-routing-request-id": "WESTUS2:20210712T033632Z:bea5c815-5e8d-42a6-ae1c-7a465d5dc9e5" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-4740", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-4740", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-4740", + "details": { + "version": 8, + "updatedTime": "2021-07-12T03:36:16.4435272Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "1031477050", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/ManagementGroupOperationsTests(True)Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/ManagementGroupOperationsTests(True)Async.json new file mode 100644 index 000000000000..0a2a56054a8c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/ManagementGroupOperationsTests(True)Async.json @@ -0,0 +1,1063 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f9f304512a7d535a8048bfe98fc08535", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:47 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ecd7b664-8c13-4dff-94cb-5ec6cde3d058", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "ecd7b664-8c13-4dff-94cb-5ec6cde3d058", + "x-ms-routing-request-id": "WESTUS2:20210712T033648Z:ecd7b664-8c13-4dff-94cb-5ec6cde3d058" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-5a57d875f5c3dc40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b023f1de19193a57742fefd8415c334c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e29162fe-361a-4063-beec-466e0c0d89de", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e29162fe-361a-4063-beec-466e0c0d89de", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e29162fe-361a-4063-beec-466e0c0d89de", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-writes": "1199", + "x-ms-request-id": "westus2:e29162fe-361a-4063-beec-466e0c0d89de", + "x-ms-routing-request-id": "WESTUS2:20210712T033649Z:e29162fe-361a-4063-beec-466e0c0d89de" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-3600", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-3600", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-e43ae2c330926647-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "85bf66ac755aeb379cbf08fb6b7a3eeb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "8ec86c4d-93b7-4422-80f9-2ae6f87298d4", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "8ec86c4d-93b7-4422-80f9-2ae6f87298d4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8ec86c4d-93b7-4422-80f9-2ae6f87298d4", + "x-ms-ratelimit-remaining-tenant-reads": "11999", + "x-ms-request-id": "westus2:8ec86c4d-93b7-4422-80f9-2ae6f87298d4", + "x-ms-routing-request-id": "WESTUS2:20210712T033649Z:8ec86c4d-93b7-4422-80f9-2ae6f87298d4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-bec810899b495f4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ff689c8cfddc3009bcc063065b97ae9a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "583ebff9-b767-4517-bc3a-24e2bac424b4", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "583ebff9-b767-4517-bc3a-24e2bac424b4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "583ebff9-b767-4517-bc3a-24e2bac424b4", + "x-ms-ratelimit-remaining-tenant-reads": "11998", + "x-ms-request-id": "westus2:583ebff9-b767-4517-bc3a-24e2bac424b4", + "x-ms-routing-request-id": "WESTUS2:20210712T033650Z:583ebff9-b767-4517-bc3a-24e2bac424b4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-5ad751d15a582a48-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "da2cc7acae9db0f289bd9b6ba438f7d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2adc0939-5f27-4fb5-bc49-f1ed3ea468bb", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2adc0939-5f27-4fb5-bc49-f1ed3ea468bb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2adc0939-5f27-4fb5-bc49-f1ed3ea468bb", + "x-ms-ratelimit-remaining-tenant-reads": "11997", + "x-ms-request-id": "westus2:2adc0939-5f27-4fb5-bc49-f1ed3ea468bb", + "x-ms-routing-request-id": "WESTUS2:20210712T033651Z:2adc0939-5f27-4fb5-bc49-f1ed3ea468bb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-8b8151bc494cc247-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ef34d1d48370ae4c5c8ec89911308f05", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f4f5b122-572b-487c-a231-6f74af9b6498", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f4f5b122-572b-487c-a231-6f74af9b6498", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f4f5b122-572b-487c-a231-6f74af9b6498", + "x-ms-ratelimit-remaining-tenant-reads": "11996", + "x-ms-request-id": "westus2:f4f5b122-572b-487c-a231-6f74af9b6498", + "x-ms-routing-request-id": "WESTUS2:20210712T033652Z:f4f5b122-572b-487c-a231-6f74af9b6498" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-e84a4fa556a57b46-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a44f6d11634ede4eaab7751e619e8c84", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "4b1547f1-5f48-4115-a57c-c280ba82b115", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:52 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "4b1547f1-5f48-4115-a57c-c280ba82b115", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4b1547f1-5f48-4115-a57c-c280ba82b115", + "x-ms-ratelimit-remaining-tenant-reads": "11995", + "x-ms-request-id": "westus2:4b1547f1-5f48-4115-a57c-c280ba82b115", + "x-ms-routing-request-id": "WESTUS2:20210712T033653Z:4b1547f1-5f48-4115-a57c-c280ba82b115" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-e2abbdaad6da1340-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "893292c8be62282a7a7d7e0ee5589f59", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3dfb8202-f80b-4607-8f16-ea81585b78fa", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:54 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3dfb8202-f80b-4607-8f16-ea81585b78fa", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3dfb8202-f80b-4607-8f16-ea81585b78fa", + "x-ms-ratelimit-remaining-tenant-reads": "11994", + "x-ms-request-id": "westus2:3dfb8202-f80b-4607-8f16-ea81585b78fa", + "x-ms-routing-request-id": "WESTUS2:20210712T033655Z:3dfb8202-f80b-4607-8f16-ea81585b78fa" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-dbdfdd728572244d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "365a962e53e97083825644b80e2d4dbe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "efdcf2d2-d0c8-4ef6-a639-9a43efd96e65", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:56 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "efdcf2d2-d0c8-4ef6-a639-9a43efd96e65", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "efdcf2d2-d0c8-4ef6-a639-9a43efd96e65", + "x-ms-ratelimit-remaining-tenant-reads": "11993", + "x-ms-request-id": "westus2:efdcf2d2-d0c8-4ef6-a639-9a43efd96e65", + "x-ms-routing-request-id": "WESTUS2:20210712T033656Z:efdcf2d2-d0c8-4ef6-a639-9a43efd96e65" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-be25571d22e9c247-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7fd1440205fd52a2432629d0e540f852", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "184470b0-ff66-4038-bbe7-922daeda8635", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:57 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "184470b0-ff66-4038-bbe7-922daeda8635", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "184470b0-ff66-4038-bbe7-922daeda8635", + "x-ms-ratelimit-remaining-tenant-reads": "11992", + "x-ms-request-id": "westus2:184470b0-ff66-4038-bbe7-922daeda8635", + "x-ms-routing-request-id": "WESTUS2:20210712T033657Z:184470b0-ff66-4038-bbe7-922daeda8635" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-44e424dc92202242-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "caf01c185544759a0ec2070c7a711a4d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "087d6197-6472-48c4-aaea-7188850ac842", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "087d6197-6472-48c4-aaea-7188850ac842", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "087d6197-6472-48c4-aaea-7188850ac842", + "x-ms-ratelimit-remaining-tenant-reads": "11991", + "x-ms-request-id": "westus2:087d6197-6472-48c4-aaea-7188850ac842", + "x-ms-routing-request-id": "WESTUS2:20210712T033658Z:087d6197-6472-48c4-aaea-7188850ac842" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-8dd0101b36f5ad42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a10cc0301f87285bf408f3c32ab28a42", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "36341e99-1d17-4197-9166-63d5f24e4f2d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:36:59 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "36341e99-1d17-4197-9166-63d5f24e4f2d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "36341e99-1d17-4197-9166-63d5f24e4f2d", + "x-ms-ratelimit-remaining-tenant-reads": "11990", + "x-ms-request-id": "westus2:36341e99-1d17-4197-9166-63d5f24e4f2d", + "x-ms-routing-request-id": "WESTUS2:20210712T033659Z:36341e99-1d17-4197-9166-63d5f24e4f2d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-9000e812083ffe4c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f29ff15d823cac79aa5b713bfe96d7d2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ba1db084-a666-4115-ba58-dc584ad79e8e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ba1db084-a666-4115-ba58-dc584ad79e8e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ba1db084-a666-4115-ba58-dc584ad79e8e", + "x-ms-ratelimit-remaining-tenant-reads": "11989", + "x-ms-request-id": "westus2:ba1db084-a666-4115-ba58-dc584ad79e8e", + "x-ms-routing-request-id": "WESTUS2:20210712T033700Z:ba1db084-a666-4115-ba58-dc584ad79e8e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-973b3f68e3485341-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "25a0db0c5733f9cbc0c7d63c61d64b5b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "69fe0b8a-ebf7-4059-a4de-51c311f67573", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "69fe0b8a-ebf7-4059-a4de-51c311f67573", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "69fe0b8a-ebf7-4059-a4de-51c311f67573", + "x-ms-ratelimit-remaining-tenant-reads": "11988", + "x-ms-request-id": "westus2:69fe0b8a-ebf7-4059-a4de-51c311f67573", + "x-ms-routing-request-id": "WESTUS2:20210712T033701Z:69fe0b8a-ebf7-4059-a4de-51c311f67573" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-d610c3a6bebba64d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "89aec43727d1ae104660f72bae1f2a5e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "66852090-bd8f-4da0-89d8-e5dc928a901a", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "66852090-bd8f-4da0-89d8-e5dc928a901a", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "66852090-bd8f-4da0-89d8-e5dc928a901a", + "x-ms-ratelimit-remaining-tenant-reads": "11987", + "x-ms-request-id": "westus2:66852090-bd8f-4da0-89d8-e5dc928a901a", + "x-ms-routing-request-id": "WESTUS2:20210712T033702Z:66852090-bd8f-4da0-89d8-e5dc928a901a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-6e209564d8ec9a46-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4eb621306512060f25a63175ab3d4ad3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b59b3145-e6cb-4bb1-a4e3-8274836c9541", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:03 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b59b3145-e6cb-4bb1-a4e3-8274836c9541", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b59b3145-e6cb-4bb1-a4e3-8274836c9541", + "x-ms-ratelimit-remaining-tenant-reads": "11986", + "x-ms-request-id": "westus2:b59b3145-e6cb-4bb1-a4e3-8274836c9541", + "x-ms-routing-request-id": "WESTUS2:20210712T033704Z:b59b3145-e6cb-4bb1-a4e3-8274836c9541" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-025d2b89eadfbf42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3a0315104de7e400caf1dfd3609f4ba1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5e193f1f-e78b-474b-917b-95429d29f94f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:04 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5e193f1f-e78b-474b-917b-95429d29f94f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5e193f1f-e78b-474b-917b-95429d29f94f", + "x-ms-ratelimit-remaining-tenant-reads": "11985", + "x-ms-request-id": "westus2:5e193f1f-e78b-474b-917b-95429d29f94f", + "x-ms-routing-request-id": "WESTUS2:20210712T033705Z:5e193f1f-e78b-474b-917b-95429d29f94f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-7443dac21b591440-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "400b789dfc20d249b5a7632bf69b0308", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2ebb0fca-5465-4863-964d-875a9a1e88f5", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2ebb0fca-5465-4863-964d-875a9a1e88f5", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2ebb0fca-5465-4863-964d-875a9a1e88f5", + "x-ms-ratelimit-remaining-tenant-reads": "11984", + "x-ms-request-id": "westus2:2ebb0fca-5465-4863-964d-875a9a1e88f5", + "x-ms-routing-request-id": "WESTUS2:20210712T033706Z:2ebb0fca-5465-4863-964d-875a9a1e88f5" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-23dc74509557f547-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "981b2315f01ce37621d28321863ca686", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b2bde131-86b2-4e9a-b5a7-c422a04ba55b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b2bde131-86b2-4e9a-b5a7-c422a04ba55b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b2bde131-86b2-4e9a-b5a7-c422a04ba55b", + "x-ms-ratelimit-remaining-tenant-reads": "11983", + "x-ms-request-id": "westus2:b2bde131-86b2-4e9a-b5a7-c422a04ba55b", + "x-ms-routing-request-id": "WESTUS2:20210712T033707Z:b2bde131-86b2-4e9a-b5a7-c422a04ba55b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-403ba456c6c15a4c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "32d7905a0a3213b3cb318440ead4ed2f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "fcc44bec-affc-4814-af14-5b8958b4ed1c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "fcc44bec-affc-4814-af14-5b8958b4ed1c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fcc44bec-affc-4814-af14-5b8958b4ed1c", + "x-ms-ratelimit-remaining-tenant-reads": "11982", + "x-ms-request-id": "westus2:fcc44bec-affc-4814-af14-5b8958b4ed1c", + "x-ms-routing-request-id": "WESTUS2:20210712T033708Z:fcc44bec-affc-4814-af14-5b8958b4ed1c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-2f2ca16b8d45ac45-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3cbed6eeb284ad8402281f4d79274b79", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "8b30f352-df7b-4df3-a4fa-4f161b6c1628", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "8b30f352-df7b-4df3-a4fa-4f161b6c1628", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8b30f352-df7b-4df3-a4fa-4f161b6c1628", + "x-ms-ratelimit-remaining-tenant-reads": "11981", + "x-ms-request-id": "westus2:8b30f352-df7b-4df3-a4fa-4f161b6c1628", + "x-ms-routing-request-id": "WESTUS2:20210712T033709Z:8b30f352-df7b-4df3-a4fa-4f161b6c1628" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-87d9453805973e4c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "66d0dd01d0c30bd57007cdea6b36f84c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e32debca-7696-4139-b6ab-8d7a7ff9d608", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e32debca-7696-4139-b6ab-8d7a7ff9d608", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e32debca-7696-4139-b6ab-8d7a7ff9d608", + "x-ms-ratelimit-remaining-tenant-reads": "11980", + "x-ms-request-id": "westus2:e32debca-7696-4139-b6ab-8d7a7ff9d608", + "x-ms-routing-request-id": "WESTUS2:20210712T033710Z:e32debca-7696-4139-b6ab-8d7a7ff9d608" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-225205891d176a49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "af3354e46a7da8010b2a300aea6599a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5ebd7c57-b564-4e5a-ac79-218f666900bd", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5ebd7c57-b564-4e5a-ac79-218f666900bd", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5ebd7c57-b564-4e5a-ac79-218f666900bd", + "x-ms-ratelimit-remaining-tenant-reads": "11979", + "x-ms-request-id": "westus2:5ebd7c57-b564-4e5a-ac79-218f666900bd", + "x-ms-routing-request-id": "WESTUS2:20210712T033711Z:5ebd7c57-b564-4e5a-ac79-218f666900bd" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-f7ccd7f10fe56e4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0c3f0be587031d6b01b3cb7de59a42cc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "6627bd10-ef95-4a7d-aa3e-2375573d3513", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "6627bd10-ef95-4a7d-aa3e-2375573d3513", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6627bd10-ef95-4a7d-aa3e-2375573d3513", + "x-ms-ratelimit-remaining-tenant-reads": "11978", + "x-ms-request-id": "westus2:6627bd10-ef95-4a7d-aa3e-2375573d3513", + "x-ms-routing-request-id": "WESTUS2:20210712T033713Z:6627bd10-ef95-4a7d-aa3e-2375573d3513" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-3600", + "name": "mgmt-group-3600", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-3600", + "details": { + "version": 3, + "updatedTime": "2021-07-12T03:36:54.9243033Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-95c6cbf556acd947930522ce1f31b092-72a88d5b723bc34f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2569d32f9cf496fbdc285b99a0ca200a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "96ad3ff8-4d8d-4f95-9e6e-1bbfa078a0ee", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "96ad3ff8-4d8d-4f95-9e6e-1bbfa078a0ee", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "96ad3ff8-4d8d-4f95-9e6e-1bbfa078a0ee", + "x-ms-ratelimit-remaining-tenant-reads": "11977", + "x-ms-request-id": "westus2:96ad3ff8-4d8d-4f95-9e6e-1bbfa078a0ee", + "x-ms-routing-request-id": "WESTUS2:20210712T033713Z:96ad3ff8-4d8d-4f95-9e6e-1bbfa078a0ee" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-3600", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-3600", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-3600", + "details": { + "version": 3, + "updatedTime": "2021-07-12T03:36:54.9243033Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-3600?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-3b3cd25f1dbc5a40a01accb65478d6ef-c3263933cde5674e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5f04296debf75d48e815aeca9e84c271", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "1969ccd9-bd8b-469d-abb8-07ac62f88163", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:37:13 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "1969ccd9-bd8b-469d-abb8-07ac62f88163", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1969ccd9-bd8b-469d-abb8-07ac62f88163", + "x-ms-ratelimit-remaining-tenant-reads": "11976", + "x-ms-request-id": "westus2:1969ccd9-bd8b-469d-abb8-07ac62f88163", + "x-ms-routing-request-id": "WESTUS2:20210712T033713Z:1969ccd9-bd8b-469d-abb8-07ac62f88163" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-3600", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-3600", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-3600", + "details": { + "version": 3, + "updatedTime": "2021-07-12T03:36:54.9243033Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "662869031", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/StartDelete.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/StartDelete.json new file mode 100644 index 000000000000..cc35566f5204 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/StartDelete.json @@ -0,0 +1,1545 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "81b141862435409c915a1d937c980ec0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:34 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c103c59a-7718-4243-99cc-648b7ef78c6a", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "c103c59a-7718-4243-99cc-648b7ef78c6a", + "x-ms-routing-request-id": "WESTUS2:20210712T031935Z:c103c59a-7718-4243-99cc-648b7ef78c6a" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-e1f69b467462c54b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "facde556a779c07b4d6ca7f72267a63a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b5d8dcae-8df1-441f-a15a-38c8c2203a33", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b5d8dcae-8df1-441f-a15a-38c8c2203a33", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b5d8dcae-8df1-441f-a15a-38c8c2203a33", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:b5d8dcae-8df1-441f-a15a-38c8c2203a33", + "x-ms-routing-request-id": "WESTUS2:20210712T031935Z:b5d8dcae-8df1-441f-a15a-38c8c2203a33" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-9226", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-9226", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-18174df991402443-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a2c222aac4d1990c36c0e7b8f4496ff3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2e9c5cdd-db63-4db1-9900-6157c3dfb898", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2e9c5cdd-db63-4db1-9900-6157c3dfb898", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2e9c5cdd-db63-4db1-9900-6157c3dfb898", + "x-ms-ratelimit-remaining-tenant-reads": "11975", + "x-ms-request-id": "westus2:2e9c5cdd-db63-4db1-9900-6157c3dfb898", + "x-ms-routing-request-id": "WESTUS2:20210712T031935Z:2e9c5cdd-db63-4db1-9900-6157c3dfb898" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-f67bbc50dc38b642-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a45959768cf7bc8b01fcd1021671c24d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b2b5c44c-e9ee-4523-85cb-530e31a85c89", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:35 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b2b5c44c-e9ee-4523-85cb-530e31a85c89", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b2b5c44c-e9ee-4523-85cb-530e31a85c89", + "x-ms-ratelimit-remaining-tenant-reads": "11974", + "x-ms-request-id": "westus2:b2b5c44c-e9ee-4523-85cb-530e31a85c89", + "x-ms-routing-request-id": "WESTUS2:20210712T031936Z:b2b5c44c-e9ee-4523-85cb-530e31a85c89" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-11766bc678f54749-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "004c703504a45e68e77dfe3db22bdcdf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "49d05355-c24d-49fd-b638-60891e44aa5e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:36 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "49d05355-c24d-49fd-b638-60891e44aa5e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "49d05355-c24d-49fd-b638-60891e44aa5e", + "x-ms-ratelimit-remaining-tenant-reads": "11973", + "x-ms-request-id": "westus2:49d05355-c24d-49fd-b638-60891e44aa5e", + "x-ms-routing-request-id": "WESTUS2:20210712T031937Z:49d05355-c24d-49fd-b638-60891e44aa5e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-7239738305d2db42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a4939d0792a51e3f9706a0d5f20a83c4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e8516a21-aeb6-4cea-8715-f336d3eff288", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:38 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e8516a21-aeb6-4cea-8715-f336d3eff288", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e8516a21-aeb6-4cea-8715-f336d3eff288", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:e8516a21-aeb6-4cea-8715-f336d3eff288", + "x-ms-routing-request-id": "WESTUS2:20210712T031939Z:e8516a21-aeb6-4cea-8715-f336d3eff288" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-6259f20248a66842-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "848299fe6ffc724ff0fabd798e4d09d6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "10bedef9-8c81-4814-b90f-90951338ddf1", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:39 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "10bedef9-8c81-4814-b90f-90951338ddf1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "10bedef9-8c81-4814-b90f-90951338ddf1", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:10bedef9-8c81-4814-b90f-90951338ddf1", + "x-ms-routing-request-id": "WESTUS2:20210712T031940Z:10bedef9-8c81-4814-b90f-90951338ddf1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-42fe385fa34ad74b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "79faf2201edda2a8312e699d63936bdc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c3de4d9e-7bd5-44b0-84dd-79ce056853ab", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:40 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c3de4d9e-7bd5-44b0-84dd-79ce056853ab", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c3de4d9e-7bd5-44b0-84dd-79ce056853ab", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:c3de4d9e-7bd5-44b0-84dd-79ce056853ab", + "x-ms-routing-request-id": "WESTUS2:20210712T031941Z:c3de4d9e-7bd5-44b0-84dd-79ce056853ab" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-3b85eab9ac8c394d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "183f39f958a898e34d20b3aad5c58f49", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e6952e5c-7121-414c-99e7-7d4c1f7cd74e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e6952e5c-7121-414c-99e7-7d4c1f7cd74e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e6952e5c-7121-414c-99e7-7d4c1f7cd74e", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:e6952e5c-7121-414c-99e7-7d4c1f7cd74e", + "x-ms-routing-request-id": "WESTUS2:20210712T031942Z:e6952e5c-7121-414c-99e7-7d4c1f7cd74e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-c50fe64e9a40ba41-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "00b5cafd090fdfe7f1e052cd05b20f5d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "76b7efcd-d15f-4df6-9a62-fb286e57b08c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:43 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "76b7efcd-d15f-4df6-9a62-fb286e57b08c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "76b7efcd-d15f-4df6-9a62-fb286e57b08c", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:76b7efcd-d15f-4df6-9a62-fb286e57b08c", + "x-ms-routing-request-id": "WESTUS2:20210712T031943Z:76b7efcd-d15f-4df6-9a62-fb286e57b08c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-3d3935ba4879f941-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5580e08ff00dc72d0e612bbd6afdcd6c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "bb558626-b857-45f7-a455-eb4d6013c6e3", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:44 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "bb558626-b857-45f7-a455-eb4d6013c6e3", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bb558626-b857-45f7-a455-eb4d6013c6e3", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:bb558626-b857-45f7-a455-eb4d6013c6e3", + "x-ms-routing-request-id": "WESTUS2:20210712T031944Z:bb558626-b857-45f7-a455-eb4d6013c6e3" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-7d1d9a893a899541-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "99a01f9e6adef0cc515f27c80515929b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5168be3c-24f2-4dec-8e85-e800f3fbad63", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:45 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5168be3c-24f2-4dec-8e85-e800f3fbad63", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5168be3c-24f2-4dec-8e85-e800f3fbad63", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:5168be3c-24f2-4dec-8e85-e800f3fbad63", + "x-ms-routing-request-id": "WESTUS2:20210712T031945Z:5168be3c-24f2-4dec-8e85-e800f3fbad63" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-db44d7ee4386334b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f41b56113a450c3c9dedf2aedd2a75f4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ed32dd5b-5a4d-4d52-a54b-1b01df2ee7c5", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:46 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ed32dd5b-5a4d-4d52-a54b-1b01df2ee7c5", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ed32dd5b-5a4d-4d52-a54b-1b01df2ee7c5", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:ed32dd5b-5a4d-4d52-a54b-1b01df2ee7c5", + "x-ms-routing-request-id": "WESTUS2:20210712T031946Z:ed32dd5b-5a4d-4d52-a54b-1b01df2ee7c5" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-39ebd5411d43da4a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e62ee6137511247e138f03adc964c2f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3bbbb2c9-0eb9-41d9-a7cd-3dc062f4bc98", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:47 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3bbbb2c9-0eb9-41d9-a7cd-3dc062f4bc98", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3bbbb2c9-0eb9-41d9-a7cd-3dc062f4bc98", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:3bbbb2c9-0eb9-41d9-a7cd-3dc062f4bc98", + "x-ms-routing-request-id": "WESTUS2:20210712T031948Z:3bbbb2c9-0eb9-41d9-a7cd-3dc062f4bc98" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-87f6e8385e5ba746-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "13ab90ced9e26426e294fcf1781e1227", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "66d2ad6c-f60e-437e-8d3d-b366f41eec2d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "66d2ad6c-f60e-437e-8d3d-b366f41eec2d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "66d2ad6c-f60e-437e-8d3d-b366f41eec2d", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:66d2ad6c-f60e-437e-8d3d-b366f41eec2d", + "x-ms-routing-request-id": "WESTUS2:20210712T031949Z:66d2ad6c-f60e-437e-8d3d-b366f41eec2d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-13b9d0e9f285b64f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1eb532eaace69b89d7f7e0b5368e4238", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b97fe747-9b83-4cd1-90bd-57d364a67155", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b97fe747-9b83-4cd1-90bd-57d364a67155", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b97fe747-9b83-4cd1-90bd-57d364a67155", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:b97fe747-9b83-4cd1-90bd-57d364a67155", + "x-ms-routing-request-id": "WESTUS2:20210712T031950Z:b97fe747-9b83-4cd1-90bd-57d364a67155" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-49c8d1d115b26148-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4ddff92a617e3912bfc9037d798dabf5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1a0e6855-da04-4020-b68b-8aa3b5b6a64d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1a0e6855-da04-4020-b68b-8aa3b5b6a64d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1a0e6855-da04-4020-b68b-8aa3b5b6a64d", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:1a0e6855-da04-4020-b68b-8aa3b5b6a64d", + "x-ms-routing-request-id": "WESTUS2:20210712T031951Z:1a0e6855-da04-4020-b68b-8aa3b5b6a64d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-e338b24cd55f0540-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "97c3dc7da4af221206103beaf8712e54", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7e49bda6-9776-440a-bae2-ee82b95e1b12", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:52 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7e49bda6-9776-440a-bae2-ee82b95e1b12", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7e49bda6-9776-440a-bae2-ee82b95e1b12", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:7e49bda6-9776-440a-bae2-ee82b95e1b12", + "x-ms-routing-request-id": "WESTUS2:20210712T031952Z:7e49bda6-9776-440a-bae2-ee82b95e1b12" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-29f1ceb2a2bab94d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7fc6c351c53f88a8207b5e1ca80b214a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b3bf19b3-dabc-424e-b2cb-aa013711f5e5", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:53 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b3bf19b3-dabc-424e-b2cb-aa013711f5e5", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b3bf19b3-dabc-424e-b2cb-aa013711f5e5", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:b3bf19b3-dabc-424e-b2cb-aa013711f5e5", + "x-ms-routing-request-id": "WESTUS2:20210712T031953Z:b3bf19b3-dabc-424e-b2cb-aa013711f5e5" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-305c6263f197b446-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5937eb4babcb8689e6bc466e2527414e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1c037d75-d774-4614-b42a-501c932d77a1", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:54 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1c037d75-d774-4614-b42a-501c932d77a1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1c037d75-d774-4614-b42a-501c932d77a1", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:1c037d75-d774-4614-b42a-501c932d77a1", + "x-ms-routing-request-id": "WESTUS2:20210712T031954Z:1c037d75-d774-4614-b42a-501c932d77a1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-8a64598096fdaf41-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b52caf9b2bc6b8b5333a763345f579fa", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "42a23d42-e655-4783-bf94-ccaa8d78f941", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "42a23d42-e655-4783-bf94-ccaa8d78f941", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "42a23d42-e655-4783-bf94-ccaa8d78f941", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:42a23d42-e655-4783-bf94-ccaa8d78f941", + "x-ms-routing-request-id": "WESTUS2:20210712T031955Z:42a23d42-e655-4783-bf94-ccaa8d78f941" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-5728f2a1c5211946-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0d9ef1eed439a6883a4098837e3a62f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "202a193e-7278-43fc-b4fc-9f8eab231dcf", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:56 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "202a193e-7278-43fc-b4fc-9f8eab231dcf", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "202a193e-7278-43fc-b4fc-9f8eab231dcf", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:202a193e-7278-43fc-b4fc-9f8eab231dcf", + "x-ms-routing-request-id": "WESTUS2:20210712T031957Z:202a193e-7278-43fc-b4fc-9f8eab231dcf" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-97bd4f557bacad44-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f981103a6bdf2083357f2690355541f1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9a283203-9172-4421-9da6-dc81fd94bb29", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:57 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9a283203-9172-4421-9da6-dc81fd94bb29", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9a283203-9172-4421-9da6-dc81fd94bb29", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:9a283203-9172-4421-9da6-dc81fd94bb29", + "x-ms-routing-request-id": "WESTUS2:20210712T031958Z:9a283203-9172-4421-9da6-dc81fd94bb29" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-1e92b303e98d3d49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "347f4b423388c61427857b86923239f9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c586f293-3152-42cb-9195-0d072d5da195", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:19:59 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c586f293-3152-42cb-9195-0d072d5da195", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c586f293-3152-42cb-9195-0d072d5da195", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:c586f293-3152-42cb-9195-0d072d5da195", + "x-ms-routing-request-id": "WESTUS2:20210712T031959Z:c586f293-3152-42cb-9195-0d072d5da195" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-0e48d3e7e2dee647-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "34f97cd88073821b6e7ed7baaef771e4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "6a43b9dc-5115-4f5f-b4a8-8fb4a81c01fc", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "6a43b9dc-5115-4f5f-b4a8-8fb4a81c01fc", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6a43b9dc-5115-4f5f-b4a8-8fb4a81c01fc", + "x-ms-ratelimit-remaining-tenant-reads": "11953", + "x-ms-request-id": "westus2:6a43b9dc-5115-4f5f-b4a8-8fb4a81c01fc", + "x-ms-routing-request-id": "WESTUS2:20210712T032000Z:6a43b9dc-5115-4f5f-b4a8-8fb4a81c01fc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-9226", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:19:41.9164048Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-033959163dde344a8dfc9523ae7c787d-b406459d6582c041-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3240a7fe2eba0671fcbad25af0fc8d03", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "d170d9f7-07af-4916-8669-74da3113aea7", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:00 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "d170d9f7-07af-4916-8669-74da3113aea7", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d170d9f7-07af-4916-8669-74da3113aea7", + "x-ms-ratelimit-remaining-tenant-reads": "11952", + "x-ms-request-id": "westus2:d170d9f7-07af-4916-8669-74da3113aea7", + "x-ms-routing-request-id": "WESTUS2:20210712T032000Z:d170d9f7-07af-4916-8669-74da3113aea7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-9226", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-9226", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-9226", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:19:41.9164048Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-931edae62420f841b354a51d12c51dd5-a3b04b3ed83caf4e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b8b82d450c5cc27d30fcc5095c59172f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "57e47c0b-27bd-4766-b94e-6aed40105fac", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "57e47c0b-27bd-4766-b94e-6aed40105fac", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "57e47c0b-27bd-4766-b94e-6aed40105fac", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-deletes": "14999", + "x-ms-request-id": "westus2:57e47c0b-27bd-4766-b94e-6aed40105fac", + "x-ms-routing-request-id": "WESTUS2:20210712T032001Z:57e47c0b-27bd-4766-b94e-6aed40105fac" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-9226", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-9226", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8174d4f1b93ef288297e02be6867aaa2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "27f2716e-ed26-4fe9-bf81-de8940413122", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "27f2716e-ed26-4fe9-bf81-de8940413122", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "27f2716e-ed26-4fe9-bf81-de8940413122", + "x-ms-ratelimit-remaining-tenant-reads": "11951", + "x-ms-request-id": "westus2:27f2716e-ed26-4fe9-bf81-de8940413122", + "x-ms-routing-request-id": "WESTUS2:20210712T032001Z:27f2716e-ed26-4fe9-bf81-de8940413122" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5945a2a3a2743e11ef0eac69d4c4136f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b5fb1537-f3d0-46df-a3d5-8cbbde609f1f", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b5fb1537-f3d0-46df-a3d5-8cbbde609f1f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b5fb1537-f3d0-46df-a3d5-8cbbde609f1f", + "x-ms-ratelimit-remaining-tenant-reads": "11950", + "x-ms-request-id": "westus2:b5fb1537-f3d0-46df-a3d5-8cbbde609f1f", + "x-ms-routing-request-id": "WESTUS2:20210712T032002Z:b5fb1537-f3d0-46df-a3d5-8cbbde609f1f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8817546a96e55bf00d95c173047f40a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "50cba311-6e08-44a0-b626-3342f5112550", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:03 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "50cba311-6e08-44a0-b626-3342f5112550", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "50cba311-6e08-44a0-b626-3342f5112550", + "x-ms-ratelimit-remaining-tenant-reads": "11949", + "x-ms-request-id": "westus2:50cba311-6e08-44a0-b626-3342f5112550", + "x-ms-routing-request-id": "WESTUS2:20210712T032003Z:50cba311-6e08-44a0-b626-3342f5112550" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0c159648387b4ffcc235922f0c1f1e65", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9f40eb0b-2879-4cf6-bbd6-d62a94c50283", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:04 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9f40eb0b-2879-4cf6-bbd6-d62a94c50283", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9f40eb0b-2879-4cf6-bbd6-d62a94c50283", + "x-ms-ratelimit-remaining-tenant-reads": "11948", + "x-ms-request-id": "westus2:9f40eb0b-2879-4cf6-bbd6-d62a94c50283", + "x-ms-routing-request-id": "WESTUS2:20210712T032004Z:9f40eb0b-2879-4cf6-bbd6-d62a94c50283" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1454936a214f0cbdb1ea4cdfe09d3a6f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f0667d8f-2c7b-4d4c-922e-a27060fc601c", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:05 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f0667d8f-2c7b-4d4c-922e-a27060fc601c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f0667d8f-2c7b-4d4c-922e-a27060fc601c", + "x-ms-ratelimit-remaining-tenant-reads": "11947", + "x-ms-request-id": "westus2:f0667d8f-2c7b-4d4c-922e-a27060fc601c", + "x-ms-routing-request-id": "WESTUS2:20210712T032005Z:f0667d8f-2c7b-4d4c-922e-a27060fc601c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3d2008cd07ae31f457c8c5af04c04eee", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "94c9f2e9-3ef8-43fc-99c8-0df889764cbc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:06 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "94c9f2e9-3ef8-43fc-99c8-0df889764cbc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "94c9f2e9-3ef8-43fc-99c8-0df889764cbc", + "x-ms-ratelimit-remaining-tenant-reads": "11946", + "x-ms-request-id": "westus2:94c9f2e9-3ef8-43fc-99c8-0df889764cbc", + "x-ms-routing-request-id": "WESTUS2:20210712T032007Z:94c9f2e9-3ef8-43fc-99c8-0df889764cbc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "71095b772c2b2654d9095a90ec1d6e25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ae1e58f8-8da2-48df-8538-3441b126070b", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ae1e58f8-8da2-48df-8538-3441b126070b", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ae1e58f8-8da2-48df-8538-3441b126070b", + "x-ms-ratelimit-remaining-tenant-reads": "11945", + "x-ms-request-id": "westus2:ae1e58f8-8da2-48df-8538-3441b126070b", + "x-ms-routing-request-id": "WESTUS2:20210712T032008Z:ae1e58f8-8da2-48df-8538-3441b126070b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "036123fbe0ff63b69f22bc875c0d08f1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "81c95841-7320-49f7-a4a3-d4c7c5555b87", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "81c95841-7320-49f7-a4a3-d4c7c5555b87", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "81c95841-7320-49f7-a4a3-d4c7c5555b87", + "x-ms-ratelimit-remaining-tenant-reads": "11944", + "x-ms-request-id": "westus2:81c95841-7320-49f7-a4a3-d4c7c5555b87", + "x-ms-routing-request-id": "WESTUS2:20210712T032009Z:81c95841-7320-49f7-a4a3-d4c7c5555b87" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "84685d9bc994a143b4f964a5ad63443a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "65ff8d58-23ac-45c8-8a7b-e631805d06bc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "65ff8d58-23ac-45c8-8a7b-e631805d06bc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "65ff8d58-23ac-45c8-8a7b-e631805d06bc", + "x-ms-ratelimit-remaining-tenant-reads": "11943", + "x-ms-request-id": "westus2:65ff8d58-23ac-45c8-8a7b-e631805d06bc", + "x-ms-routing-request-id": "WESTUS2:20210712T032010Z:65ff8d58-23ac-45c8-8a7b-e631805d06bc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e0b3a05a4b5e97efa5a5d2096fcccacb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "62349efb-c75d-474e-a0a8-8b0ab1ea22b0", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "62349efb-c75d-474e-a0a8-8b0ab1ea22b0", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "62349efb-c75d-474e-a0a8-8b0ab1ea22b0", + "x-ms-ratelimit-remaining-tenant-reads": "11942", + "x-ms-request-id": "westus2:62349efb-c75d-474e-a0a8-8b0ab1ea22b0", + "x-ms-routing-request-id": "WESTUS2:20210712T032011Z:62349efb-c75d-474e-a0a8-8b0ab1ea22b0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8ef46900e9b43290dfc04e057b11b63b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "18a3a08f-0ec1-4203-86ef-3ef08502de8a", + "Content-Length": "165", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "18a3a08f-0ec1-4203-86ef-3ef08502de8a", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "18a3a08f-0ec1-4203-86ef-3ef08502de8a", + "x-ms-ratelimit-remaining-tenant-reads": "11941", + "x-ms-request-id": "westus2:18a3a08f-0ec1-4203-86ef-3ef08502de8a", + "x-ms-routing-request-id": "WESTUS2:20210712T032012Z:18a3a08f-0ec1-4203-86ef-3ef08502de8a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-9226", + "name": "mgmt-group-9226", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-9226?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2620d383932afc40a144f37cb53eb0ce-b034fd7c8bc4f943-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "bb2d82dd275a50926ed1dfeef73a31e7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "cf36a220-c25c-42b1-80cd-77d617ca971c", + "Content-Length": "133", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:20:12 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "cf36a220-c25c-42b1-80cd-77d617ca971c", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cf36a220-c25c-42b1-80cd-77d617ca971c", + "x-ms-ratelimit-remaining-tenant-reads": "11940", + "x-ms-request-id": "westus2:cf36a220-c25c-42b1-80cd-77d617ca971c", + "x-ms-routing-request-id": "WESTUS2:20210712T032012Z:cf36a220-c25c-42b1-80cd-77d617ca971c" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "\u0027/providers/Microsoft.Management/managementGroups/mgmt-group-9226\u0027 not found", + "details": null + } + } + } + ], + "Variables": { + "RandomSeed": "603385006", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/StartDeleteAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/StartDeleteAsync.json new file mode 100644 index 000000000000..3509784ea351 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/StartDeleteAsync.json @@ -0,0 +1,1354 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7b35adf085f2db049510b210c3190951", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:07 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "96bcbf71-092f-4ee4-a598-11426b1c0ffa", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "96bcbf71-092f-4ee4-a598-11426b1c0ffa", + "x-ms-routing-request-id": "WESTUS2:20210712T032808Z:96bcbf71-092f-4ee4-a598-11426b1c0ffa" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-9d30051776568a43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1309d889d0bb47d1fe4e830b2fc9580b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "cef715c4-c38d-4743-8103-bb4b4cb88a03", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "cef715c4-c38d-4743-8103-bb4b4cb88a03", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "cef715c4-c38d-4743-8103-bb4b4cb88a03", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:cef715c4-c38d-4743-8103-bb4b4cb88a03", + "x-ms-routing-request-id": "WESTUS2:20210712T032808Z:cef715c4-c38d-4743-8103-bb4b4cb88a03" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-1803", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-1803", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-3b9a0661dc454e4c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d135c345a938dd346434f33781cf6547", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "464e6a30-993b-4a20-b5b2-eb63473b6aa7", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "464e6a30-993b-4a20-b5b2-eb63473b6aa7", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "464e6a30-993b-4a20-b5b2-eb63473b6aa7", + "x-ms-ratelimit-remaining-tenant-reads": "11977", + "x-ms-request-id": "westus2:464e6a30-993b-4a20-b5b2-eb63473b6aa7", + "x-ms-routing-request-id": "WESTUS2:20210712T032808Z:464e6a30-993b-4a20-b5b2-eb63473b6aa7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-cd41d7ff2ade194c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "af03055a360ff86c0b71c8a45c1b7229", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0475a8b4-0627-4910-bdb8-c3b0d6ba0f98", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0475a8b4-0627-4910-bdb8-c3b0d6ba0f98", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0475a8b4-0627-4910-bdb8-c3b0d6ba0f98", + "x-ms-ratelimit-remaining-tenant-reads": "11976", + "x-ms-request-id": "westus2:0475a8b4-0627-4910-bdb8-c3b0d6ba0f98", + "x-ms-routing-request-id": "WESTUS2:20210712T032810Z:0475a8b4-0627-4910-bdb8-c3b0d6ba0f98" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-f5662d466c172d4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6bc5dcfe869315d2351cb6eb9d95167b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "157c5816-a24e-4ffa-a7e8-8adca3f88d57", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "157c5816-a24e-4ffa-a7e8-8adca3f88d57", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "157c5816-a24e-4ffa-a7e8-8adca3f88d57", + "x-ms-ratelimit-remaining-tenant-reads": "11975", + "x-ms-request-id": "westus2:157c5816-a24e-4ffa-a7e8-8adca3f88d57", + "x-ms-routing-request-id": "WESTUS2:20210712T032811Z:157c5816-a24e-4ffa-a7e8-8adca3f88d57" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-c251804690118949-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d05b2cb1a0d10f97573dc6c6e18f8149", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "82ea3d6d-2a9d-4baa-b5ee-ad411cf9cce4", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "82ea3d6d-2a9d-4baa-b5ee-ad411cf9cce4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "82ea3d6d-2a9d-4baa-b5ee-ad411cf9cce4", + "x-ms-ratelimit-remaining-tenant-reads": "11974", + "x-ms-request-id": "westus2:82ea3d6d-2a9d-4baa-b5ee-ad411cf9cce4", + "x-ms-routing-request-id": "WESTUS2:20210712T032812Z:82ea3d6d-2a9d-4baa-b5ee-ad411cf9cce4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-bc8b74c569da064f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a439cac2fa0ad3b332ee7af280805a75", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e876497b-946b-4970-8b3e-5b0b21ba57cc", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e876497b-946b-4970-8b3e-5b0b21ba57cc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e876497b-946b-4970-8b3e-5b0b21ba57cc", + "x-ms-ratelimit-remaining-tenant-reads": "11973", + "x-ms-request-id": "westus2:e876497b-946b-4970-8b3e-5b0b21ba57cc", + "x-ms-routing-request-id": "WESTUS2:20210712T032813Z:e876497b-946b-4970-8b3e-5b0b21ba57cc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-1ef81f1f33991b4e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2ff34d5ba1bf5e5745b61456bf0b34a5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1d96cf47-dfb1-45b2-95bb-f929095d5920", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:13 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1d96cf47-dfb1-45b2-95bb-f929095d5920", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1d96cf47-dfb1-45b2-95bb-f929095d5920", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:1d96cf47-dfb1-45b2-95bb-f929095d5920", + "x-ms-routing-request-id": "WESTUS2:20210712T032814Z:1d96cf47-dfb1-45b2-95bb-f929095d5920" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-11e27270bfca3e45-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d2296c9b715cb77179879de325a48ed7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "411a40a9-8826-44b8-8063-1efc566f5dd4", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:15 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "411a40a9-8826-44b8-8063-1efc566f5dd4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "411a40a9-8826-44b8-8063-1efc566f5dd4", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:411a40a9-8826-44b8-8063-1efc566f5dd4", + "x-ms-routing-request-id": "WESTUS2:20210712T032815Z:411a40a9-8826-44b8-8063-1efc566f5dd4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-0404f5ca56600447-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "936b51e2519b208972db5e53e55c1326", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "805c5d95-d049-4a60-8b4a-fc84111e9245", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:16 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "805c5d95-d049-4a60-8b4a-fc84111e9245", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "805c5d95-d049-4a60-8b4a-fc84111e9245", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:805c5d95-d049-4a60-8b4a-fc84111e9245", + "x-ms-routing-request-id": "WESTUS2:20210712T032816Z:805c5d95-d049-4a60-8b4a-fc84111e9245" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-b7f1c2afcabd7b4f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1357d4b98757e919dc3cb637047438a1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "869c4d01-e214-428e-b058-89de8aa7dbcf", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "869c4d01-e214-428e-b058-89de8aa7dbcf", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "869c4d01-e214-428e-b058-89de8aa7dbcf", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:869c4d01-e214-428e-b058-89de8aa7dbcf", + "x-ms-routing-request-id": "WESTUS2:20210712T032817Z:869c4d01-e214-428e-b058-89de8aa7dbcf" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-5c7a56d87b73914a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6e743d27a1a04a0ae3095f80121dd11c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "beb9bd3d-f25c-49aa-9085-ad59350e0ee7", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "beb9bd3d-f25c-49aa-9085-ad59350e0ee7", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "beb9bd3d-f25c-49aa-9085-ad59350e0ee7", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:beb9bd3d-f25c-49aa-9085-ad59350e0ee7", + "x-ms-routing-request-id": "WESTUS2:20210712T032819Z:beb9bd3d-f25c-49aa-9085-ad59350e0ee7" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-3c03c20d0fc1804b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "512977747a4d5a803881b65e9a521cfe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7749010e-fbe4-467a-b5a1-42de652d2fa6", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:19 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7749010e-fbe4-467a-b5a1-42de652d2fa6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7749010e-fbe4-467a-b5a1-42de652d2fa6", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:7749010e-fbe4-467a-b5a1-42de652d2fa6", + "x-ms-routing-request-id": "WESTUS2:20210712T032820Z:7749010e-fbe4-467a-b5a1-42de652d2fa6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-51660bf6a9587748-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a82bbda2a5e71885ca0c304d2898d7bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f38f418e-9afb-4e50-af75-acfee9def033", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:20 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f38f418e-9afb-4e50-af75-acfee9def033", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f38f418e-9afb-4e50-af75-acfee9def033", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:f38f418e-9afb-4e50-af75-acfee9def033", + "x-ms-routing-request-id": "WESTUS2:20210712T032821Z:f38f418e-9afb-4e50-af75-acfee9def033" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-338507768814aa49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8cc39a6be74aad54bd1a361feaabaf91", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b44d191d-e194-4e73-834f-34b61c8a3002", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b44d191d-e194-4e73-834f-34b61c8a3002", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b44d191d-e194-4e73-834f-34b61c8a3002", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:b44d191d-e194-4e73-834f-34b61c8a3002", + "x-ms-routing-request-id": "WESTUS2:20210712T032822Z:b44d191d-e194-4e73-834f-34b61c8a3002" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-2468f6d4a653004d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "55de61ed28f1ce34f11186404a3232a0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f2e1029c-7d06-40bd-ac1a-307767f1ac33", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f2e1029c-7d06-40bd-ac1a-307767f1ac33", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f2e1029c-7d06-40bd-ac1a-307767f1ac33", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:f2e1029c-7d06-40bd-ac1a-307767f1ac33", + "x-ms-routing-request-id": "WESTUS2:20210712T032823Z:f2e1029c-7d06-40bd-ac1a-307767f1ac33" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-e8dc979370029b48-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "00f3f7aa8f8ebbb3687eebcd6f662e1e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ebf181b9-9d33-40a5-aa42-27243c763e44", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:23 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ebf181b9-9d33-40a5-aa42-27243c763e44", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ebf181b9-9d33-40a5-aa42-27243c763e44", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:ebf181b9-9d33-40a5-aa42-27243c763e44", + "x-ms-routing-request-id": "WESTUS2:20210712T032824Z:ebf181b9-9d33-40a5-aa42-27243c763e44" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-2184250b8848da4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c6609f5c81ba42ce65f49b396013638a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e6aba003-85bf-46b3-b323-e5bebec03957", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:25 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e6aba003-85bf-46b3-b323-e5bebec03957", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e6aba003-85bf-46b3-b323-e5bebec03957", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:e6aba003-85bf-46b3-b323-e5bebec03957", + "x-ms-routing-request-id": "WESTUS2:20210712T032825Z:e6aba003-85bf-46b3-b323-e5bebec03957" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-40be601187985541-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f27496e7afb75d02ad22ec723d665f8a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5f6b0d8d-830f-43c0-adb3-5c3fb6ccabd1", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:26 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5f6b0d8d-830f-43c0-adb3-5c3fb6ccabd1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5f6b0d8d-830f-43c0-adb3-5c3fb6ccabd1", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:5f6b0d8d-830f-43c0-adb3-5c3fb6ccabd1", + "x-ms-routing-request-id": "WESTUS2:20210712T032826Z:5f6b0d8d-830f-43c0-adb3-5c3fb6ccabd1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-2b210ef467f1f94d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "aae367e36bd128e529b19a9af47a5b55", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c114ef32-8a8c-4188-95e9-697fc05f3301", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:27 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c114ef32-8a8c-4188-95e9-697fc05f3301", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c114ef32-8a8c-4188-95e9-697fc05f3301", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:c114ef32-8a8c-4188-95e9-697fc05f3301", + "x-ms-routing-request-id": "WESTUS2:20210712T032828Z:c114ef32-8a8c-4188-95e9-697fc05f3301" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-19c2a687c1aee144-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d8e6601b3bf2ac679c031997955b05fe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "6b5bfa7b-f946-46df-b3da-deae72b995c8", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:28 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "6b5bfa7b-f946-46df-b3da-deae72b995c8", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6b5bfa7b-f946-46df-b3da-deae72b995c8", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:6b5bfa7b-f946-46df-b3da-deae72b995c8", + "x-ms-routing-request-id": "WESTUS2:20210712T032829Z:6b5bfa7b-f946-46df-b3da-deae72b995c8" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-43f1cb35f1e2c947-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f8551095b8307bb9b04cc80615686932", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "865a8409-514c-4c27-8577-60fecca7f358", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:29 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "865a8409-514c-4c27-8577-60fecca7f358", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "865a8409-514c-4c27-8577-60fecca7f358", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:865a8409-514c-4c27-8577-60fecca7f358", + "x-ms-routing-request-id": "WESTUS2:20210712T032830Z:865a8409-514c-4c27-8577-60fecca7f358" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-efa09609101c334b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "dd5797c78680a79800360ece524e93ce", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7d737a53-bfed-4f4d-8a04-cd4ed6e5d0fa", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:30 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7d737a53-bfed-4f4d-8a04-cd4ed6e5d0fa", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7d737a53-bfed-4f4d-8a04-cd4ed6e5d0fa", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:7d737a53-bfed-4f4d-8a04-cd4ed6e5d0fa", + "x-ms-routing-request-id": "WESTUS2:20210712T032831Z:7d737a53-bfed-4f4d-8a04-cd4ed6e5d0fa" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-8815ebc9648e584e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e3049cac63246224a76a28a572609734", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "57f6b869-1d4d-4e6e-a676-1649955c600f", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "57f6b869-1d4d-4e6e-a676-1649955c600f", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "57f6b869-1d4d-4e6e-a676-1649955c600f", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:57f6b869-1d4d-4e6e-a676-1649955c600f", + "x-ms-routing-request-id": "WESTUS2:20210712T032833Z:57f6b869-1d4d-4e6e-a676-1649955c600f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-1803", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:28:15.7177604Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c5b5e6e28bce5c4b86461e74a51d08dd-7d3263e703041a40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fdd0e69a27030e7d78aef7f9aaea2961", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "a1677263-b01b-4461-a9c1-bc9aff9cb1bc", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:32 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "a1677263-b01b-4461-a9c1-bc9aff9cb1bc", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a1677263-b01b-4461-a9c1-bc9aff9cb1bc", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:a1677263-b01b-4461-a9c1-bc9aff9cb1bc", + "x-ms-routing-request-id": "WESTUS2:20210712T032833Z:a1677263-b01b-4461-a9c1-bc9aff9cb1bc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-1803", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-1803", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-1803", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:28:15.7177604Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-52f71155f29008459593095a20b92943-4ba342151c5fcd46-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "795afab98563640e72f435165ef234a0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "45dd4916-bb25-4186-9cce-5c9a40b609fa", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "45dd4916-bb25-4186-9cce-5c9a40b609fa", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "45dd4916-bb25-4186-9cce-5c9a40b609fa", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-deletes": "14999", + "x-ms-request-id": "westus2:45dd4916-bb25-4186-9cce-5c9a40b609fa", + "x-ms-routing-request-id": "WESTUS2:20210712T032834Z:45dd4916-bb25-4186-9cce-5c9a40b609fa" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-1803", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-1803", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "77ecc6411e0514d0d76c8b0ef167b085", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "4407091b-07df-4b3b-b536-0ea84c8b23bd", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:33 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "4407091b-07df-4b3b-b536-0ea84c8b23bd", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4407091b-07df-4b3b-b536-0ea84c8b23bd", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:4407091b-07df-4b3b-b536-0ea84c8b23bd", + "x-ms-routing-request-id": "WESTUS2:20210712T032834Z:4407091b-07df-4b3b-b536-0ea84c8b23bd" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d05a5779bcb623e330d65b6d1997f847", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9e7a6ffe-b0a8-4d43-a41b-2b9227e0ec7e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:34 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9e7a6ffe-b0a8-4d43-a41b-2b9227e0ec7e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9e7a6ffe-b0a8-4d43-a41b-2b9227e0ec7e", + "x-ms-ratelimit-remaining-tenant-reads": "11953", + "x-ms-request-id": "westus2:9e7a6ffe-b0a8-4d43-a41b-2b9227e0ec7e", + "x-ms-routing-request-id": "WESTUS2:20210712T032835Z:9e7a6ffe-b0a8-4d43-a41b-2b9227e0ec7e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "97d5793cbc06809a081f94110abb92b6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "de7e64be-3817-47a8-9831-ba6918fe1774", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:35 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "de7e64be-3817-47a8-9831-ba6918fe1774", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "de7e64be-3817-47a8-9831-ba6918fe1774", + "x-ms-ratelimit-remaining-tenant-reads": "11952", + "x-ms-request-id": "westus2:de7e64be-3817-47a8-9831-ba6918fe1774", + "x-ms-routing-request-id": "WESTUS2:20210712T032836Z:de7e64be-3817-47a8-9831-ba6918fe1774" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "14fce645e7d18405e2c8472fc363fa40", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a19eb7ec-c21c-4055-8ebc-42384e974f77", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:37 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a19eb7ec-c21c-4055-8ebc-42384e974f77", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a19eb7ec-c21c-4055-8ebc-42384e974f77", + "x-ms-ratelimit-remaining-tenant-reads": "11951", + "x-ms-request-id": "westus2:a19eb7ec-c21c-4055-8ebc-42384e974f77", + "x-ms-routing-request-id": "WESTUS2:20210712T032837Z:a19eb7ec-c21c-4055-8ebc-42384e974f77" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "78d243731992bc7ebdd9c89628d21974", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e90dcb04-5da4-491c-a41d-48782d19e179", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:38 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e90dcb04-5da4-491c-a41d-48782d19e179", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e90dcb04-5da4-491c-a41d-48782d19e179", + "x-ms-ratelimit-remaining-tenant-reads": "11950", + "x-ms-request-id": "westus2:e90dcb04-5da4-491c-a41d-48782d19e179", + "x-ms-routing-request-id": "WESTUS2:20210712T032838Z:e90dcb04-5da4-491c-a41d-48782d19e179" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3328a444e49b54767350b43e756abda5", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "31b59b18-0f5c-4c6a-9533-e1efed408072", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:39 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "31b59b18-0f5c-4c6a-9533-e1efed408072", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "31b59b18-0f5c-4c6a-9533-e1efed408072", + "x-ms-ratelimit-remaining-tenant-reads": "11949", + "x-ms-request-id": "westus2:31b59b18-0f5c-4c6a-9533-e1efed408072", + "x-ms-routing-request-id": "WESTUS2:20210712T032839Z:31b59b18-0f5c-4c6a-9533-e1efed408072" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c69d542419e82c24674056f71f6e5c10", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "f24c2420-892d-4e99-ada1-42be0e5465fb", + "Content-Length": "165", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:40 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "f24c2420-892d-4e99-ada1-42be0e5465fb", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f24c2420-892d-4e99-ada1-42be0e5465fb", + "x-ms-ratelimit-remaining-tenant-reads": "11948", + "x-ms-request-id": "westus2:f24c2420-892d-4e99-ada1-42be0e5465fb", + "x-ms-routing-request-id": "WESTUS2:20210712T032840Z:f24c2420-892d-4e99-ada1-42be0e5465fb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/delete/asyncOperation/status/managementGroups/mgmt-group-1803", + "name": "mgmt-group-1803", + "status": "Succeeded" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-1803?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-2e7ff34c50d02e4aabff17883a2ffcfc-b8f7ced3dc6f5b49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1eead3afc63b8fa4cd7d044164404752", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "90679f60-15c8-487c-a101-fa77e37b95ec", + "Content-Length": "133", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "90679f60-15c8-487c-a101-fa77e37b95ec", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "90679f60-15c8-487c-a101-fa77e37b95ec", + "x-ms-ratelimit-remaining-tenant-reads": "11947", + "x-ms-request-id": "westus2:90679f60-15c8-487c-a101-fa77e37b95ec", + "x-ms-routing-request-id": "WESTUS2:20210712T032841Z:90679f60-15c8-487c-a101-fa77e37b95ec" + }, + "ResponseBody": { + "error": { + "code": "NotFound", + "message": "\u0027/providers/Microsoft.Management/managementGroups/mgmt-group-1803\u0027 not found", + "details": null + } + } + } + ], + "Variables": { + "RandomSeed": "157798411", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Update.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Update.json new file mode 100644 index 000000000000..197d5d308e47 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/Update.json @@ -0,0 +1,1068 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "868914fed861f20fdce46f7858e7ef22", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:22:59 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "19313002-cbbf-4708-b014-607a7508889f", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "19313002-cbbf-4708-b014-607a7508889f", + "x-ms-routing-request-id": "WESTUS2:20210712T032300Z:19313002-cbbf-4708-b014-607a7508889f" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-0c9f41a4bc366944-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d893b5a0b1ae7fa53dbb7731f0bef8a3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "caef1f54-161c-4756-a867-d3a24cc22128", + "Content-Length": "167", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "caef1f54-161c-4756-a867-d3a24cc22128", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "caef1f54-161c-4756-a867-d3a24cc22128", + "x-ms-ratelimit-remaining-managementgroups-requests": "58", + "x-ms-ratelimit-remaining-tenant-writes": "1198", + "x-ms-request-id": "westus2:caef1f54-161c-4756-a867-d3a24cc22128", + "x-ms-routing-request-id": "WESTUS2:20210712T032300Z:caef1f54-161c-4756-a867-d3a24cc22128" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-6022", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-6022", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-9b013b47183c1946-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "20e784982c1a634fe306241c97c1ec25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "7535cbee-4e92-4439-8044-207386f32f5d", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "7535cbee-4e92-4439-8044-207386f32f5d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "7535cbee-4e92-4439-8044-207386f32f5d", + "x-ms-ratelimit-remaining-tenant-reads": "11972", + "x-ms-request-id": "westus2:7535cbee-4e92-4439-8044-207386f32f5d", + "x-ms-routing-request-id": "WESTUS2:20210712T032300Z:7535cbee-4e92-4439-8044-207386f32f5d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-da079d19507aa147-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5812d577b0eeb6e892919af3f7ef68b9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9c4fcee5-836e-4cab-b0d1-c23b28bb12d4", + "Content-Length": "166", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9c4fcee5-836e-4cab-b0d1-c23b28bb12d4", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9c4fcee5-836e-4cab-b0d1-c23b28bb12d4", + "x-ms-ratelimit-remaining-tenant-reads": "11971", + "x-ms-request-id": "westus2:9c4fcee5-836e-4cab-b0d1-c23b28bb12d4", + "x-ms-routing-request-id": "WESTUS2:20210712T032301Z:9c4fcee5-836e-4cab-b0d1-c23b28bb12d4" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-b14d64b9ef730545-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6b99cef6d8d618883f9d8e22c6066a7c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "48cb070b-c781-48a0-b3ce-c19c277e3e19", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "48cb070b-c781-48a0-b3ce-c19c277e3e19", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "48cb070b-c781-48a0-b3ce-c19c277e3e19", + "x-ms-ratelimit-remaining-tenant-reads": "11970", + "x-ms-request-id": "westus2:48cb070b-c781-48a0-b3ce-c19c277e3e19", + "x-ms-routing-request-id": "WESTUS2:20210712T032303Z:48cb070b-c781-48a0-b3ce-c19c277e3e19" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-5a435cf068f00441-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "413f93ce6c71e7ba9c318d89925c6bf4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "3a9d3ce5-2181-4914-bb34-bf5e2c955644", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:03 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "3a9d3ce5-2181-4914-bb34-bf5e2c955644", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3a9d3ce5-2181-4914-bb34-bf5e2c955644", + "x-ms-ratelimit-remaining-tenant-reads": "11969", + "x-ms-request-id": "westus2:3a9d3ce5-2181-4914-bb34-bf5e2c955644", + "x-ms-routing-request-id": "WESTUS2:20210712T032304Z:3a9d3ce5-2181-4914-bb34-bf5e2c955644" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-3be5a1b01afe0f4f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c8266b9d81289f4f4cfa185122c5f08c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9fb7fac1-8a7e-43bb-985b-210d30a6a6b8", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:04 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9fb7fac1-8a7e-43bb-985b-210d30a6a6b8", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9fb7fac1-8a7e-43bb-985b-210d30a6a6b8", + "x-ms-ratelimit-remaining-tenant-reads": "11968", + "x-ms-request-id": "westus2:9fb7fac1-8a7e-43bb-985b-210d30a6a6b8", + "x-ms-routing-request-id": "WESTUS2:20210712T032305Z:9fb7fac1-8a7e-43bb-985b-210d30a6a6b8" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-891ddc06c4825a4c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "63241e2627af8a4713b1cea54afe86e3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "90acd296-c467-4fa4-a44c-ac9005279c31", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:05 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "90acd296-c467-4fa4-a44c-ac9005279c31", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "90acd296-c467-4fa4-a44c-ac9005279c31", + "x-ms-ratelimit-remaining-tenant-reads": "11967", + "x-ms-request-id": "westus2:90acd296-c467-4fa4-a44c-ac9005279c31", + "x-ms-routing-request-id": "WESTUS2:20210712T032306Z:90acd296-c467-4fa4-a44c-ac9005279c31" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-bc0df51e96fe7d4d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5a849a31a2e04d5444a0f4765369c5d6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0643f983-57cc-4308-a0bf-d7805e9bc1bf", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:07 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0643f983-57cc-4308-a0bf-d7805e9bc1bf", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0643f983-57cc-4308-a0bf-d7805e9bc1bf", + "x-ms-ratelimit-remaining-tenant-reads": "11966", + "x-ms-request-id": "westus2:0643f983-57cc-4308-a0bf-d7805e9bc1bf", + "x-ms-routing-request-id": "WESTUS2:20210712T032307Z:0643f983-57cc-4308-a0bf-d7805e9bc1bf" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-d5fde94236d3e846-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7363014008387644239bb576b2a9544d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1524c7b6-de77-474a-8fc6-f4b0e2072e00", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:08 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1524c7b6-de77-474a-8fc6-f4b0e2072e00", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1524c7b6-de77-474a-8fc6-f4b0e2072e00", + "x-ms-ratelimit-remaining-tenant-reads": "11965", + "x-ms-request-id": "westus2:1524c7b6-de77-474a-8fc6-f4b0e2072e00", + "x-ms-routing-request-id": "WESTUS2:20210712T032308Z:1524c7b6-de77-474a-8fc6-f4b0e2072e00" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-cba327ff513d8c4f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "871f3574954084abcad61e0f32d136a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "10e9ee9a-84c4-4e01-b476-365086bdbf6a", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:09 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "10e9ee9a-84c4-4e01-b476-365086bdbf6a", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "10e9ee9a-84c4-4e01-b476-365086bdbf6a", + "x-ms-ratelimit-remaining-tenant-reads": "11964", + "x-ms-request-id": "westus2:10e9ee9a-84c4-4e01-b476-365086bdbf6a", + "x-ms-routing-request-id": "WESTUS2:20210712T032309Z:10e9ee9a-84c4-4e01-b476-365086bdbf6a" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-16d380491406944a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4864f7eb129b29ab550e3744ecdd9b9b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "25702b73-0cb7-46f8-9727-cebe0cd282e6", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:10 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "25702b73-0cb7-46f8-9727-cebe0cd282e6", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "25702b73-0cb7-46f8-9727-cebe0cd282e6", + "x-ms-ratelimit-remaining-tenant-reads": "11963", + "x-ms-request-id": "westus2:25702b73-0cb7-46f8-9727-cebe0cd282e6", + "x-ms-routing-request-id": "WESTUS2:20210712T032310Z:25702b73-0cb7-46f8-9727-cebe0cd282e6" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-e3d71a3f6ec0db44-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1e02a64b3d49ab9555dea961e9354352", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "508f77aa-8b42-4a45-b5ad-d771cdb784af", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:11 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "508f77aa-8b42-4a45-b5ad-d771cdb784af", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "508f77aa-8b42-4a45-b5ad-d771cdb784af", + "x-ms-ratelimit-remaining-tenant-reads": "11962", + "x-ms-request-id": "westus2:508f77aa-8b42-4a45-b5ad-d771cdb784af", + "x-ms-routing-request-id": "WESTUS2:20210712T032312Z:508f77aa-8b42-4a45-b5ad-d771cdb784af" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-b312a9d6e3fc4c43-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ba8a0b640c4462b189f631325e6697ec", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "f65ff7b7-7eea-4b43-b41f-23c1c02b404e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:12 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "f65ff7b7-7eea-4b43-b41f-23c1c02b404e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f65ff7b7-7eea-4b43-b41f-23c1c02b404e", + "x-ms-ratelimit-remaining-tenant-reads": "11961", + "x-ms-request-id": "westus2:f65ff7b7-7eea-4b43-b41f-23c1c02b404e", + "x-ms-routing-request-id": "WESTUS2:20210712T032313Z:f65ff7b7-7eea-4b43-b41f-23c1c02b404e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-76345eab3fefcd4f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8bc3833b17cead6061b9f2bd684a3f20", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d9c486d2-d7b3-4e8d-b542-2558a2a528fb", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:13 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d9c486d2-d7b3-4e8d-b542-2558a2a528fb", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d9c486d2-d7b3-4e8d-b542-2558a2a528fb", + "x-ms-ratelimit-remaining-tenant-reads": "11960", + "x-ms-request-id": "westus2:d9c486d2-d7b3-4e8d-b542-2558a2a528fb", + "x-ms-routing-request-id": "WESTUS2:20210712T032314Z:d9c486d2-d7b3-4e8d-b542-2558a2a528fb" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-ba1fc9ebcbc4ba4f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "e0e0e4cae0533f56f4a094520c634cef", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "06381a57-59bf-4533-8c15-137a4a159ca5", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:14 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "06381a57-59bf-4533-8c15-137a4a159ca5", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "06381a57-59bf-4533-8c15-137a4a159ca5", + "x-ms-ratelimit-remaining-tenant-reads": "11959", + "x-ms-request-id": "westus2:06381a57-59bf-4533-8c15-137a4a159ca5", + "x-ms-routing-request-id": "WESTUS2:20210712T032315Z:06381a57-59bf-4533-8c15-137a4a159ca5" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-79a3796fd078464d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "6525bd47b7714c83abdc588b19f4f93f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "695aefe8-e9be-4382-a4c6-eaab6aaba1fe", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:15 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "695aefe8-e9be-4382-a4c6-eaab6aaba1fe", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "695aefe8-e9be-4382-a4c6-eaab6aaba1fe", + "x-ms-ratelimit-remaining-tenant-reads": "11958", + "x-ms-request-id": "westus2:695aefe8-e9be-4382-a4c6-eaab6aaba1fe", + "x-ms-routing-request-id": "WESTUS2:20210712T032316Z:695aefe8-e9be-4382-a4c6-eaab6aaba1fe" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-39f57573627d584a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "796810b7b6865a992d84972e820da1fe", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "62eaeb21-a46f-4488-80d2-bb827814f143", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:17 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "62eaeb21-a46f-4488-80d2-bb827814f143", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "62eaeb21-a46f-4488-80d2-bb827814f143", + "x-ms-ratelimit-remaining-tenant-reads": "11957", + "x-ms-request-id": "westus2:62eaeb21-a46f-4488-80d2-bb827814f143", + "x-ms-routing-request-id": "WESTUS2:20210712T032317Z:62eaeb21-a46f-4488-80d2-bb827814f143" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-1051839cad0a8845-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ab75036cd92413af6193357688cb2500", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1127cfc7-b15e-43a3-97aa-16f4537353ef", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:18 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1127cfc7-b15e-43a3-97aa-16f4537353ef", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1127cfc7-b15e-43a3-97aa-16f4537353ef", + "x-ms-ratelimit-remaining-tenant-reads": "11956", + "x-ms-request-id": "westus2:1127cfc7-b15e-43a3-97aa-16f4537353ef", + "x-ms-routing-request-id": "WESTUS2:20210712T032318Z:1127cfc7-b15e-43a3-97aa-16f4537353ef" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-f99ca447382c244b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fb9b55a6d3fb906824ca38ec2054c99e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "319a8943-1286-4528-b000-4f9a2b0f8040", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:19 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "319a8943-1286-4528-b000-4f9a2b0f8040", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "319a8943-1286-4528-b000-4f9a2b0f8040", + "x-ms-ratelimit-remaining-tenant-reads": "11955", + "x-ms-request-id": "westus2:319a8943-1286-4528-b000-4f9a2b0f8040", + "x-ms-routing-request-id": "WESTUS2:20210712T032320Z:319a8943-1286-4528-b000-4f9a2b0f8040" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-1b72e59b1ec6c340-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "161e593a4e7fdd1b605418f38122d262", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b8a52afc-86ff-43ca-9ef6-17cc2fe9138d", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:20 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b8a52afc-86ff-43ca-9ef6-17cc2fe9138d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b8a52afc-86ff-43ca-9ef6-17cc2fe9138d", + "x-ms-ratelimit-remaining-tenant-reads": "11954", + "x-ms-request-id": "westus2:b8a52afc-86ff-43ca-9ef6-17cc2fe9138d", + "x-ms-routing-request-id": "WESTUS2:20210712T032321Z:b8a52afc-86ff-43ca-9ef6-17cc2fe9138d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-d9860cabc98b8f42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2d88975ea67199039be48759a1c3f20c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "101cf356-25d9-4f34-b831-1cc13ee3367e", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:21 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "101cf356-25d9-4f34-b831-1cc13ee3367e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "101cf356-25d9-4f34-b831-1cc13ee3367e", + "x-ms-ratelimit-remaining-tenant-reads": "11953", + "x-ms-request-id": "westus2:101cf356-25d9-4f34-b831-1cc13ee3367e", + "x-ms-routing-request-id": "WESTUS2:20210712T032322Z:101cf356-25d9-4f34-b831-1cc13ee3367e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-095e050c4f2d2c48-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2e3b97c90fac588039be9aa6ba750f01", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c1173da3-8f97-4d84-acb9-b40a177e1013", + "Content-Length": "163", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:22 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c1173da3-8f97-4d84-acb9-b40a177e1013", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c1173da3-8f97-4d84-acb9-b40a177e1013", + "x-ms-ratelimit-remaining-tenant-reads": "11952", + "x-ms-request-id": "westus2:c1173da3-8f97-4d84-acb9-b40a177e1013", + "x-ms-routing-request-id": "WESTUS2:20210712T032323Z:c1173da3-8f97-4d84-acb9-b40a177e1013" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-436ad286af8b8646-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "898dd6f89bcc942c56857b9ac7c23b9d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "5ab12bf0-fc03-4ccc-a796-52a788aa6ea0", + "Content-Length": "382", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "5ab12bf0-fc03-4ccc-a796-52a788aa6ea0", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5ab12bf0-fc03-4ccc-a796-52a788aa6ea0", + "x-ms-ratelimit-remaining-tenant-reads": "11951", + "x-ms-request-id": "westus2:5ab12bf0-fc03-4ccc-a796-52a788aa6ea0", + "x-ms-routing-request-id": "WESTUS2:20210712T032324Z:5ab12bf0-fc03-4ccc-a796-52a788aa6ea0" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-6022", + "name": "mgmt-group-6022", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-6022", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:23:06.8979418Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db3c49e90672fc43ae36d7e5023e7a31-51f27f19a609f049-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ea290c62a4e74fb6162ff4b30b5ddf25", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "55032bc7-e1b0-4313-b4ab-085e6878381b", + "Content-Length": "565", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "55032bc7-e1b0-4313-b4ab-085e6878381b", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "55032bc7-e1b0-4313-b4ab-085e6878381b", + "x-ms-ratelimit-remaining-tenant-reads": "11950", + "x-ms-request-id": "westus2:55032bc7-e1b0-4313-b4ab-085e6878381b", + "x-ms-routing-request-id": "WESTUS2:20210712T032324Z:55032bc7-e1b0-4313-b4ab-085e6878381b" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-6022", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-6022", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-6022", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:23:06.8979418Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-6022?api-version=2021-04-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "34", + "Content-Type": "application/json", + "traceparent": "00-3d8601103612b044bb0b0db0e1afac00-b3c801b8899d664a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "cb6185d569352d3f6aa6d72694e69177", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "displayName": "New Display Name" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "de329d58-008b-4613-af19-06223e3412cf", + "Content-Length": "566", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:23:29 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "de329d58-008b-4613-af19-06223e3412cf", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "de329d58-008b-4613-af19-06223e3412cf", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-writes": "1197", + "x-ms-request-id": "westus2:de329d58-008b-4613-af19-06223e3412cf", + "x-ms-routing-request-id": "WESTUS2:20210712T032330Z:de329d58-008b-4613-af19-06223e3412cf" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-6022", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-6022", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "New Display Name", + "details": { + "version": 2, + "updatedTime": "2021-07-12T03:23:25.2873341Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "120121711", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/UpdateAsync.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/UpdateAsync.json new file mode 100644 index 000000000000..8a4f09c53fdc --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ManagementGroupOperationsTests/UpdateAsync.json @@ -0,0 +1,1029 @@ +{ + "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.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ee9f754cfb38551bb114baecf8c8c9bd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "450", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:41 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "466d8d20-15f1-4ced-abb1-188a0db9c2c6", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "466d8d20-15f1-4ced-abb1-188a0db9c2c6", + "x-ms-routing-request-id": "WESTUS2:20210712T032841Z:466d8d20-15f1-4ced-abb1-188a0db9c2c6" + }, + "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": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "17", + "Content-Type": "application/json", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-3ebe14dbe4791f4f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "dc0484f450a5ab31b345fdefb0d9d9c7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "properties": {} + }, + "StatusCode": 202, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "18d77971-c188-4a2c-8285-fe0b9f2c064d", + "Content-Length": "165", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "18d77971-c188-4a2c-8285-fe0b9f2c064d", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "18d77971-c188-4a2c-8285-fe0b9f2c064d", + "x-ms-ratelimit-remaining-managementgroups-requests": "57", + "x-ms-ratelimit-remaining-tenant-writes": "1197", + "x-ms-request-id": "westus2:18d77971-c188-4a2c-8285-fe0b9f2c064d", + "x-ms-routing-request-id": "WESTUS2:20210712T032841Z:18d77971-c188-4a2c-8285-fe0b9f2c064d" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-185", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-185", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-31fd75a726a7124c-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "93467a64f51525a66d4285b61e65013a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "1b0db099-a7cd-4331-91a3-ba0f3fe9f937", + "Content-Length": "164", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:41 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "1b0db099-a7cd-4331-91a3-ba0f3fe9f937", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1b0db099-a7cd-4331-91a3-ba0f3fe9f937", + "x-ms-ratelimit-remaining-tenant-reads": "11946", + "x-ms-request-id": "westus2:1b0db099-a7cd-4331-91a3-ba0f3fe9f937", + "x-ms-routing-request-id": "WESTUS2:20210712T032841Z:1b0db099-a7cd-4331-91a3-ba0f3fe9f937" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "NotStarted" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-bd0d796f60d00449-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "70f724e0e6fa2d3421de701f0b02220e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "5f6e3ffe-90ee-4052-ab71-9df004aaf6ae", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:43 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "5f6e3ffe-90ee-4052-ab71-9df004aaf6ae", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "5f6e3ffe-90ee-4052-ab71-9df004aaf6ae", + "x-ms-ratelimit-remaining-tenant-reads": "11945", + "x-ms-request-id": "westus2:5f6e3ffe-90ee-4052-ab71-9df004aaf6ae", + "x-ms-routing-request-id": "WESTUS2:20210712T032843Z:5f6e3ffe-90ee-4052-ab71-9df004aaf6ae" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-e3fc7c25ae80694d-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "358bf88d45920bb2b1a968b841ab0705", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c013dc5d-9cf5-478a-b7a8-a5ba43bb7923", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:44 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c013dc5d-9cf5-478a-b7a8-a5ba43bb7923", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c013dc5d-9cf5-478a-b7a8-a5ba43bb7923", + "x-ms-ratelimit-remaining-tenant-reads": "11944", + "x-ms-request-id": "westus2:c013dc5d-9cf5-478a-b7a8-a5ba43bb7923", + "x-ms-routing-request-id": "WESTUS2:20210712T032844Z:c013dc5d-9cf5-478a-b7a8-a5ba43bb7923" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-dcd4a1f710aa874b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "634e098547ad7e0a461971368487196b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "69320431-440a-480b-bc72-64fca400317f", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:45 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "69320431-440a-480b-bc72-64fca400317f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "69320431-440a-480b-bc72-64fca400317f", + "x-ms-ratelimit-remaining-tenant-reads": "11943", + "x-ms-request-id": "westus2:69320431-440a-480b-bc72-64fca400317f", + "x-ms-routing-request-id": "WESTUS2:20210712T032845Z:69320431-440a-480b-bc72-64fca400317f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-45e004788aa99c49-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "26287720cbda9ba772ecbf507d7bec75", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "b29233b0-8af9-47a5-b66a-aec220bd67e2", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:46 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "b29233b0-8af9-47a5-b66a-aec220bd67e2", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "b29233b0-8af9-47a5-b66a-aec220bd67e2", + "x-ms-ratelimit-remaining-tenant-reads": "11942", + "x-ms-request-id": "westus2:b29233b0-8af9-47a5-b66a-aec220bd67e2", + "x-ms-routing-request-id": "WESTUS2:20210712T032846Z:b29233b0-8af9-47a5-b66a-aec220bd67e2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-6ec042cd2961e541-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "02996ad7bfb44660ed0cee79d37b8629", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "83307294-521d-4151-b4e0-fe2a8c1d302f", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:47 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "83307294-521d-4151-b4e0-fe2a8c1d302f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "83307294-521d-4151-b4e0-fe2a8c1d302f", + "x-ms-ratelimit-remaining-tenant-reads": "11941", + "x-ms-request-id": "westus2:83307294-521d-4151-b4e0-fe2a8c1d302f", + "x-ms-routing-request-id": "WESTUS2:20210712T032847Z:83307294-521d-4151-b4e0-fe2a8c1d302f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-f5848709dec93943-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c998fc90e083b92b61b2f1c087b900ca", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "94a6fb79-5857-46e2-a6a1-827f38b8721c", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:48 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "94a6fb79-5857-46e2-a6a1-827f38b8721c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "94a6fb79-5857-46e2-a6a1-827f38b8721c", + "x-ms-ratelimit-remaining-tenant-reads": "11940", + "x-ms-request-id": "westus2:94a6fb79-5857-46e2-a6a1-827f38b8721c", + "x-ms-routing-request-id": "WESTUS2:20210712T032848Z:94a6fb79-5857-46e2-a6a1-827f38b8721c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-8f46a563a4ea254a-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "195ffb2c16ee60b716e238cddd2ec8f6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "773ebc99-6b6d-48fd-8af1-0255456b8ac1", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:49 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "773ebc99-6b6d-48fd-8af1-0255456b8ac1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "773ebc99-6b6d-48fd-8af1-0255456b8ac1", + "x-ms-ratelimit-remaining-tenant-reads": "11939", + "x-ms-request-id": "westus2:773ebc99-6b6d-48fd-8af1-0255456b8ac1", + "x-ms-routing-request-id": "WESTUS2:20210712T032849Z:773ebc99-6b6d-48fd-8af1-0255456b8ac1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-b48c15b6982d3c44-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "80bf956522e3f6f23fdfa001cea0be33", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "49fe0856-1a70-42e4-b93e-ab3265f01166", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:50 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "49fe0856-1a70-42e4-b93e-ab3265f01166", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "49fe0856-1a70-42e4-b93e-ab3265f01166", + "x-ms-ratelimit-remaining-tenant-reads": "11938", + "x-ms-request-id": "westus2:49fe0856-1a70-42e4-b93e-ab3265f01166", + "x-ms-routing-request-id": "WESTUS2:20210712T032850Z:49fe0856-1a70-42e4-b93e-ab3265f01166" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-30dadd9142510145-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d74c230c6d1b7a3b4537b2a0a75ddc32", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "d5858305-da15-4b31-b483-f9f5ca07e456", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:51 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "d5858305-da15-4b31-b483-f9f5ca07e456", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d5858305-da15-4b31-b483-f9f5ca07e456", + "x-ms-ratelimit-remaining-tenant-reads": "11937", + "x-ms-request-id": "westus2:d5858305-da15-4b31-b483-f9f5ca07e456", + "x-ms-routing-request-id": "WESTUS2:20210712T032852Z:d5858305-da15-4b31-b483-f9f5ca07e456" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-1a51443dcc6f9048-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f25afaea7ffa0ae60969d90e75b59276", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "2d556ded-3dff-4f61-816c-7ebc1add0fd2", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:52 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "2d556ded-3dff-4f61-816c-7ebc1add0fd2", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2d556ded-3dff-4f61-816c-7ebc1add0fd2", + "x-ms-ratelimit-remaining-tenant-reads": "11936", + "x-ms-request-id": "westus2:2d556ded-3dff-4f61-816c-7ebc1add0fd2", + "x-ms-routing-request-id": "WESTUS2:20210712T032853Z:2d556ded-3dff-4f61-816c-7ebc1add0fd2" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-dcd924baddb65946-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b9c10524f0e1f8da59453bac70524ee2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "6fa71914-d193-4c6c-af7c-9584e0c5ba6f", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:54 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "6fa71914-d193-4c6c-af7c-9584e0c5ba6f", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6fa71914-d193-4c6c-af7c-9584e0c5ba6f", + "x-ms-ratelimit-remaining-tenant-reads": "11935", + "x-ms-request-id": "westus2:6fa71914-d193-4c6c-af7c-9584e0c5ba6f", + "x-ms-routing-request-id": "WESTUS2:20210712T032854Z:6fa71914-d193-4c6c-af7c-9584e0c5ba6f" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-fb6fd494ae11654f-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d3176d02cc458d393c42ceb2932d048f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "9befbedd-c955-4017-882f-3df83a0d8886", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:55 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "9befbedd-c955-4017-882f-3df83a0d8886", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "9befbedd-c955-4017-882f-3df83a0d8886", + "x-ms-ratelimit-remaining-tenant-reads": "11934", + "x-ms-request-id": "westus2:9befbedd-c955-4017-882f-3df83a0d8886", + "x-ms-routing-request-id": "WESTUS2:20210712T032855Z:9befbedd-c955-4017-882f-3df83a0d8886" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-1ecc8164d7afea42-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "a27c3ca5229cf951206298b4433a99b7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "e3c3afa5-bdb5-4165-941c-23b475a3c674", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:56 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "e3c3afa5-bdb5-4165-941c-23b475a3c674", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e3c3afa5-bdb5-4165-941c-23b475a3c674", + "x-ms-ratelimit-remaining-tenant-reads": "11933", + "x-ms-request-id": "westus2:e3c3afa5-bdb5-4165-941c-23b475a3c674", + "x-ms-routing-request-id": "WESTUS2:20210712T032856Z:e3c3afa5-bdb5-4165-941c-23b475a3c674" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-99929aa590f66343-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "070bf61abe9e5731cb337d9f2227642c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "56a4a3dc-3c1e-4537-9571-f3bad289d494", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:57 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "56a4a3dc-3c1e-4537-9571-f3bad289d494", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "56a4a3dc-3c1e-4537-9571-f3bad289d494", + "x-ms-ratelimit-remaining-tenant-reads": "11932", + "x-ms-request-id": "westus2:56a4a3dc-3c1e-4537-9571-f3bad289d494", + "x-ms-routing-request-id": "WESTUS2:20210712T032857Z:56a4a3dc-3c1e-4537-9571-f3bad289d494" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-4d29a4c5f334f44e-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "3307ac41abd5e0461c1eb3e234854902", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "c28ab9e4-db8f-409e-8cc0-f99c5504184e", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:58 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "c28ab9e4-db8f-409e-8cc0-f99c5504184e", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c28ab9e4-db8f-409e-8cc0-f99c5504184e", + "x-ms-ratelimit-remaining-tenant-reads": "11931", + "x-ms-request-id": "westus2:c28ab9e4-db8f-409e-8cc0-f99c5504184e", + "x-ms-routing-request-id": "WESTUS2:20210712T032858Z:c28ab9e4-db8f-409e-8cc0-f99c5504184e" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-2247357793c3c74b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9c9717a8fc21e6f10b24d768a5b1d7f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "ccc2ce99-0466-463b-a75d-980f0e2319e1", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:28:59 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "ccc2ce99-0466-463b-a75d-980f0e2319e1", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ccc2ce99-0466-463b-a75d-980f0e2319e1", + "x-ms-ratelimit-remaining-tenant-reads": "11930", + "x-ms-request-id": "westus2:ccc2ce99-0466-463b-a75d-980f0e2319e1", + "x-ms-routing-request-id": "WESTUS2:20210712T032859Z:ccc2ce99-0466-463b-a75d-980f0e2319e1" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-cd1887f7c4d70143-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "97726bfe65326fe1b02beb800b4e2345", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "07dbba66-2d58-4ced-9169-e9e67260589c", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:29:00 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "07dbba66-2d58-4ced-9169-e9e67260589c", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "07dbba66-2d58-4ced-9169-e9e67260589c", + "x-ms-ratelimit-remaining-tenant-reads": "11929", + "x-ms-request-id": "westus2:07dbba66-2d58-4ced-9169-e9e67260589c", + "x-ms-routing-request-id": "WESTUS2:20210712T032901Z:07dbba66-2d58-4ced-9169-e9e67260589c" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-abcdeae9ca9a6540-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0af67be9c790450bba2128b0d4dd3a6b", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "0f660da5-ba38-4e21-8822-8726bfefa9bc", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:29:01 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "0f660da5-ba38-4e21-8822-8726bfefa9bc", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0f660da5-ba38-4e21-8822-8726bfefa9bc", + "x-ms-ratelimit-remaining-tenant-reads": "11928", + "x-ms-request-id": "westus2:0f660da5-ba38-4e21-8822-8726bfefa9bc", + "x-ms-routing-request-id": "WESTUS2:20210712T032902Z:0f660da5-ba38-4e21-8822-8726bfefa9bc" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-71ec001065ad5f40-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "c8e4ba46b21242cf3528ecf61170dabc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Cache-Control": "no-cache", + "client-request-id": "a3710bf6-d935-4718-9456-6fcdcc385670", + "Content-Length": "161", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:29:02 GMT", + "Expires": "-1", + "Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/mgmt-group-185?api-version=2021-04-01", + "Pragma": "no-cache", + "request-id": "a3710bf6-d935-4718-9456-6fcdcc385670", + "Retry-After": "10", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "a3710bf6-d935-4718-9456-6fcdcc385670", + "x-ms-ratelimit-remaining-tenant-reads": "11927", + "x-ms-request-id": "westus2:a3710bf6-d935-4718-9456-6fcdcc385670", + "x-ms-routing-request-id": "WESTUS2:20210712T032903Z:a3710bf6-d935-4718-9456-6fcdcc385670" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Running" + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-0a9ab8419bb22249-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2a7f9101ccba3668602ddc113d309ad2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "e918449b-3dfa-40ae-939d-28fba06fc249", + "Content-Length": "379", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:29:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "e918449b-3dfa-40ae-939d-28fba06fc249", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "e918449b-3dfa-40ae-939d-28fba06fc249", + "x-ms-ratelimit-remaining-tenant-reads": "11926", + "x-ms-request-id": "westus2:e918449b-3dfa-40ae-939d-28fba06fc249", + "x-ms-routing-request-id": "WESTUS2:20210712T032904Z:e918449b-3dfa-40ae-939d-28fba06fc249" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/operationResults/create/asyncOperation/status/managementGroups/mgmt-group-185", + "name": "mgmt-group-185", + "status": "Succeeded", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-185", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:28:47.4712147Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27" + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-050309f64eccd74daf2509e841be9ef9-1313abfd1aa50448-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "50397ff05a693733abb4d567da143449", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "bfc78ebb-c8eb-4df7-8e0e-4a6f2147b780", + "Content-Length": "562", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:29:04 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "bfc78ebb-c8eb-4df7-8e0e-4a6f2147b780", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "bfc78ebb-c8eb-4df7-8e0e-4a6f2147b780", + "x-ms-ratelimit-remaining-tenant-reads": "11925", + "x-ms-request-id": "westus2:bfc78ebb-c8eb-4df7-8e0e-4a6f2147b780", + "x-ms-routing-request-id": "WESTUS2:20210712T032904Z:bfc78ebb-c8eb-4df7-8e0e-4a6f2147b780" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-185", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-185", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "mgmt-group-185", + "details": { + "version": 1, + "updatedTime": "2021-07-12T03:28:47.4712147Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + }, + { + "RequestUri": "https://management.azure.com/providers/Microsoft.Management/managementGroups/mgmt-group-185?api-version=2021-04-01", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "34", + "Content-Type": "application/json", + "traceparent": "00-3f29cea6c766c5469cb822bed50d7ff1-93323e9cf107ce4b-00", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210711.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "42af6c46105e7ab052ae68e5d5bd0504", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "displayName": "New Display Name" + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "client-request-id": "c8ff8fb3-b667-4334-95e6-20ad55eef375", + "Content-Length": "564", + "Content-Type": "application/json; charset=utf-8", + "Date": "Mon, 12 Jul 2021 03:29:09 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "request-id": "c8ff8fb3-b667-4334-95e6-20ad55eef375", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "x-ba-restapi": "1.0.3.1627", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "c8ff8fb3-b667-4334-95e6-20ad55eef375", + "x-ms-ratelimit-remaining-managementgroups-requests": "59", + "x-ms-ratelimit-remaining-tenant-writes": "1196", + "x-ms-request-id": "westus2:c8ff8fb3-b667-4334-95e6-20ad55eef375", + "x-ms-routing-request-id": "WESTUS2:20210712T032910Z:c8ff8fb3-b667-4334-95e6-20ad55eef375" + }, + "ResponseBody": { + "id": "/providers/Microsoft.Management/managementGroups/mgmt-group-185", + "type": "Microsoft.Management/managementGroups", + "name": "mgmt-group-185", + "properties": { + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "New Display Name", + "details": { + "version": 2, + "updatedTime": "2021-07-12T03:29:05.0746947Z", + "updatedBy": "3b10dae3-28cf-49a7-a8df-8fbae3e77f27", + "parent": { + "id": "/providers/Microsoft.Management/managementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47", + "name": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + } + } + } + } + ], + "Variables": { + "RandomSeed": "1378822567", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file