From 7cb651720ee1423e0b51adcadad8eecbbaa99dc4 Mon Sep 17 00:00:00 2001 From: Igor Solenov Date: Fri, 10 Feb 2023 12:50:09 +0000 Subject: [PATCH 1/7] Code generation 2023-01-31 --- .../CHANGELOG.md | 12 ++ ...ManagedServiceIdentities.netstandard2.0.cs | 9 - ...rceManager.ManagedServiceIdentities.csproj | 2 +- ...ciatedResourcesListResult.Serialization.cs | 57 ----- .../Models/AssociatedResourcesListResult.cs | 40 ---- ...ityAssociatedResourceData.Serialization.cs | 71 ------- .../Models/IdentityAssociatedResourceData.cs | 43 ---- ...eratedIdentityCredentialsRestOperations.cs | 22 +- .../SystemAssignedIdentitiesRestOperations.cs | 2 +- .../UserAssignedIdentitiesRestOperations.cs | 197 +----------------- .../Generated/UserAssignedIdentityResource.cs | 54 ----- .../src/autorest.md | 4 +- 12 files changed, 28 insertions(+), 485 deletions(-) delete mode 100644 sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.Serialization.cs delete mode 100644 sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.cs delete mode 100644 sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.Serialization.cs delete mode 100644 sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.cs diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md index 7a31450da0dc..7bc9950d6396 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md @@ -1,5 +1,17 @@ # Release History +## 2.0.0 + +### Features Added +Create/Update/Delete federated identity credentials. + +### Breaking Changes +`ListAssociatedResources` available in beta version is removed from the stable version. + +### Bugs Fixed + +### Other Changes + ## 1.1.0-beta.2 (Unreleased) ### Features Added diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs index aff5c8d5a81a..8acc40ebffb7 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs @@ -121,8 +121,6 @@ protected UserAssignedIdentityResource() { } public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetAssociatedResources(string filter = null, string orderby = null, int? top = default(int?), int? skip = default(int?), string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetAssociatedResourcesAsync(string filter = null, string orderby = null, int? top = default(int?), int? skip = default(int?), string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetFederatedIdentityCredential(string federatedIdentityCredentialResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetFederatedIdentityCredentialAsync(string federatedIdentityCredentialResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -137,13 +135,6 @@ protected UserAssignedIdentityResource() { } } namespace Azure.ResourceManager.ManagedServiceIdentities.Models { - public partial class IdentityAssociatedResourceData : Azure.ResourceManager.Models.ResourceData - { - internal IdentityAssociatedResourceData() { } - public string ResourceGroup { get { throw null; } } - public string SubscriptionDisplayName { get { throw null; } } - public string SubscriptionId { get { throw null; } } - } public partial class UserAssignedIdentityPatch : Azure.ResourceManager.Models.TrackedResourceData { public UserAssignedIdentityPatch(Azure.Core.AzureLocation location) : base (default(Azure.Core.AzureLocation)) { } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj index a5ae3c0168f4..68148e5622b0 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj @@ -1,6 +1,6 @@ - 1.1.0-beta.2 + 2.0.0 1.0.0 Azure.ResourceManager.ManagedServiceIdentities diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.Serialization.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.Serialization.cs deleted file mode 100644 index aa5794e3498f..000000000000 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.Serialization.cs +++ /dev/null @@ -1,57 +0,0 @@ -// 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.ManagedServiceIdentities.Models -{ - internal partial class AssociatedResourcesListResult - { - internal static AssociatedResourcesListResult DeserializeAssociatedResourcesListResult(JsonElement element) - { - Optional totalCount = default; - Optional> value = default; - Optional nextLink = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("totalCount"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - totalCount = property.Value.GetSingle(); - continue; - } - if (property.NameEquals("value"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(IdentityAssociatedResourceData.DeserializeIdentityAssociatedResourceData(item)); - } - value = array; - continue; - } - if (property.NameEquals("nextLink"u8)) - { - nextLink = property.Value.GetString(); - continue; - } - } - return new AssociatedResourcesListResult(Optional.ToNullable(totalCount), Optional.ToList(value), nextLink.Value); - } - } -} diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.cs deleted file mode 100644 index 8763d41c6182..000000000000 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/AssociatedResourcesListResult.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.ResourceManager.ManagedServiceIdentities.Models -{ - /// Azure resources returned by the resource action to get a list of assigned resources. - internal partial class AssociatedResourcesListResult - { - /// Initializes a new instance of AssociatedResourcesListResult. - internal AssociatedResourcesListResult() - { - Value = new ChangeTrackingList(); - } - - /// Initializes a new instance of AssociatedResourcesListResult. - /// Total number of Azure resources assigned to the identity. - /// The collection of Azure resources returned by the resource action to get a list of assigned resources. - /// The url to get the next page of results, if any. - internal AssociatedResourcesListResult(float? totalCount, IReadOnlyList value, string nextLink) - { - TotalCount = totalCount; - Value = value; - NextLink = nextLink; - } - - /// Total number of Azure resources assigned to the identity. - public float? TotalCount { get; } - /// The collection of Azure resources returned by the resource action to get a list of assigned resources. - public IReadOnlyList Value { get; } - /// The url to get the next page of results, if any. - public string NextLink { get; } - } -} diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.Serialization.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.Serialization.cs deleted file mode 100644 index 5dad199c59f4..000000000000 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.Serialization.cs +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; -using Azure.ResourceManager.Models; - -namespace Azure.ResourceManager.ManagedServiceIdentities.Models -{ - public partial class IdentityAssociatedResourceData - { - internal static IdentityAssociatedResourceData DeserializeIdentityAssociatedResourceData(JsonElement element) - { - Optional resourceGroup = default; - Optional subscriptionId = default; - Optional subscriptionDisplayName = default; - ResourceIdentifier id = default; - string name = default; - ResourceType type = default; - Optional systemData = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("resourceGroup"u8)) - { - resourceGroup = property.Value.GetString(); - continue; - } - if (property.NameEquals("subscriptionId"u8)) - { - subscriptionId = property.Value.GetString(); - continue; - } - if (property.NameEquals("subscriptionDisplayName"u8)) - { - subscriptionDisplayName = property.Value.GetString(); - continue; - } - if (property.NameEquals("id"u8)) - { - id = new ResourceIdentifier(property.Value.GetString()); - continue; - } - if (property.NameEquals("name"u8)) - { - name = property.Value.GetString(); - continue; - } - if (property.NameEquals("type"u8)) - { - type = new ResourceType(property.Value.GetString()); - continue; - } - if (property.NameEquals("systemData"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - systemData = JsonSerializer.Deserialize(property.Value.GetRawText()); - continue; - } - } - return new IdentityAssociatedResourceData(id, name, type, systemData.Value, resourceGroup.Value, subscriptionId.Value, subscriptionDisplayName.Value); - } - } -} diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.cs deleted file mode 100644 index a405ed4f152b..000000000000 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/Models/IdentityAssociatedResourceData.cs +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using Azure.Core; -using Azure.ResourceManager.Models; - -namespace Azure.ResourceManager.ManagedServiceIdentities.Models -{ - /// Describes an Azure resource that is attached to an identity. - public partial class IdentityAssociatedResourceData : ResourceData - { - /// Initializes a new instance of IdentityAssociatedResourceData. - internal IdentityAssociatedResourceData() - { - } - - /// Initializes a new instance of IdentityAssociatedResourceData. - /// The id. - /// The name. - /// The resourceType. - /// The systemData. - /// The name of the resource group this resource belongs to. - /// The ID of the subscription this resource belongs to. - /// The name of the subscription this resource belongs to. - internal IdentityAssociatedResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string resourceGroup, string subscriptionId, string subscriptionDisplayName) : base(id, name, resourceType, systemData) - { - ResourceGroup = resourceGroup; - SubscriptionId = subscriptionId; - SubscriptionDisplayName = subscriptionDisplayName; - } - - /// The name of the resource group this resource belongs to. - public string ResourceGroup { get; } - /// The ID of the subscription this resource belongs to. - public string SubscriptionId { get; } - /// The name of the subscription this resource belongs to. - public string SubscriptionDisplayName { get; } - } -} diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/FederatedIdentityCredentialsRestOperations.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/FederatedIdentityCredentialsRestOperations.cs index 0eb21280852b..4a4c528245bc 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/FederatedIdentityCredentialsRestOperations.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/FederatedIdentityCredentialsRestOperations.cs @@ -33,7 +33,7 @@ public FederatedIdentityCredentialsRestOperations(HttpPipeline pipeline, string { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-01-31-preview"; + _apiVersion = apiVersion ?? "2023-01-31"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -68,7 +68,7 @@ internal HttpMessage CreateListRequest(string subscriptionId, string resourceGro /// Lists all the federated identity credentials under the specified user assigned identity. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// Number of records to return. /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. @@ -99,7 +99,7 @@ public async Task> ListAsync(st /// Lists all the federated identity credentials under the specified user assigned identity. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// Number of records to return. /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. @@ -156,7 +156,7 @@ internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string r /// Create or update a federated identity credential under the specified user assigned identity. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// The name of the federated identity credential resource. /// Parameters to create or update the federated identity credential. @@ -190,7 +190,7 @@ public async Task> CreateOrUpdateAsync /// Create or update a federated identity credential under the specified user assigned identity. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// The name of the federated identity credential resource. /// Parameters to create or update the federated identity credential. @@ -246,7 +246,7 @@ internal HttpMessage CreateGetRequest(string subscriptionId, string resourceGrou /// Gets the federated identity credential. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// The name of the federated identity credential resource. /// The cancellation token to use. @@ -279,7 +279,7 @@ public async Task> GetAsync(string sub /// Gets the federated identity credential. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// The name of the federated identity credential resource. /// The cancellation token to use. @@ -334,7 +334,7 @@ internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceG /// Deletes the federated identity credential. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// The name of the federated identity credential resource. /// The cancellation token to use. @@ -361,7 +361,7 @@ public async Task DeleteAsync(string subscriptionId, string resourceGr /// Deletes the federated identity credential. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// The name of the federated identity credential resource. /// The cancellation token to use. @@ -403,7 +403,7 @@ internal HttpMessage CreateListNextPageRequest(string nextLink, string subscript /// Lists all the federated identity credentials under the specified user assigned identity. /// The URL to the next page of results. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// Number of records to return. /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. @@ -436,7 +436,7 @@ public async Task> ListNextPage /// Lists all the federated identity credentials under the specified user assigned identity. /// The URL to the next page of results. /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. + /// The name of the resource group. The name is case insensitive. /// The name of the identity resource. /// Number of records to return. /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/SystemAssignedIdentitiesRestOperations.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/SystemAssignedIdentitiesRestOperations.cs index de9f1f1c6224..4fdc88db4a2e 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/SystemAssignedIdentitiesRestOperations.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/SystemAssignedIdentitiesRestOperations.cs @@ -32,7 +32,7 @@ public SystemAssignedIdentitiesRestOperations(HttpPipeline pipeline, string appl { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-01-31-preview"; + _apiVersion = apiVersion ?? "2023-01-31"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/UserAssignedIdentitiesRestOperations.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/UserAssignedIdentitiesRestOperations.cs index 61a0de37cf97..aca0835d819a 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/UserAssignedIdentitiesRestOperations.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/RestOperations/UserAssignedIdentitiesRestOperations.cs @@ -33,7 +33,7 @@ public UserAssignedIdentitiesRestOperations(HttpPipeline pipeline, string applic { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-01-31-preview"; + _apiVersion = apiVersion ?? "2023-01-31"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } @@ -177,115 +177,6 @@ public Response ListByResourceGroup(string sub } } - internal HttpMessage CreateListAssociatedResourcesRequest(string subscriptionId, string resourceGroupName, string resourceName, string filter, string orderby, int? top, int? skip, string skiptoken) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Post; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/subscriptions/", false); - uri.AppendPath(subscriptionId, true); - uri.AppendPath("/resourceGroups/", false); - uri.AppendPath(resourceGroupName, true); - uri.AppendPath("/providers/Microsoft.ManagedIdentity/userAssignedIdentities/", false); - uri.AppendPath(resourceName, true); - uri.AppendPath("/listAssociatedResources", false); - if (filter != null) - { - uri.AppendQuery("$filter", filter, true); - } - if (orderby != null) - { - uri.AppendQuery("$orderby", orderby, true); - } - if (top != null) - { - uri.AppendQuery("$top", top.Value, true); - } - if (skip != null) - { - uri.AppendQuery("$skip", skip.Value, true); - } - if (skiptoken != null) - { - uri.AppendQuery("$skiptoken", skiptoken, true); - } - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - _userAgent.Apply(message); - return message; - } - - /// Lists the associated resources for this identity. - /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. - /// The name of the identity resource. - /// OData filter expression to apply to the query. - /// OData orderBy expression to apply to the query. - /// Number of records to return. - /// Number of records to skip. - /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. - /// The cancellation token to use. - /// , or is null. - /// , or is an empty string, and was expected to be non-empty. - public async Task> ListAssociatedResourcesAsync(string subscriptionId, string resourceGroupName, string resourceName, string filter = null, string orderby = null, int? top = null, int? skip = null, string skiptoken = null, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - - using var message = CreateListAssociatedResourcesRequest(subscriptionId, resourceGroupName, resourceName, filter, orderby, top, skip, skiptoken); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 200: - { - AssociatedResourcesListResult value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = AssociatedResourcesListResult.DeserializeAssociatedResourcesListResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - - /// Lists the associated resources for this identity. - /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. - /// The name of the identity resource. - /// OData filter expression to apply to the query. - /// OData orderBy expression to apply to the query. - /// Number of records to return. - /// Number of records to skip. - /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. - /// The cancellation token to use. - /// , or is null. - /// , or is an empty string, and was expected to be non-empty. - public Response ListAssociatedResources(string subscriptionId, string resourceGroupName, string resourceName, string filter = null, string orderby = null, int? top = null, int? skip = null, string skiptoken = null, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - - using var message = CreateListAssociatedResourcesRequest(subscriptionId, resourceGroupName, resourceName, filter, orderby, top, skip, skiptoken); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 200: - { - AssociatedResourcesListResult value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream); - value = AssociatedResourcesListResult.DeserializeAssociatedResourcesListResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - internal HttpMessage CreateCreateOrUpdateRequest(string subscriptionId, string resourceGroupName, string resourceName, UserAssignedIdentityData data) { var message = _pipeline.CreateMessage(); @@ -751,91 +642,5 @@ public Response ListByResourceGroupNextPage(st throw new RequestFailedException(message.Response); } } - - internal HttpMessage CreateListAssociatedResourcesNextPageRequest(string nextLink, string subscriptionId, string resourceGroupName, string resourceName, string filter, string orderby, int? top, int? skip, 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; - request.Headers.Add("Accept", "application/json"); - _userAgent.Apply(message); - return message; - } - - /// Lists the associated resources for this identity. - /// The URL to the next page of results. - /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. - /// The name of the identity resource. - /// OData filter expression to apply to the query. - /// OData orderBy expression to apply to the query. - /// Number of records to return. - /// Number of records to skip. - /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. - /// The cancellation token to use. - /// , , or is null. - /// , or is an empty string, and was expected to be non-empty. - public async Task> ListAssociatedResourcesNextPageAsync(string nextLink, string subscriptionId, string resourceGroupName, string resourceName, string filter = null, string orderby = null, int? top = null, int? skip = null, string skiptoken = null, CancellationToken cancellationToken = default) - { - Argument.AssertNotNull(nextLink, nameof(nextLink)); - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - - using var message = CreateListAssociatedResourcesNextPageRequest(nextLink, subscriptionId, resourceGroupName, resourceName, filter, orderby, top, skip, skiptoken); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 200: - { - AssociatedResourcesListResult value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = AssociatedResourcesListResult.DeserializeAssociatedResourcesListResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - - /// Lists the associated resources for this identity. - /// The URL to the next page of results. - /// The Id of the Subscription to which the identity belongs. - /// The name of the Resource Group to which the identity belongs. - /// The name of the identity resource. - /// OData filter expression to apply to the query. - /// OData orderBy expression to apply to the query. - /// Number of records to return. - /// Number of records to skip. - /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. - /// The cancellation token to use. - /// , , or is null. - /// , or is an empty string, and was expected to be non-empty. - public Response ListAssociatedResourcesNextPage(string nextLink, string subscriptionId, string resourceGroupName, string resourceName, string filter = null, string orderby = null, int? top = null, int? skip = null, string skiptoken = null, CancellationToken cancellationToken = default) - { - Argument.AssertNotNull(nextLink, nameof(nextLink)); - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - - using var message = CreateListAssociatedResourcesNextPageRequest(nextLink, subscriptionId, resourceGroupName, resourceName, filter, orderby, top, skip, skiptoken); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 200: - { - AssociatedResourcesListResult value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream); - value = AssociatedResourcesListResult.DeserializeAssociatedResourcesListResult(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/UserAssignedIdentityResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/UserAssignedIdentityResource.cs index bb74dccd318a..f155d5e64861 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/UserAssignedIdentityResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Generated/UserAssignedIdentityResource.cs @@ -342,60 +342,6 @@ public virtual Response Update(UserAssignedIdentit } } - /// - /// Lists the associated resources for this identity. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/listAssociatedResources - /// - /// - /// Operation Id - /// UserAssignedIdentities_ListAssociatedResources - /// - /// - /// - /// OData filter expression to apply to the query. - /// OData orderBy expression to apply to the query. - /// Number of records to return. - /// Number of records to skip. - /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. - /// The cancellation token to use. - /// An async collection of that may take multiple service requests to iterate over. - public virtual AsyncPageable GetAssociatedResourcesAsync(string filter = null, string orderby = null, int? top = null, int? skip = null, string skiptoken = null, CancellationToken cancellationToken = default) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => _userAssignedIdentityRestClient.CreateListAssociatedResourcesRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, orderby, top, skip, skiptoken); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _userAssignedIdentityRestClient.CreateListAssociatedResourcesNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, orderby, top, skip, skiptoken); - return PageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, IdentityAssociatedResourceData.DeserializeIdentityAssociatedResourceData, _userAssignedIdentityClientDiagnostics, Pipeline, "UserAssignedIdentityResource.GetAssociatedResources", "value", "nextLink", cancellationToken); - } - - /// - /// Lists the associated resources for this identity. - /// - /// - /// Request Path - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/listAssociatedResources - /// - /// - /// Operation Id - /// UserAssignedIdentities_ListAssociatedResources - /// - /// - /// - /// OData filter expression to apply to the query. - /// OData orderBy expression to apply to the query. - /// Number of records to return. - /// Number of records to skip. - /// A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. - /// The cancellation token to use. - /// A collection of that may take multiple service requests to iterate over. - public virtual Pageable GetAssociatedResources(string filter = null, string orderby = null, int? top = null, int? skip = null, string skiptoken = null, CancellationToken cancellationToken = default) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => _userAssignedIdentityRestClient.CreateListAssociatedResourcesRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, orderby, top, skip, skiptoken); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _userAssignedIdentityRestClient.CreateListAssociatedResourcesNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName, Id.Name, filter, orderby, top, skip, skiptoken); - return PageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, IdentityAssociatedResourceData.DeserializeIdentityAssociatedResourceData, _userAssignedIdentityClientDiagnostics, Pipeline, "UserAssignedIdentityResource.GetAssociatedResources", "value", "nextLink", cancellationToken); - } - /// /// Add a tag to the current resource. /// diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md index 216c3675a96f..1f6c58209a0c 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/autorest.md @@ -8,8 +8,8 @@ azure-arm: true csharp: true library-name: ManagedServiceIdentities namespace: Azure.ResourceManager.ManagedServiceIdentities -require: https://github.com/Azure/azure-rest-api-specs/blob/1ddabd9234338d209f9755beac5c13cc0ae3b5f7/specification/msi/resource-manager/readme.md -tag: package-preview-2022-01 +require: https://github.com/Azure/azure-rest-api-specs/blob/1e790cfc5ee4e7ff98f99dd19a3174c4dd58432b/specification/msi/resource-manager/readme.md +tag: package-2023-01-31 output-folder: $(this-folder)/Generated clear-output-folder: true skip-csproj: true From 38ff506403057f5f3f08f0176ab07907974a8d40 Mon Sep 17 00:00:00 2001 From: Igor Solenov Date: Fri, 10 Feb 2023 13:32:03 +0000 Subject: [PATCH 2/7] Tests are updated --- .../CreateOrUpdate.json | 99 +- .../CreateOrUpdateAsync.json | 99 +- .../Get.json | 125 ++- .../GetAll.json | 163 ++-- .../GetAllAsync.json | 162 ++-- .../GetAsync.json | 125 ++- .../AddTag(False).json | 169 ++-- .../AddTag(False)Async.json | 169 ++-- .../AddTag(True).json | 173 ++-- .../AddTag(True)Async.json | 181 ++-- .../AddTag(null).json | 794 +++++++++------- .../AddTag(null)Async.json | 792 +++++++++------- .../Delete.json | 123 ++- .../DeleteAsync.json | 121 ++- .../Get.json | 133 ++- .../GetAsync.json | 133 ++- .../RemoveTag(False).json | 217 ++--- .../RemoveTag(False)Async.json | 218 ++--- .../RemoveTag(True).json | 273 +++--- .../RemoveTag(True)Async.json | 273 +++--- .../RemoveTag(null).json | 868 +++++++++-------- .../RemoveTag(null)Async.json | 878 ++++++++++-------- .../SetTags(False).json | 169 ++-- .../SetTags(False)Async.json | 162 ++-- .../SetTags(True).json | 197 ++-- .../SetTags(True)Async.json | 191 ++-- .../SetTags(null).json | 800 ++++++++-------- .../SetTags(null)Async.json | 802 ++++++++-------- 28 files changed, 4378 insertions(+), 4231 deletions(-) diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdate.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdate.json index c2423b143d33..a200789d3686 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdate.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdate.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-653243639b11c4f64115ac06be365429-6886b948f6b95c35-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "2941778384911637290f44265e8b4de7", + "traceparent": "00-ccc8bcad661a92ffa7880b3f24038214-9bf5fc42358f19cc-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5167057190303633858771aa6ada4f8a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:01 GMT", + "Date": "Fri, 10 Feb 2023 13:20:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8c920a5c-8d6a-42ea-b0de-ad25b523314c", + "x-ms-correlation-request-id": "5bb4d1ea-12bc-4b08-a506-b5383baf91c0", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "8c920a5c-8d6a-42ea-b0de-ad25b523314c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091101Z:8c920a5c-8d6a-42ea-b0de-ad25b523314c" + "x-ms-request-id": "5bb4d1ea-12bc-4b08-a506-b5383baf91c0", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132044Z:5bb4d1ea-12bc-4b08-a506-b5383baf91c0" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg4478?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9038?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-c3ece6df68875f64cab887451aa1d052-85540dfa29467779-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "b037fb9cdf084a255e0c80947fd2f882", + "traceparent": "00-7e6b7fa9ee6609fa0ba481b8fea62a40-30a7893837bcf4f9-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "285af28c6b8e5744bf371f3cd91c5274", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:02 GMT", + "Date": "Fri, 10 Feb 2023 13:20:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4b0be051-1b18-4dfc-b703-ca37018961fc", + "x-ms-correlation-request-id": "c58c0c24-33bd-49fc-a7e8-93d54da15020", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "4b0be051-1b18-4dfc-b703-ca37018961fc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091102Z:4b0be051-1b18-4dfc-b703-ca37018961fc" + "x-ms-request-id": "c58c0c24-33bd-49fc-a7e8-93d54da15020", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132045Z:c58c0c24-33bd-49fc-a7e8-93d54da15020" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg4478", - "name": "uai-rg4478", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9038", + "name": "uai-rg9038", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg4478/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2514?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9038/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8418?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-a60f0c048befe6ee390608c696523940-1c1872b123ad6f73-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "fb740d2ed0ac792c41e1d9b166c50086", + "traceparent": "00-7abdf7808f25ca13f8344a5a7ae16d28-a3dbff0f2a35d3aa-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bfcd2458ae71b23ca86f7cc5ab491864", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,35 +106,35 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:07 GMT", + "Date": "Fri, 10 Feb 2023 13:20:47 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg4478/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2514", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9038/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8418", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3503b030-ad7a-4c83-b46e-11f91342c18c", + "x-ms-correlation-request-id": "db34c058-79e9-4ce0-84e0-5e4c75b7e14f", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "3503b030-ad7a-4c83-b46e-11f91342c18c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091108Z:3503b030-ad7a-4c83-b46e-11f91342c18c" + "x-ms-request-id": "db34c058-79e9-4ce0-84e0-5e4c75b7e14f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132048Z:db34c058-79e9-4ce0-84e0-5e4c75b7e14f" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg4478/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2514", - "name": "uai2514", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9038/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8418", + "name": "uai8418", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "1430ce72-5be4-4227-b20f-8bd75fb7543b", - "clientId": "a3a1f8a1-aec9-4a38-bcf5-106797d4d502" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "34908bb2-31ff-414f-85ed-2f8636519b89", + "clientId": "171e5455-4fa2-4a22-942d-467c773e8dca" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1803932848", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "718011694", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdateAsync.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdateAsync.json index 90e75c33eddd..2c9e281e3b3b 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdateAsync.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/CreateOrUpdateAsync.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-c2696cb5060924af3a1f1de2ba2596f8-c4d61f039c63ee34-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "0fed6b6c880a34ad1e5d6eb42a65c9d6", + "traceparent": "00-91703b4e12e303cc50ebc83811fc9d5e-4e1d294fc9dafdf2-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "161c430e94076d648026f3dfff2a52b0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:34 GMT", + "Date": "Fri, 10 Feb 2023 13:21:00 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a93ef57f-9960-4fe5-b2aa-f873fd67f530", + "x-ms-correlation-request-id": "d9ea2574-d954-4f56-bd7b-3ab8e6e65289", "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "a93ef57f-9960-4fe5-b2aa-f873fd67f530", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091135Z:a93ef57f-9960-4fe5-b2aa-f873fd67f530" + "x-ms-request-id": "d9ea2574-d954-4f56-bd7b-3ab8e6e65289", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132101Z:d9ea2574-d954-4f56-bd7b-3ab8e6e65289" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2154?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9691?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-4832ff0bd5b9ba21d8dbaba70fb28323-616bbc318e470675-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "102bed29bafb5618cfbfb5f56d9bcc0e", + "traceparent": "00-1c44e13f0cf6a4170a97f92d55153520-c27aeda637ea4a5f-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b2acbf66e134696a679f0dc523783b00", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:36 GMT", + "Date": "Fri, 10 Feb 2023 13:21:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "30b3f44e-f3ef-4c01-951f-3cbb30a4cead", + "x-ms-correlation-request-id": "40c2619d-5577-43c5-b086-d6e0e0c428aa", "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "30b3f44e-f3ef-4c01-951f-3cbb30a4cead", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091137Z:30b3f44e-f3ef-4c01-951f-3cbb30a4cead" + "x-ms-request-id": "40c2619d-5577-43c5-b086-d6e0e0c428aa", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132102Z:40c2619d-5577-43c5-b086-d6e0e0c428aa" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2154", - "name": "uai-rg2154", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9691", + "name": "uai-rg9691", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2154/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2985?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9691/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4597?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-f9bced8faaafd0f50b7f36e26e67acda-34ed1996f8c3cd8d-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d5038250c1d218574509a99d17808673", + "traceparent": "00-17debcd87eff22c646732d5423a0aa10-e3a0d600fca4d820-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e10857be1e646fd702477300f71f7350", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,35 +106,35 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:40 GMT", + "Date": "Fri, 10 Feb 2023 13:21:02 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2154/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2985", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9691/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4597", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "84214496-bdbb-47fa-afaa-8c32d827e611", + "x-ms-correlation-request-id": "631d70a3-e4af-40f6-b331-6d033d6a04f2", "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "84214496-bdbb-47fa-afaa-8c32d827e611", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091141Z:84214496-bdbb-47fa-afaa-8c32d827e611" + "x-ms-request-id": "631d70a3-e4af-40f6-b331-6d033d6a04f2", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132103Z:631d70a3-e4af-40f6-b331-6d033d6a04f2" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2154/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2985", - "name": "uai2985", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9691/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4597", + "name": "uai4597", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "7fadafd4-3060-4623-a59c-29dea4295b86", - "clientId": "00039a67-8381-471d-ab14-901a582f5741" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "676870e0-ed0a-4132-8e20-be4bc3a6c968", + "clientId": "9b9873e9-8a27-4a61-9fb9-0af268d3a14b" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "914552935", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1328696012", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/Get.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/Get.json index 32e34902b7b2..e33cd14fc335 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/Get.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/Get.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-adbc2bafcc21925dba1e40ca3a276caa-554fbe4cf149cdf8-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "5f5beb6c6ff4128c1bbe2e7b9c97eafb", + "traceparent": "00-227899712afef742f832bfef95e0fa3a-abac09f91b8e1194-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7009f5d67e09a47cca8969bfe10d686f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:14 GMT", + "Date": "Fri, 10 Feb 2023 13:20:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7f83a45e-1ab1-4b14-9984-78a226f08590", + "x-ms-correlation-request-id": "46f2b32b-0573-465f-8abb-92cb507239ee", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "7f83a45e-1ab1-4b14-9984-78a226f08590", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091115Z:7f83a45e-1ab1-4b14-9984-78a226f08590" + "x-ms-request-id": "46f2b32b-0573-465f-8abb-92cb507239ee", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132050Z:46f2b32b-0573-465f-8abb-92cb507239ee" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9747?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8235?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-192c5433fac7cdddeb5e8920cadf3992-4c34b01232add69b-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9dd108b4283a4dde31ad673f6e346ac8", + "traceparent": "00-5780dfddb08206a0d4b1adf8ce4d5dcb-62923b885f7fbacd-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bb394d1138479c90e6ee26abebb8a132", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:16 GMT", + "Date": "Fri, 10 Feb 2023 13:20:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5564c622-ce3c-4a7d-b3ef-50e04a981055", + "x-ms-correlation-request-id": "889ea254-d9e7-4b3f-978b-96abd0bca6fc", "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "5564c622-ce3c-4a7d-b3ef-50e04a981055", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091116Z:5564c622-ce3c-4a7d-b3ef-50e04a981055" + "x-ms-request-id": "889ea254-d9e7-4b3f-978b-96abd0bca6fc", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132051Z:889ea254-d9e7-4b3f-978b-96abd0bca6fc" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9747", - "name": "uai-rg9747", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8235", + "name": "uai-rg8235", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9305?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8235/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3392?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-726077244e70c6ed6528cea7816fa194-3b5d5406cba4eae6-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "89bbcd615cf01d35d933032bf393e56e", + "traceparent": "00-c5011b5f0b4ee0d3fb914f91cd118bc6-f53ec6dbd8cf3b68-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "40c2399bcf401a803e537e74cda3bd3d", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:19 GMT", + "Date": "Fri, 10 Feb 2023 13:20:52 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9305", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8235/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3392", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "82bf7813-6133-4c3a-94cd-216b687cb31c", + "x-ms-correlation-request-id": "ab0efa1f-1b75-47fe-80a0-a54caa320bff", "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "82bf7813-6133-4c3a-94cd-216b687cb31c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091119Z:82bf7813-6133-4c3a-94cd-216b687cb31c" + "x-ms-request-id": "ab0efa1f-1b75-47fe-80a0-a54caa320bff", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132053Z:ab0efa1f-1b75-47fe-80a0-a54caa320bff" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9305", - "name": "uai9305", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8235/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3392", + "name": "uai3392", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "8d246b17-7326-478c-8042-27753213029f", - "clientId": "9cb8e281-3129-4f73-9eb1-44ad11f56b56" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "3564e14a-f71d-42ae-bfa1-7b466e7f177e", + "clientId": "d76b1fab-c15d-4622-89ec-18b7b3d0605b" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9305?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8235/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3392?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-581eb66a404c82cef105054d43327b4e-b9b6e8c39b3ab61e-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "56beb4c431b07cc311c3c124d2ad89c3", + "traceparent": "00-37f50676273341138e1e1b0a8b3d3303-5f7d316570025bfe-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "500f3ef98ebc78bdd4228f55f9ded0c8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,34 +147,34 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:19 GMT", + "Date": "Fri, 10 Feb 2023 13:20:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "82be3a1f-7234-4cbb-a466-4ff3cd645043", + "x-ms-correlation-request-id": "94b9ed8f-bc5d-4866-83ff-186a911e1cf2", "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "82be3a1f-7234-4cbb-a466-4ff3cd645043", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091120Z:82be3a1f-7234-4cbb-a466-4ff3cd645043" + "x-ms-request-id": "94b9ed8f-bc5d-4866-83ff-186a911e1cf2", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132053Z:94b9ed8f-bc5d-4866-83ff-186a911e1cf2" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9305", - "name": "uai9305", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8235/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3392", + "name": "uai3392", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "8d246b17-7326-478c-8042-27753213029f", - "clientId": "9cb8e281-3129-4f73-9eb1-44ad11f56b56" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "3564e14a-f71d-42ae-bfa1-7b466e7f177e", + "clientId": "d76b1fab-c15d-4622-89ec-18b7b3d0605b" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "694788741", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "2133327252", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAll.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAll.json index 28f4185446b1..bd0ede40dabc 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAll.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAll.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-05e1a6fc50a2a7dbb54b16f79a8fef42-51f217c4b01a2e69-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "3505a223b54feae2dd7f22acd7c172cf", + "traceparent": "00-1fa8c5528e53211544002615ccd5ec95-85d510b56aa72d54-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "797006f35d8d412bde873f350c276b04", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:23 GMT", + "Date": "Fri, 10 Feb 2023 13:20:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5827d300-55ce-48d7-a6a9-176f0fadacbb", + "x-ms-correlation-request-id": "cf0c9511-b43c-4735-8eff-eb59e1e9e4ab", "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "5827d300-55ce-48d7-a6a9-176f0fadacbb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091124Z:5827d300-55ce-48d7-a6a9-176f0fadacbb" + "x-ms-request-id": "cf0c9511-b43c-4735-8eff-eb59e1e9e4ab", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132054Z:cf0c9511-b43c-4735-8eff-eb59e1e9e4ab" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2584?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7104?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-8e6c782978274baf5be6dfe28e627493-03c589510cdbedf8-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "34980318e72e94a1bb06a4cbcbb7137b", + "traceparent": "00-c063ead7e9e70b704a5d72a57b8b123e-8a824606dad6e2f9-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ea7dd50ce8246b35f30cdebf66072233", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:24 GMT", + "Date": "Fri, 10 Feb 2023 13:20:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3f8c6cf9-f597-4073-91e8-d87af0178eeb", + "x-ms-correlation-request-id": "6d817e51-7d64-42a8-868d-846d2dd461bb", "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "3f8c6cf9-f597-4073-91e8-d87af0178eeb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091125Z:3f8c6cf9-f597-4073-91e8-d87af0178eeb" + "x-ms-request-id": "6d817e51-7d64-42a8-868d-846d2dd461bb", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132055Z:6d817e51-7d64-42a8-868d-846d2dd461bb" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2584", - "name": "uai-rg2584", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7104", + "name": "uai-rg7104", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1694?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8733?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-2c924648de6a4795c2063992d0ad4de7-972e0c26d744cd7f-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "ecb35222dfac7098db1e7b8b2c66c30e", + "traceparent": "00-0f3e7b587f1fbe821db9fb261bf648a9-3bd94dc0e90e3559-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "13d60a60b881c8556bbd7d77856f0e76", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,41 +106,41 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:27 GMT", + "Date": "Fri, 10 Feb 2023 13:20:56 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1694", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8733", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "182ed459-606d-4553-b6da-bf55036e036d", + "x-ms-correlation-request-id": "025b939c-76f1-4f10-ab5d-eba7e1e34d06", "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "182ed459-606d-4553-b6da-bf55036e036d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091128Z:182ed459-606d-4553-b6da-bf55036e036d" + "x-ms-request-id": "025b939c-76f1-4f10-ab5d-eba7e1e34d06", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132057Z:025b939c-76f1-4f10-ab5d-eba7e1e34d06" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1694", - "name": "uai1694", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8733", + "name": "uai8733", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "9caadc81-cb02-494c-94e2-2f623566688d", - "clientId": "d35f4348-ebc0-4663-9cf6-972d88749cdb" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "32d564af-dafb-42c1-a88a-5ce2c7a40667", + "clientId": "e6f4db18-b838-4256-9bb1-7bf08305e7f7" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3981?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3834?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-21778ba4e8cf360d8d68705883d37e05-681d99fa4f07a3f0-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "4938b39ebaf5a06494ae3d1e12c70e31", + "traceparent": "00-746ad7efdcb3413f90897aaa2302158e-757002a7e8c571d9-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e6ce50bd1dcf0d3b9a504d8278801c02", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -166,39 +153,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:31 GMT", + "Date": "Fri, 10 Feb 2023 13:20:57 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3981", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3834", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "02f58fad-cc01-4333-954b-c244efd5546c", + "x-ms-correlation-request-id": "5d44e428-9cd2-42dd-9805-8fdecf18de3d", "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "02f58fad-cc01-4333-954b-c244efd5546c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091132Z:02f58fad-cc01-4333-954b-c244efd5546c" + "x-ms-request-id": "5d44e428-9cd2-42dd-9805-8fdecf18de3d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132058Z:5d44e428-9cd2-42dd-9805-8fdecf18de3d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3981", - "name": "uai3981", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3834", + "name": "uai3834", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "801f597b-cf1e-4a83-84c3-48500c32329e", - "clientId": "ec20abe3-3aed-401c-b924-6d8c9fbf52cf" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "b744fc9e-4317-464d-9674-18b3147aee11", + "clientId": "ed73966c-7fe1-4ea5-9956-d204e841ce44" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-e12511043b6a4ee037624ffec6f3806c-cece822b2fb16455-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "7c50f6972b43b8569cbe0c82182fd93d", + "traceparent": "00-286e5b7b3ba62cff9f57ddcc4bab3598-109e8487fcf16af0-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f90af48bf87fc553955c7d77ee7b866f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -207,40 +194,40 @@ "Cache-Control": "no-cache", "Content-Length": "865", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:32 GMT", + "Date": "Fri, 10 Feb 2023 13:20:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "33fe1896-1150-48ad-b769-1881f65a9c5b", + "x-ms-correlation-request-id": "ce853b4e-6570-460f-92fd-140246f3ff94", "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "33fe1896-1150-48ad-b769-1881f65a9c5b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091132Z:33fe1896-1150-48ad-b769-1881f65a9c5b" + "x-ms-request-id": "ce853b4e-6570-460f-92fd-140246f3ff94", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132059Z:ce853b4e-6570-460f-92fd-140246f3ff94" }, "ResponseBody": { "value": [ { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1694", - "name": "uai1694", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8733", + "name": "uai8733", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "9caadc81-cb02-494c-94e2-2f623566688d", - "clientId": "d35f4348-ebc0-4663-9cf6-972d88749cdb" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "32d564af-dafb-42c1-a88a-5ce2c7a40667", + "clientId": "e6f4db18-b838-4256-9bb1-7bf08305e7f7" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2584/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3981", - "name": "uai3981", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7104/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3834", + "name": "uai3834", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "801f597b-cf1e-4a83-84c3-48500c32329e", - "clientId": "ec20abe3-3aed-401c-b924-6d8c9fbf52cf" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "b744fc9e-4317-464d-9674-18b3147aee11", + "clientId": "ed73966c-7fe1-4ea5-9956-d204e841ce44" } } ] @@ -248,9 +235,9 @@ } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "307323397", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1610404818", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAllAsync.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAllAsync.json index a96ceee2af20..b77622b2d040 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAllAsync.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAllAsync.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-643f724b65cf936bbf0eb6051c76c914-629c4fca4d4e8352-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "dc3f614d1c9b9dcf343daf343502c8d9", + "traceparent": "00-f99260471bdfaf92604c168f90d2e3e4-08958d2b6482c7a0-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0ece90c41491aa9b0e20c5e9aae4ce20", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:53 GMT", + "Date": "Fri, 10 Feb 2023 13:21:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1fcf0c56-3c5f-42e5-8278-51548d661f1e", + "x-ms-correlation-request-id": "068ae63e-f255-4290-ac83-fa569260d541", "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "1fcf0c56-3c5f-42e5-8278-51548d661f1e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091153Z:1fcf0c56-3c5f-42e5-8278-51548d661f1e" + "x-ms-request-id": "068ae63e-f255-4290-ac83-fa569260d541", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132108Z:068ae63e-f255-4290-ac83-fa569260d541" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg1612?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5772?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-2cca4f67569a7d9bd8009b1040f871b7-19f3df123a5ad052-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "4e2c51eb25ba1818a7d732f97f3a58a4", + "traceparent": "00-41b6df65dd53f7e5933ff392581dc4b6-5e12bf1c42d07f55-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ea9f0566ac8f4fcdab2b880470951cf1", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:54 GMT", + "Date": "Fri, 10 Feb 2023 13:21:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f820c80f-bfc2-40c9-9ccf-18c8139a1bee", + "x-ms-correlation-request-id": "627f28c2-a671-444c-ae6c-7704488c7c1e", "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-request-id": "f820c80f-bfc2-40c9-9ccf-18c8139a1bee", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091154Z:f820c80f-bfc2-40c9-9ccf-18c8139a1bee" + "x-ms-request-id": "627f28c2-a671-444c-ae6c-7704488c7c1e", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132108Z:627f28c2-a671-444c-ae6c-7704488c7c1e" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg1612", - "name": "uai-rg1612", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5772", + "name": "uai-rg5772", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3040?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8827?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-6de7030f16c3c720af56819b5f129f9e-a6282420f9e7e98d-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "fd84785cf9a9d1d9268cc8aa1b969ea8", + "traceparent": "00-66eafa6739c4604d0f94f15e65adc610-65ab45986a7cca73-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6cab2d65b57ee8416b19cc8b20272976", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,41 +106,41 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:58 GMT", + "Date": "Fri, 10 Feb 2023 13:21:09 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3040", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8827", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c3b595a9-901d-4bca-bc52-187f1f0b9df2", + "x-ms-correlation-request-id": "3561d018-a62c-49ae-b11c-c1db674ffb96", "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-request-id": "c3b595a9-901d-4bca-bc52-187f1f0b9df2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091158Z:c3b595a9-901d-4bca-bc52-187f1f0b9df2" + "x-ms-request-id": "3561d018-a62c-49ae-b11c-c1db674ffb96", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132109Z:3561d018-a62c-49ae-b11c-c1db674ffb96" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3040", - "name": "uai3040", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8827", + "name": "uai8827", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "a183c407-8bc5-432a-89b4-b8dae0c1ceb0", - "clientId": "c9d0a7bd-e54e-4319-9f00-25487fb5eac8" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "cf157cbe-cafb-4c33-8542-8301c8b1962d", + "clientId": "d097c94a-4901-4be2-bd2f-8b62d4896035" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1830?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7728?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-941704135ee47966f1a6e1e82e5497cd-b5596d4f0153b744-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "e86b33703b93c426f3459ca3b503568f", + "traceparent": "00-eed426c13fefd03ec8eeedd060574bc2-c5d5973af59b2b02-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "19223ac1e435bf01e5e812a59d8ba8f7", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -166,39 +153,38 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:01 GMT", + "Date": "Fri, 10 Feb 2023 13:21:11 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1830", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7728", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2a9b7ea7-3665-4f9c-9954-0822f3cf3295", + "x-ms-correlation-request-id": "3ca9e3dd-5657-43c5-9a93-1ceacc2aeb62", "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-request-id": "2a9b7ea7-3665-4f9c-9954-0822f3cf3295", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091201Z:2a9b7ea7-3665-4f9c-9954-0822f3cf3295" + "x-ms-request-id": "3ca9e3dd-5657-43c5-9a93-1ceacc2aeb62", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132111Z:3ca9e3dd-5657-43c5-9a93-1ceacc2aeb62" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1830", - "name": "uai1830", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7728", + "name": "uai7728", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "cdcd339c-fdc9-4fed-ad78-005b8bd17e56", - "clientId": "4f658d91-220e-4585-b8b8-9b23fc002a46" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "0a5d62c3-81a2-4f71-b001-7949dffc9adb", + "clientId": "55b1c7f4-2bae-4d61-a42f-a97af3188d8b" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-2b4e503881439badf22685da7ba840e1-7ea6e7a0646ee8ce-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "606ba21aeec732a874e8ff8c50fcbb9c", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f26955a8f931e986a8a641b4831f0b61", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -207,40 +193,40 @@ "Cache-Control": "no-cache", "Content-Length": "865", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:01 GMT", + "Date": "Fri, 10 Feb 2023 13:21:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8c983bda-a921-4434-b9ec-4906299d09e8", + "x-ms-correlation-request-id": "399c76d3-1572-4edd-870d-7a76f385f530", "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "8c983bda-a921-4434-b9ec-4906299d09e8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091201Z:8c983bda-a921-4434-b9ec-4906299d09e8" + "x-ms-request-id": "399c76d3-1572-4edd-870d-7a76f385f530", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132111Z:399c76d3-1572-4edd-870d-7a76f385f530" }, "ResponseBody": { "value": [ { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3040", - "name": "uai3040", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8827", + "name": "uai8827", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "a183c407-8bc5-432a-89b4-b8dae0c1ceb0", - "clientId": "c9d0a7bd-e54e-4319-9f00-25487fb5eac8" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "cf157cbe-cafb-4c33-8542-8301c8b1962d", + "clientId": "d097c94a-4901-4be2-bd2f-8b62d4896035" } }, { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg1612/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1830", - "name": "uai1830", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5772/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7728", + "name": "uai7728", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "cdcd339c-fdc9-4fed-ad78-005b8bd17e56", - "clientId": "4f658d91-220e-4585-b8b8-9b23fc002a46" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "0a5d62c3-81a2-4f71-b001-7949dffc9adb", + "clientId": "55b1c7f4-2bae-4d61-a42f-a97af3188d8b" } } ] @@ -248,9 +234,9 @@ } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1794905791", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "364228153", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAsync.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAsync.json index 2450ce1c4b33..83f2654f39dc 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAsync.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityCollectionTests/GetAsync.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-786ceb12c35d2f0374fa0797c7c66c8d-3db99dae21610f43-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "4a4ef8504e81a71e7ef8980585874dd0", + "traceparent": "00-a6ff73bc11f8fdd18e380e3ae0521cd9-7dacb63c7b752d5c-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6426efec1120067b1de31cd0abe552f9", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:43 GMT", + "Date": "Fri, 10 Feb 2023 13:21:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "786cef10-81f6-4dac-b278-249e8a9f35c2", + "x-ms-correlation-request-id": "f49f263d-35e4-4d07-b721-0525c30c3c42", "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "786cef10-81f6-4dac-b278-249e8a9f35c2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091144Z:786cef10-81f6-4dac-b278-249e8a9f35c2" + "x-ms-request-id": "f49f263d-35e4-4d07-b721-0525c30c3c42", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132105Z:f49f263d-35e4-4d07-b721-0525c30c3c42" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2228?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5278?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-f7f4b2225a9c301b9cc9765a18cfd910-8a2506e8063807f5-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "2014f72fa6e9f96119204acf901824ff", + "traceparent": "00-b07b1c9150215b24d71fc3747e8d2a89-4d1a360f8603e028-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d8af3e879207991de3be31e07b5c6c0f", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:45 GMT", + "Date": "Fri, 10 Feb 2023 13:21:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "414340df-a43b-4315-ac52-6fb7d8b2413c", + "x-ms-correlation-request-id": "5c53ddbf-9353-462d-9dae-abf2a544c3f1", "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "414340df-a43b-4315-ac52-6fb7d8b2413c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091146Z:414340df-a43b-4315-ac52-6fb7d8b2413c" + "x-ms-request-id": "5c53ddbf-9353-462d-9dae-abf2a544c3f1", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132105Z:5c53ddbf-9353-462d-9dae-abf2a544c3f1" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2228", - "name": "uai-rg2228", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5278", + "name": "uai-rg5278", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2228/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6683?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5278/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2888?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-03dea40f939ae412ab6b69b4fdbb1eb9-449bbdfcaf203f8b-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "be8035eebe8b55c8f1b41b2836e69ad2", + "traceparent": "00-1e0801a758c89555b210a260c79b4c78-d3e65d50f79a1ae3-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3bdf8491ce5e99e439ef1ccb801b7fad", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:49 GMT", + "Date": "Fri, 10 Feb 2023 13:21:06 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2228/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6683", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5278/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2888", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e57d3ff-ef8e-4e72-bcd8-72409553b139", + "x-ms-correlation-request-id": "79eee1ee-7f63-442d-8d5d-41492ce96101", "x-ms-ratelimit-remaining-subscription-writes": "1189", - "x-ms-request-id": "4e57d3ff-ef8e-4e72-bcd8-72409553b139", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091149Z:4e57d3ff-ef8e-4e72-bcd8-72409553b139" + "x-ms-request-id": "79eee1ee-7f63-442d-8d5d-41492ce96101", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132106Z:79eee1ee-7f63-442d-8d5d-41492ce96101" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2228/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6683", - "name": "uai6683", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5278/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2888", + "name": "uai2888", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "77fabd28-8ee7-48be-8a43-3cd73fee9a10", - "clientId": "545719d7-ed6a-40b3-b6ba-f0f8984f4ee4" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "9ab0a2d9-7ec1-4b62-a300-10bde970bd71", + "clientId": "84335a08-0dfe-4463-9ca9-2313b863c03f" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2228/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6683?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5278/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2888?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-eeec62343b6427db73ce9d23019efdef-92fff0061b84a1ee-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "abbd67c86696ec5250682dd4d7eedf73", + "traceparent": "00-c579d9dc7e540a4a2671ae90122fe0b2-9e3a95fb571f310e-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b7065567e5a8095dca3d534a26a287af", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,34 +147,34 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:11:50 GMT", + "Date": "Fri, 10 Feb 2023 13:21:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b3cc7ac2-9bb0-4698-a5bc-ac518d8a3933", + "x-ms-correlation-request-id": "8285dbd0-1dc8-4746-beb0-0068d353f6b5", "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "b3cc7ac2-9bb0-4698-a5bc-ac518d8a3933", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091150Z:b3cc7ac2-9bb0-4698-a5bc-ac518d8a3933" + "x-ms-request-id": "8285dbd0-1dc8-4746-beb0-0068d353f6b5", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132107Z:8285dbd0-1dc8-4746-beb0-0068d353f6b5" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2228/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6683", - "name": "uai6683", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5278/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2888", + "name": "uai2888", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "77fabd28-8ee7-48be-8a43-3cd73fee9a10", - "clientId": "545719d7-ed6a-40b3-b6ba-f0f8984f4ee4" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "9ab0a2d9-7ec1-4b62-a300-10bde970bd71", + "clientId": "84335a08-0dfe-4463-9ca9-2313b863c03f" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1577696090", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1304757510", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False).json index b4c612ca0831..49994d397f1d 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8298cec9a15d9b675cd50019f22d1c9a-8632c51ccccd6424-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "15a964a1ea41106bccfd8b17392e22c0", + "traceparent": "00-a42b3ec9b67a389e35cc8285308cc7a8-441da0a61a25cf47-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5525ba2f2eec95b4bb1c894afb5148ee", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:06 GMT", + "Date": "Fri, 10 Feb 2023 13:21:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d9ba751f-4d5e-41d0-aa26-685e862946fb", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "d9ba751f-4d5e-41d0-aa26-685e862946fb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091707Z:d9ba751f-4d5e-41d0-aa26-685e862946fb" + "x-ms-correlation-request-id": "39151c6f-9d8d-4a40-a75e-02aab1b4a8d5", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "39151c6f-9d8d-4a40-a75e-02aab1b4a8d5", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132118Z:39151c6f-9d8d-4a40-a75e-02aab1b4a8d5" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3747?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg711?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-107723efbb6084b0294ba8c2aaabdb96-aedd0c5aa6d61d57-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "061979954d21e95ebcb228ca5e06e25b", + "traceparent": "00-d8bf5704bf5491085a653773ccabe9c3-bad5a1f37e0a048f-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ae15fd39c0d9022c93bc635bec6709ee", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,21 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "217", + "Content-Length": "215", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:08 GMT", + "Date": "Fri, 10 Feb 2023 13:21:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b873b0c4-09a5-420e-826f-ca2c9496f523", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "b873b0c4-09a5-420e-826f-ca2c9496f523", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091708Z:b873b0c4-09a5-420e-826f-ca2c9496f523" + "x-ms-correlation-request-id": "da49f11e-4eab-4ee4-859b-c2746246270f", + "x-ms-ratelimit-remaining-subscription-writes": "1182", + "x-ms-request-id": "da49f11e-4eab-4ee4-859b-c2746246270f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132118Z:da49f11e-4eab-4ee4-859b-c2746246270f" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3747", - "name": "uai-rg3747", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg711", + "name": "uai-rg711", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai964?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg711/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9677?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-eab03ec05be02cfeb6da621095429609-1d3c9a2905d1b022-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "a5830ac4ad76aafe0af2099e3ff5f351", + "traceparent": "00-893d7e71e3c3777070cee355a5e4a7bb-a3ffe4ef767d0136-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "932f70f50370b9c5508b0347c2cba0cc", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,83 +104,83 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "424", + "Content-Length": "425", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:12 GMT", + "Date": "Fri, 10 Feb 2023 13:21:19 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai964", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg711/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9677", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "975bd5b8-5000-4d85-9e94-4eb499c63b09", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "975bd5b8-5000-4d85-9e94-4eb499c63b09", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091713Z:975bd5b8-5000-4d85-9e94-4eb499c63b09" + "x-ms-correlation-request-id": "0b11defc-caaf-4fa1-862b-e9fd22a981cf", + "x-ms-ratelimit-remaining-subscription-writes": "1181", + "x-ms-request-id": "0b11defc-caaf-4fa1-862b-e9fd22a981cf", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132119Z:0b11defc-caaf-4fa1-862b-e9fd22a981cf" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai964", - "name": "uai964", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg711/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9677", + "name": "uai9677", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "a5cca005-f75a-411f-8465-4576a3892ba5", - "clientId": "ad0563dd-ef2d-4255-a484-64f850eb8e9d" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "4eb57efd-6e8d-4712-9254-1898d68c1081", + "clientId": "de9c27bb-ee90-48e6-b4cd-a0eb7b1efe55" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai964?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg711/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9677?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b8f992973ccfcde8d44ecf64872acf41-a67c44d1a4991473-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "8cdc6beae96516804a2b843843466df6", + "traceparent": "00-9871464b26eaa0385047d9be6f8b4ab3-fb35d17aae82c584-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3c5be0819c7efa56f95359725139cfb4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "424", + "Content-Length": "425", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:13 GMT", + "Date": "Fri, 10 Feb 2023 13:21:19 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fe18b8b4-dd0b-42a8-841b-fd7ea516b02b", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "fe18b8b4-dd0b-42a8-841b-fd7ea516b02b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091714Z:fe18b8b4-dd0b-42a8-841b-fd7ea516b02b" + "x-ms-correlation-request-id": "60788086-6fd9-4dc1-817e-a71846e59d0b", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "60788086-6fd9-4dc1-817e-a71846e59d0b", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132120Z:60788086-6fd9-4dc1-817e-a71846e59d0b" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai964", - "name": "uai964", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg711/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9677", + "name": "uai9677", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "a5cca005-f75a-411f-8465-4576a3892ba5", - "clientId": "ad0563dd-ef2d-4255-a484-64f850eb8e9d" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "4eb57efd-6e8d-4712-9254-1898d68c1081", + "clientId": "de9c27bb-ee90-48e6-b4cd-a0eb7b1efe55" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai964?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg711/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9677?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "60", "Content-Type": "application/json", - "traceparent": "00-b8f992973ccfcde8d44ecf64872acf41-65db1eafdefeb326-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "2375bca81b9ee7567a6ffc2f43c0aac7", + "traceparent": "00-9871464b26eaa0385047d9be6f8b4ab3-63da02084e3cbdee-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e1055c7f5a1936b6385b5d4dbde43fc7", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -206,38 +193,38 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "437", + "Content-Length": "438", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:15 GMT", + "Date": "Fri, 10 Feb 2023 13:21:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c8e59d39-21a2-4c71-8321-9f6d9beef948", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "c8e59d39-21a2-4c71-8321-9f6d9beef948", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091716Z:c8e59d39-21a2-4c71-8321-9f6d9beef948" + "x-ms-correlation-request-id": "d0ea78ad-0d91-4526-b589-a9ff297a7d0a", + "x-ms-ratelimit-remaining-subscription-writes": "1180", + "x-ms-request-id": "d0ea78ad-0d91-4526-b589-a9ff297a7d0a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132121Z:d0ea78ad-0d91-4526-b589-a9ff297a7d0a" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3747/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai964", - "name": "uai964", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg711/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9677", + "name": "uai9677", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key": "value" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "a5cca005-f75a-411f-8465-4576a3892ba5", - "clientId": "ad0563dd-ef2d-4255-a484-64f850eb8e9d" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "4eb57efd-6e8d-4712-9254-1898d68c1081", + "clientId": "de9c27bb-ee90-48e6-b4cd-a0eb7b1efe55" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "155674647", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "2107575878", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False)Async.json index 82667cacfea6..78fbbe983826 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(False)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-7d8485475568da88a7bffce6921f307e-91a3b96aa23f0088-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "08437f6bdd80a04612ed8e80736804e3", + "traceparent": "00-fc487845325becf59ccf2e0116966d36-ded5682b457c8f59-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "631eb819537a49a803b1fee9481dc116", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:14 GMT", + "Date": "Fri, 10 Feb 2023 13:22:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8388742e-fbf7-40e6-8d41-42ad08f536fa", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-request-id": "8388742e-fbf7-40e6-8d41-42ad08f536fa", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094715Z:8388742e-fbf7-40e6-8d41-42ad08f536fa" + "x-ms-correlation-request-id": "f79a619e-e9bc-473f-949b-d340257cd018", + "x-ms-ratelimit-remaining-subscription-reads": "11950", + "x-ms-request-id": "f79a619e-e9bc-473f-949b-d340257cd018", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132227Z:f79a619e-e9bc-473f-949b-d340257cd018" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg530?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4125?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-cecdfb9e4db61c3c5eb7ca754125ed27-b88e90ebef5ff25e-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "ae0901c323f1a67f88b888f09fa81a7b", + "traceparent": "00-ed5d47d69375e3d364534a3d63b1deb8-d40b6464a0692638-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c9b58ae0e00d25e3b2b53d5ad218c491", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,21 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "215", + "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:17 GMT", + "Date": "Fri, 10 Feb 2023 13:22:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0e8ad8d2-356b-47fb-ae3d-4e5975b6e4bc", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "0e8ad8d2-356b-47fb-ae3d-4e5975b6e4bc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094718Z:0e8ad8d2-356b-47fb-ae3d-4e5975b6e4bc" + "x-ms-correlation-request-id": "cd4b4933-c6ec-498c-9e99-c9e3a7539c92", + "x-ms-ratelimit-remaining-subscription-writes": "1148", + "x-ms-request-id": "cd4b4933-c6ec-498c-9e99-c9e3a7539c92", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132228Z:cd4b4933-c6ec-498c-9e99-c9e3a7539c92" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg530", - "name": "uai-rg530", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4125", + "name": "uai-rg4125", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg530/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5676?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4125/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai973?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-fbd83a7ce94aea515f962e51f423fb7d-022304fd6a0e42fc-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "497393370453c6ab9579a9fa80bd9bab", + "traceparent": "00-1e96f08e7c1ab8578eaa2cae14cbdd5e-23d0cab227faddcd-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8ee84644aed865fc1a8b97336e62d667", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,83 +104,83 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "425", + "Content-Length": "424", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:21 GMT", + "Date": "Fri, 10 Feb 2023 13:22:28 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg530/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5676", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4125/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai973", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "77990b34-c847-4a09-908e-8ac86248d5ae", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "77990b34-c847-4a09-908e-8ac86248d5ae", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094721Z:77990b34-c847-4a09-908e-8ac86248d5ae" + "x-ms-correlation-request-id": "55688045-e229-4865-9838-a9e9fa449718", + "x-ms-ratelimit-remaining-subscription-writes": "1147", + "x-ms-request-id": "55688045-e229-4865-9838-a9e9fa449718", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132229Z:55688045-e229-4865-9838-a9e9fa449718" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg530/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5676", - "name": "uai5676", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4125/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai973", + "name": "uai973", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c82a60e4-4369-4225-8e2c-f4c9eb892dfd", - "clientId": "b94e012a-1951-456b-a099-833aac53ffb7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "581c0a68-0de9-45b2-9136-056f412667a7", + "clientId": "e240408d-4e05-4f32-9546-e16aa4602423" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg530/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5676?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4125/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai973?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-f70d74f20912d3a74affc71f8f62639b-22b8b73bc5c33a3b-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c3f49cf9b8755c7ac462f724bdaf7245", + "traceparent": "00-d58955ba8d3eb180915392fca2b7befe-babcc180bfd84ca8-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b9d3f7adaeefd70b3b3ec79d6bee3198", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "425", + "Content-Length": "424", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:22 GMT", + "Date": "Fri, 10 Feb 2023 13:22:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e23f673c-b70a-46c4-b69f-b2c95efa1852", - "x-ms-ratelimit-remaining-subscription-reads": "11975", - "x-ms-request-id": "e23f673c-b70a-46c4-b69f-b2c95efa1852", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094722Z:e23f673c-b70a-46c4-b69f-b2c95efa1852" + "x-ms-correlation-request-id": "88335ca5-8c88-4d33-a7cf-ce6ca20121b9", + "x-ms-ratelimit-remaining-subscription-reads": "11949", + "x-ms-request-id": "88335ca5-8c88-4d33-a7cf-ce6ca20121b9", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132229Z:88335ca5-8c88-4d33-a7cf-ce6ca20121b9" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg530/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5676", - "name": "uai5676", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4125/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai973", + "name": "uai973", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c82a60e4-4369-4225-8e2c-f4c9eb892dfd", - "clientId": "b94e012a-1951-456b-a099-833aac53ffb7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "581c0a68-0de9-45b2-9136-056f412667a7", + "clientId": "e240408d-4e05-4f32-9546-e16aa4602423" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg530/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5676?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4125/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai973?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "60", "Content-Type": "application/json", - "traceparent": "00-f70d74f20912d3a74affc71f8f62639b-cac0b6063bc9bc1f-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d53b05739990bf0656421977798425cb", + "traceparent": "00-d58955ba8d3eb180915392fca2b7befe-6e3c9ba77457e93b-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d604583a87d831e98e4faf8248b0b650", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -206,38 +193,38 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "438", + "Content-Length": "437", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:24 GMT", + "Date": "Fri, 10 Feb 2023 13:22:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3abdd12c-0821-4999-ae07-7d92058b8dee", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "3abdd12c-0821-4999-ae07-7d92058b8dee", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094724Z:3abdd12c-0821-4999-ae07-7d92058b8dee" + "x-ms-correlation-request-id": "4c1dc6ce-0443-42d6-b442-51d3a91d6855", + "x-ms-ratelimit-remaining-subscription-writes": "1146", + "x-ms-request-id": "4c1dc6ce-0443-42d6-b442-51d3a91d6855", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132231Z:4c1dc6ce-0443-42d6-b442-51d3a91d6855" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg530/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5676", - "name": "uai5676", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4125/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai973", + "name": "uai973", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key": "value" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c82a60e4-4369-4225-8e2c-f4c9eb892dfd", - "clientId": "b94e012a-1951-456b-a099-833aac53ffb7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "581c0a68-0de9-45b2-9136-056f412667a7", + "clientId": "e240408d-4e05-4f32-9546-e16aa4602423" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "838822867", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "55194338", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True).json index 9dbc99304fc2..bbb85dcd76d9 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-f983f79f7e8b92cc2e9fcfd974eb9178-aa2022c9ce241a12-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "bf4ceabf9e67e882299b4d58ffb8b9f8", + "traceparent": "00-be0da2453bca6fd28f14a9015f50137e-53371aab47ac5fb4-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5935e7f32504ab1c24620cc30b59c59e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:21 GMT", + "Date": "Fri, 10 Feb 2023 13:21:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "69b291a5-eed1-4224-9750-20f29fd664b7", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "69b291a5-eed1-4224-9750-20f29fd664b7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091722Z:69b291a5-eed1-4224-9750-20f29fd664b7" + "x-ms-correlation-request-id": "300c57e1-d264-4e75-b4f2-2c1100e52d31", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "300c57e1-d264-4e75-b4f2-2c1100e52d31", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132122Z:300c57e1-d264-4e75-b4f2-2c1100e52d31" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3919?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg6760?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-1e66ef9cc91f068eb75a89490609c434-79758cdfaec3d418-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f0a5c77762e09ea8d30a4d14c4a3549d", + "traceparent": "00-8e3dfa416a3ed633d1e8b635a6f926e9-9666f79e53b86756-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e296fdb728fbc462fd20f0e626794f41", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:24 GMT", + "Date": "Fri, 10 Feb 2023 13:21:22 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "98e4887b-5b11-479d-b76d-0c49a1fe59c3", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "98e4887b-5b11-479d-b76d-0c49a1fe59c3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091725Z:98e4887b-5b11-479d-b76d-0c49a1fe59c3" + "x-ms-correlation-request-id": "273944ff-f09a-49ff-be34-c0ee04b1393a", + "x-ms-ratelimit-remaining-subscription-writes": "1179", + "x-ms-request-id": "273944ff-f09a-49ff-be34-c0ee04b1393a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132122Z:273944ff-f09a-49ff-be34-c0ee04b1393a" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3919", - "name": "uai-rg3919", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg6760", + "name": "uai-rg6760", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-ebc8611e4587b10d686d03bf06d0e874-7f604da3bcd45ab5-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "bd2387bda60ad1692e64c77008df1670", + "traceparent": "00-a144a14e561ee9d6fbca239a101705c6-c6dbe5ce35962855-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "62560497cb69ddea7880fe6e3ffc6bf4", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:27 GMT", + "Date": "Fri, 10 Feb 2023 13:21:24 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e430d81e-3580-481f-bb73-0105834e6af1", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "e430d81e-3580-481f-bb73-0105834e6af1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091728Z:e430d81e-3580-481f-bb73-0105834e6af1" + "x-ms-correlation-request-id": "b3e40060-a877-4987-91ec-67fa037c7424", + "x-ms-ratelimit-remaining-subscription-writes": "1178", + "x-ms-request-id": "b3e40060-a877-4987-91ec-67fa037c7424", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132124Z:b3e40060-a877-4987-91ec-67fa037c7424" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983", - "name": "uai3983", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814", + "name": "uai5814", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e0861df3-e431-4586-9c55-b7d97ff9622c", - "clientId": "654d2bda-11a8-4add-b935-b12a371853f3" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "a5abef7e-1e3c-4166-b8ee-289ef183053e", + "clientId": "e1e1e276-6bb4-4e31-8f48-982c142de05a" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-01af03f76fb0efdf0e85f6042bdec38f-2ca92f81bbfa2f92-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "4d37d1845dbf87dfa421949335d464f8", + "traceparent": "00-2e70a72526a3f747353648a74ecd9643-94572a841ea58d5d-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3f4401a417acbff8d39406052bc4fde8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,18 +147,18 @@ "Cache-Control": "no-cache", "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:27 GMT", + "Date": "Fri, 10 Feb 2023 13:21:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "eb7df226-36e6-4b74-b48b-21d026cb2106", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "eb7df226-36e6-4b74-b48b-21d026cb2106", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091728Z:eb7df226-36e6-4b74-b48b-21d026cb2106" + "x-ms-correlation-request-id": "d885a48e-1d22-4412-90e1-a6057c7e7ca1", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "d885a48e-1d22-4412-90e1-a6057c7e7ca1", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132124Z:d885a48e-1d22-4412-90e1-a6057c7e7ca1" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -180,16 +167,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-01af03f76fb0efdf0e85f6042bdec38f-db344a3fa9b27250-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "3141baf83a95d0a25ed4c17b9a3895f3", + "traceparent": "00-2e70a72526a3f747353648a74ecd9643-b1e73a3456583288-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "557481bc3c6eec0212b9697b29f38401", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -204,18 +191,18 @@ "Cache-Control": "no-cache", "Content-Length": "285", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:30 GMT", + "Date": "Fri, 10 Feb 2023 13:21:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7bdd57e9-fdc9-45b9-aeac-1dc5d919c27f", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "7bdd57e9-fdc9-45b9-aeac-1dc5d919c27f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091731Z:7bdd57e9-fdc9-45b9-aeac-1dc5d919c27f" + "x-ms-correlation-request-id": "7ed48bbb-d627-410e-801f-a429c5effb22", + "x-ms-ratelimit-remaining-subscription-writes": "1177", + "x-ms-request-id": "7ed48bbb-d627-410e-801f-a429c5effb22", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132125Z:7ed48bbb-d627-410e-801f-a429c5effb22" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -226,14 +213,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-01af03f76fb0efdf0e85f6042bdec38f-f7e117a79bd1a892-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f28fddf3076c60dea79b19e912d59c59", + "traceparent": "00-2e70a72526a3f747353648a74ecd9643-42dcd52f8fee1e10-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2542fcb410357f950c968ed4c4e5b1b4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -242,36 +229,36 @@ "Cache-Control": "no-cache", "Content-Length": "439", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:30 GMT", + "Date": "Fri, 10 Feb 2023 13:21:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f45820c9-3848-4c6b-85c9-ca0fa40e8ee8", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "f45820c9-3848-4c6b-85c9-ca0fa40e8ee8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091731Z:f45820c9-3848-4c6b-85c9-ca0fa40e8ee8" + "x-ms-correlation-request-id": "e8cf0aa9-77e4-43e4-8e9d-ab850328afe5", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "e8cf0aa9-77e4-43e4-8e9d-ab850328afe5", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132126Z:e8cf0aa9-77e4-43e4-8e9d-ab850328afe5" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3919/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3983", - "name": "uai3983", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg6760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5814", + "name": "uai5814", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key": "value" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e0861df3-e431-4586-9c55-b7d97ff9622c", - "clientId": "654d2bda-11a8-4add-b935-b12a371853f3" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "a5abef7e-1e3c-4166-b8ee-289ef183053e", + "clientId": "e1e1e276-6bb4-4e31-8f48-982c142de05a" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "696227466", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1942354519", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True)Async.json index fe8d6064a083..f666c4fa44a6 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(True)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-662d688d745a7e3c57167a40e7751ec9-8c83d746ae3bb650-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "8aff0ee53af1d3dcec88f1c772585f38", + "traceparent": "00-7243b2ed9c28f7824cf33caff7527dbb-503bdbe0aa5b7074-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f076706a4b2d1209a5e9e6871de1203d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:29 GMT", + "Date": "Fri, 10 Feb 2023 13:22:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a105e366-8d6a-49d1-8a21-25915b7990b9", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-request-id": "a105e366-8d6a-49d1-8a21-25915b7990b9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094729Z:a105e366-8d6a-49d1-8a21-25915b7990b9" + "x-ms-correlation-request-id": "dc939222-ed96-4c08-8071-052b128d7b5a", + "x-ms-ratelimit-remaining-subscription-reads": "11948", + "x-ms-request-id": "dc939222-ed96-4c08-8071-052b128d7b5a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132232Z:dc939222-ed96-4c08-8071-052b128d7b5a" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg6890?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5634?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-a9a8a0b35e57b756872b06c151e2bc2e-4f64ea21d8c0c666-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "563cb939d03e7ad5e50feb94a04ed29c", + "traceparent": "00-6697ac1e07f407a0ce908d84b2a1ea21-0c2b9726cd44c244-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "95bd5d14c90300b3e6a033b2f7f97c12", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:30 GMT", + "Date": "Fri, 10 Feb 2023 13:22:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ad6f6d9b-ca4d-45f0-ab45-240c97d0c543", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "ad6f6d9b-ca4d-45f0-ab45-240c97d0c543", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094730Z:ad6f6d9b-ca4d-45f0-ab45-240c97d0c543" + "x-ms-correlation-request-id": "86994dca-7377-4594-8f77-a26bcf3391c7", + "x-ms-ratelimit-remaining-subscription-writes": "1145", + "x-ms-request-id": "86994dca-7377-4594-8f77-a26bcf3391c7", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132232Z:86994dca-7377-4594-8f77-a26bcf3391c7" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg6890", - "name": "uai-rg6890", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5634", + "name": "uai-rg5634", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-2c464de5f2bf1607880b6082577fb2bc-8f7510a535a88df6-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "1c134e5ce57ee34eff6888fc09cb553f", + "traceparent": "00-e3fa00a24be3780edf34947dbcde1bb8-9f8c8cc93693e434-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e925e681769e90d4b6698a3d943624f9", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,61 +104,61 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "426", + "Content-Length": "424", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:33 GMT", + "Date": "Fri, 10 Feb 2023 13:22:33 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a35b5aa5-4122-48b2-9985-c89d37c8e25b", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "a35b5aa5-4122-48b2-9985-c89d37c8e25b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094734Z:a35b5aa5-4122-48b2-9985-c89d37c8e25b" + "x-ms-correlation-request-id": "77c002b6-9a93-4091-accd-14802c2a1abb", + "x-ms-ratelimit-remaining-subscription-writes": "1144", + "x-ms-request-id": "77c002b6-9a93-4091-accd-14802c2a1abb", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132233Z:77c002b6-9a93-4091-accd-14802c2a1abb" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365", - "name": "uai1365", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673", + "name": "uai673", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "a378c50b-d37c-457a-8a8f-a549439e740d", - "clientId": "5e5911da-f16a-44eb-bdae-45a910120181" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "0540cb8f-dc93-4aaf-94ff-bb7ecebf4d72", + "clientId": "f89550a1-e226-43b0-a2c5-0570c9dc79de" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-5bb2bc1d55a7ee8986e685d09426e6f4-77645005e85321ce-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "015449fbf07b3da7290f0c2af03e4c3a", + "traceparent": "00-763afcdde821a58c8777494554006e08-ebacc70c27301157-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cd5b7d13e860a666c2ef47abd560aeef", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "272", + "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:34 GMT", + "Date": "Fri, 10 Feb 2023 13:22:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d185b092-ca28-41f8-a508-b3df8085d997", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-request-id": "d185b092-ca28-41f8-a508-b3df8085d997", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094734Z:d185b092-ca28-41f8-a508-b3df8085d997" + "x-ms-correlation-request-id": "6b02ad30-0d63-49ed-9e08-ebc1f481afb6", + "x-ms-ratelimit-remaining-subscription-reads": "11947", + "x-ms-request-id": "6b02ad30-0d63-49ed-9e08-ebc1f481afb6", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132234Z:6b02ad30-0d63-49ed-9e08-ebc1f481afb6" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -180,16 +167,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-5bb2bc1d55a7ee8986e685d09426e6f4-f62f8acf2fdfa154-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "09162b1f1b4c54cb6a5956d547d97119", + "traceparent": "00-763afcdde821a58c8777494554006e08-fa94163888879251-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fb9b746a54fa9e32892cdf9a3e766caf", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -202,20 +189,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "285", + "Content-Length": "284", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:37 GMT", + "Date": "Fri, 10 Feb 2023 13:22:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "641be2c4-9bed-45db-ba81-74eb638d9bf6", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "641be2c4-9bed-45db-ba81-74eb638d9bf6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094737Z:641be2c4-9bed-45db-ba81-74eb638d9bf6" + "x-ms-correlation-request-id": "406f7e0f-3075-4ba8-a05b-059516a61927", + "x-ms-ratelimit-remaining-subscription-writes": "1143", + "x-ms-request-id": "406f7e0f-3075-4ba8-a05b-059516a61927", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132235Z:406f7e0f-3075-4ba8-a05b-059516a61927" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -226,52 +213,52 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-5bb2bc1d55a7ee8986e685d09426e6f4-0ac6aa27a2f513dd-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "5699acb9d0fa6b20a7d5f36fd824f2c1", + "traceparent": "00-763afcdde821a58c8777494554006e08-4af494b238882ce4-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "799f3a7bae9e99b27f7f27ae2e29bb56", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "439", + "Content-Length": "437", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:37 GMT", + "Date": "Fri, 10 Feb 2023 13:22:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2f95b629-652e-4467-a1ed-b2956a7034db", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-request-id": "2f95b629-652e-4467-a1ed-b2956a7034db", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094737Z:2f95b629-652e-4467-a1ed-b2956a7034db" + "x-ms-correlation-request-id": "2bc7f1c1-8051-4834-a5e1-153257c400d9", + "x-ms-ratelimit-remaining-subscription-reads": "11946", + "x-ms-request-id": "2bc7f1c1-8051-4834-a5e1-153257c400d9", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132235Z:2bc7f1c1-8051-4834-a5e1-153257c400d9" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg6890/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1365", - "name": "uai1365", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg5634/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai673", + "name": "uai673", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key": "value" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "a378c50b-d37c-457a-8a8f-a549439e740d", - "clientId": "5e5911da-f16a-44eb-bdae-45a910120181" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "0540cb8f-dc93-4aaf-94ff-bb7ecebf4d72", + "clientId": "f89550a1-e226-43b0-a2c5-0570c9dc79de" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1181293122", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "2093202639", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null).json index 748aa00df493..95b20281db07 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b9d54f4404532d4b5bb991d339ecb54a-6d2c7302dfb6004d-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "e9bfb963d36af2593e4423cac30a23c3", + "traceparent": "00-b4e68044655972bb21ce9cd99f177291-525c7b43762cd4d3-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7d17f87bc7fce1ff6f046523ddd07ae1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:16:44 GMT", + "Date": "Fri, 10 Feb 2023 13:21:13 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3bebef4d-3fa7-48da-b226-9ba03ba97bd2", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "3bebef4d-3fa7-48da-b226-9ba03ba97bd2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091645Z:3bebef4d-3fa7-48da-b226-9ba03ba97bd2" + "x-ms-correlation-request-id": "f3a71ff2-4ff4-4312-a945-7ec699de1f93", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "f3a71ff2-4ff4-4312-a945-7ec699de1f93", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132113Z:f3a71ff2-4ff4-4312-a945-7ec699de1f93" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg589?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2001?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-6a0011ef21eaea07427e2196112120cc-de6da28f2a163853-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "43d0998e04b4a0c7db4ca6900c5053a9", + "traceparent": "00-ff7bf83b23824436f1d835cf8cb221dc-e151aac1279a5556-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "44b04e6f4071c7d3086a5ee95bcaf850", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,21 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "215", + "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:16:47 GMT", + "Date": "Fri, 10 Feb 2023 13:21:13 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "14111763-32aa-4253-9a88-03671e6be35c", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "14111763-32aa-4253-9a88-03671e6be35c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091648Z:14111763-32aa-4253-9a88-03671e6be35c" + "x-ms-correlation-request-id": "c5459e57-fa13-4f81-8358-8bdafdaad1ac", + "x-ms-ratelimit-remaining-subscription-writes": "1185", + "x-ms-request-id": "c5459e57-fa13-4f81-8358-8bdafdaad1ac", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132113Z:c5459e57-fa13-4f81-8358-8bdafdaad1ac" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg589", - "name": "uai-rg589", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2001", + "name": "uai-rg2001", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-32169f279b0ee98351aefe9d6aec8258-0f6225f8cb65d9a7-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c5e5dad0650e1205f3f7c826a651d69f", + "traceparent": "00-c3ac631efa8a904dea617335515cc517-1c9c78e5f7fe0053-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "96d6ca43a8823e9e38c12c9a33bbf7f6", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,71 +104,403 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "425", + "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:16:53 GMT", + "Date": "Fri, 10 Feb 2023 13:21:14 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7abf2ed4-22e9-47c9-844c-f318878d10a5", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "7abf2ed4-22e9-47c9-844c-f318878d10a5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091654Z:7abf2ed4-22e9-47c9-844c-f318878d10a5" + "x-ms-correlation-request-id": "a079108d-0d6f-411d-8d6f-fe2cb5874e0e", + "x-ms-ratelimit-remaining-subscription-writes": "1184", + "x-ms-request-id": "a079108d-0d6f-411d-8d6f-fe2cb5874e0e", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132114Z:a079108d-0d6f-411d-8d6f-fe2cb5874e0e" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369", - "name": "uai9369", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646", + "name": "uai3646", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "d209e64c-9e2a-44f4-86f3-e364ed75ba29", - "clientId": "53b707d3-3919-4081-ac26-e84a7b94758f" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "bccee990-7441-4027-a26b-d46b4ab19803", + "clientId": "d97870ea-4c37-420a-b341-a835b008db78" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-edf684f7ade2f85c251b008280d549a4-5010ff1ea555852c-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c6de278c7fa1b5aff8498f87b26132f4", + "traceparent": "00-4f333f5361b3b315895b5051b56f5023-278733ed66812f80-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7395fe3ab13ab70a43b6f35ca0f7133a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17728", + "Content-Length": "19004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:16:54 GMT", + "Date": "Fri, 10 Feb 2023 13:21:15 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "87e81d1f-cddf-4b31-bdd3-8cdeb4fef487", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "87e81d1f-cddf-4b31-bdd3-8cdeb4fef487", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091655Z:87e81d1f-cddf-4b31-bdd3-8cdeb4fef487" + "x-ms-correlation-request-id": "54cfd05f-6379-4eb7-a6da-6e8bf4caa290", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "54cfd05f-6379-4eb7-a6da-6e8bf4caa290", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132115Z:54cfd05f-6379-4eb7-a6da-6e8bf4caa290" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources", "namespace": "Microsoft.Resources", "authorizations": [ { "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" }, - { - "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" - } - ], - "resourceTypes": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + } + ], + "resourceTypes": [ + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, { "resourceType": "tenants", "locations": [], @@ -702,7 +1021,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -779,7 +1097,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -1155,251 +1472,6 @@ ], "capabilities": "None" }, - { - "resourceType": "deploymentScripts", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "deploymentScripts/logs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/deploymentScriptOperationResults", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "templateSpecs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "templateSpecs/versions", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "builtInTemplateSpecs", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, - { - "resourceType": "builtInTemplateSpecs/versions", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, { "resourceType": "changes", "locations": [], @@ -1423,34 +1495,34 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-edf684f7ade2f85c251b008280d549a4-d46dd592556608c3-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "2ff321d0fe3e295594bd4fbc3ca0f989", + "traceparent": "00-4f333f5361b3b315895b5051b56f5023-6ce103b6fad899d8-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "059ad36d4aa4c736b0720bb01339944c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "271", + "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:16:55 GMT", + "Date": "Fri, 10 Feb 2023 13:21:15 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fefe8c67-1b85-4487-af75-fef89186bbaa", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "fefe8c67-1b85-4487-af75-fef89186bbaa", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091655Z:fefe8c67-1b85-4487-af75-fef89186bbaa" + "x-ms-correlation-request-id": "0e93d8c1-a193-4371-99a5-a25f5dd997d8", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "0e93d8c1-a193-4371-99a5-a25f5dd997d8", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132115Z:0e93d8c1-a193-4371-99a5-a25f5dd997d8" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1459,16 +1531,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-edf684f7ade2f85c251b008280d549a4-77cca18de2f22417-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "e50407768c7250072b2fccc4d57e6091", + "traceparent": "00-4f333f5361b3b315895b5051b56f5023-40a0a8eedf1962d4-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5caf677284359215c01e52ccb4419d41", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1481,20 +1553,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "284", + "Content-Length": "285", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:16:58 GMT", + "Date": "Fri, 10 Feb 2023 13:21:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "221879eb-d24f-498c-961e-c5e71007dd1d", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "221879eb-d24f-498c-961e-c5e71007dd1d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091659Z:221879eb-d24f-498c-961e-c5e71007dd1d" + "x-ms-correlation-request-id": "b5160274-a88d-485b-9daa-8090e39df5c5", + "x-ms-ratelimit-remaining-subscription-writes": "1183", + "x-ms-request-id": "b5160274-a88d-485b-9daa-8090e39df5c5", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132116Z:b5160274-a88d-485b-9daa-8090e39df5c5" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1505,52 +1577,52 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-edf684f7ade2f85c251b008280d549a4-804ed98d198950ff-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "8555d3c4a65e8e61d2b432e42ff27857", + "traceparent": "00-4f333f5361b3b315895b5051b56f5023-1f3ff960fd4cc9f4-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "602cf2adf221ef52c8cdc2c8a559a40a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "438", + "Content-Length": "439", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:16:59 GMT", + "Date": "Fri, 10 Feb 2023 13:21:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5475e545-f69c-463a-89ad-6496ff2e2ef9", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "5475e545-f69c-463a-89ad-6496ff2e2ef9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091659Z:5475e545-f69c-463a-89ad-6496ff2e2ef9" + "x-ms-correlation-request-id": "f2a6fd55-9996-466a-9de9-9c4be72404c6", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "f2a6fd55-9996-466a-9de9-9c4be72404c6", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132117Z:f2a6fd55-9996-466a-9de9-9c4be72404c6" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg589/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9369", - "name": "uai9369", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3646", + "name": "uai3646", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key": "value" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "d209e64c-9e2a-44f4-86f3-e364ed75ba29", - "clientId": "53b707d3-3919-4081-ac26-e84a7b94758f" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "bccee990-7441-4027-a26b-d46b4ab19803", + "clientId": "d97870ea-4c37-420a-b341-a835b008db78" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "412152741", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "603518507", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null)Async.json index eb732e60ac06..5d56f550fe47 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/AddTag(null)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-7bb89aec938d0262f920d54873e54f80-22b19d4bb742b3d8-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9b69bbd5df375d5c2949d758a61e72b5", + "traceparent": "00-c0c39f0c3731234d7d450f33d969b615-99ae289bc5311f7b-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "df6c30b4a3171cd24a42d50b55f553c5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:46:54 GMT", + "Date": "Fri, 10 Feb 2023 13:22:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "60d2cb44-e8d0-4d24-a5fa-acf86cde44b8", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "60d2cb44-e8d0-4d24-a5fa-acf86cde44b8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094655Z:60d2cb44-e8d0-4d24-a5fa-acf86cde44b8" + "x-ms-correlation-request-id": "c79cc55e-d84c-4f92-ace6-3a86460ce31d", + "x-ms-ratelimit-remaining-subscription-reads": "11954", + "x-ms-request-id": "c79cc55e-d84c-4f92-ace6-3a86460ce31d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132222Z:c79cc55e-d84c-4f92-ace6-3a86460ce31d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7795?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1322?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-a8d4bce9135692375e781c60cc626d99-9ab3ec8538fdf3fd-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "5999aaea329b416ee9970bed49dd7ef7", + "traceparent": "00-49ee79c5d04fcb255af4b03b900f0b44-ca5efe5c72ca584c-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8e27cf2d1e28948ea304c1d584b27e27", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:46:57 GMT", + "Date": "Fri, 10 Feb 2023 13:22:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ca3b8ce7-9099-4743-91ee-f14c31579dd1", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "ca3b8ce7-9099-4743-91ee-f14c31579dd1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094658Z:ca3b8ce7-9099-4743-91ee-f14c31579dd1" + "x-ms-correlation-request-id": "d1c4e02e-de25-45be-a19a-d71589a7bc7f", + "x-ms-ratelimit-remaining-subscription-writes": "1151", + "x-ms-request-id": "d1c4e02e-de25-45be-a19a-d71589a7bc7f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132222Z:d1c4e02e-de25-45be-a19a-d71589a7bc7f" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7795", - "name": "uai-rg7795", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1322", + "name": "uai-rg1322", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-3f24c6388db11822ff8b4350f247f23e-fa44bf86316174e5-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c3ffd47cf629e97d4e6d729c1a60cd23", + "traceparent": "00-0138edd2161194a5e4115fd06ddfb0e5-e87aa589ddd999aa-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d5e3a32b948d30da2358e124ba8a48de", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,71 +104,403 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "426", + "Content-Length": "424", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:02 GMT", + "Date": "Fri, 10 Feb 2023 13:22:23 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9634b679-30b9-4b4a-ae42-2b5891f7955e", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "9634b679-30b9-4b4a-ae42-2b5891f7955e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094703Z:9634b679-30b9-4b4a-ae42-2b5891f7955e" + "x-ms-correlation-request-id": "d3b04cfb-a204-4b52-bfaa-464010f2e4ef", + "x-ms-ratelimit-remaining-subscription-writes": "1150", + "x-ms-request-id": "d3b04cfb-a204-4b52-bfaa-464010f2e4ef", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132224Z:d3b04cfb-a204-4b52-bfaa-464010f2e4ef" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731", - "name": "uai3731", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917", + "name": "uai917", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "285d4eba-00d3-4d74-beea-9315a7eb50d4", - "clientId": "98f7e7f8-c66f-4f38-89c0-7990909ea4b9" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "ad9c91d9-5e9d-413a-a269-8cdf55bdc48c", + "clientId": "ea772dcd-58ec-4797-a668-182234a210c1" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8d76f85144ed2c669e5eddea98864b64-9be307ededec189e-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "cc1659e953428939fa594d47516fe06c", + "traceparent": "00-58f8b75cb38ec1fc44e30961118c0721-fdca4ac3cd0d678d-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d3fc78992dd3118cdd4a749f1147c690", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17728", + "Content-Length": "19004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:03 GMT", + "Date": "Fri, 10 Feb 2023 13:22:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3ec90f62-d6d6-4ea3-8b79-0a46041ad560", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "3ec90f62-d6d6-4ea3-8b79-0a46041ad560", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094704Z:3ec90f62-d6d6-4ea3-8b79-0a46041ad560" + "x-ms-correlation-request-id": "cfef49a1-f204-4cb2-a5dd-c537b52d39e6", + "x-ms-ratelimit-remaining-subscription-reads": "11953", + "x-ms-request-id": "cfef49a1-f204-4cb2-a5dd-c537b52d39e6", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132224Z:cfef49a1-f204-4cb2-a5dd-c537b52d39e6" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources", "namespace": "Microsoft.Resources", "authorizations": [ { "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" }, - { - "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" - } - ], - "resourceTypes": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + } + ], + "resourceTypes": [ + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, { "resourceType": "tenants", "locations": [], @@ -702,7 +1021,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -779,7 +1097,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -1155,251 +1472,6 @@ ], "capabilities": "None" }, - { - "resourceType": "deploymentScripts", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "deploymentScripts/logs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/deploymentScriptOperationResults", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "templateSpecs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "templateSpecs/versions", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "builtInTemplateSpecs", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, - { - "resourceType": "builtInTemplateSpecs/versions", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, { "resourceType": "changes", "locations": [], @@ -1423,34 +1495,34 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8d76f85144ed2c669e5eddea98864b64-2255b185f8d2a5d1-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "4a2a6159f272f4322caf0b2ec0d22689", + "traceparent": "00-58f8b75cb38ec1fc44e30961118c0721-a31fd543218a3c74-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "522ae457ef6f99acf5f76ad03d69d918", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "272", + "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:04 GMT", + "Date": "Fri, 10 Feb 2023 13:22:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "623c1d3a-d0bc-4df6-b4f7-e758721b5324", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "623c1d3a-d0bc-4df6-b4f7-e758721b5324", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094705Z:623c1d3a-d0bc-4df6-b4f7-e758721b5324" + "x-ms-correlation-request-id": "5cf9f3de-d6c5-49ec-b9ac-c6bf0dee7cbe", + "x-ms-ratelimit-remaining-subscription-reads": "11952", + "x-ms-request-id": "5cf9f3de-d6c5-49ec-b9ac-c6bf0dee7cbe", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132224Z:5cf9f3de-d6c5-49ec-b9ac-c6bf0dee7cbe" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1459,16 +1531,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-8d76f85144ed2c669e5eddea98864b64-307ce420ac699b05-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "ef04e7c9b2c728b49b76c8d0a83698de", + "traceparent": "00-58f8b75cb38ec1fc44e30961118c0721-1d542d23ca32674e-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0c3ce2bbaab6fd5316d1f742203a1edc", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1481,20 +1553,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "285", + "Content-Length": "284", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:07 GMT", + "Date": "Fri, 10 Feb 2023 13:22:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e0f95574-6268-48ab-a3b9-6c0b3f9898a8", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "e0f95574-6268-48ab-a3b9-6c0b3f9898a8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094708Z:e0f95574-6268-48ab-a3b9-6c0b3f9898a8" + "x-ms-correlation-request-id": "30ebba04-b852-43f8-ba3f-4b2d1e20fc1d", + "x-ms-ratelimit-remaining-subscription-writes": "1149", + "x-ms-request-id": "30ebba04-b852-43f8-ba3f-4b2d1e20fc1d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132225Z:30ebba04-b852-43f8-ba3f-4b2d1e20fc1d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1505,52 +1577,52 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8d76f85144ed2c669e5eddea98864b64-44a55515e3b72e06-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "b943068d8335f7b12622a093480ac928", + "traceparent": "00-58f8b75cb38ec1fc44e30961118c0721-04cc4a80edf04e61-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d6cc5091f560a96ecb63dedcc3bcd474", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "439", + "Content-Length": "437", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:07 GMT", + "Date": "Fri, 10 Feb 2023 13:22:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0638018f-d2a2-4d04-b634-c61d161f7d7c", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "0638018f-d2a2-4d04-b634-c61d161f7d7c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094708Z:0638018f-d2a2-4d04-b634-c61d161f7d7c" + "x-ms-correlation-request-id": "04594d25-9b03-4305-b84f-46272224aeb7", + "x-ms-ratelimit-remaining-subscription-reads": "11951", + "x-ms-request-id": "04594d25-9b03-4305-b84f-46272224aeb7", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132225Z:04594d25-9b03-4305-b84f-46272224aeb7" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7795/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3731", - "name": "uai3731", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1322/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai917", + "name": "uai917", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key": "value" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "285d4eba-00d3-4d74-beea-9315a7eb50d4", - "clientId": "98f7e7f8-c66f-4f38-89c0-7990909ea4b9" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "ad9c91d9-5e9d-413a-a269-8cdf55bdc48c", + "clientId": "ea772dcd-58ec-4797-a668-182234a210c1" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1080912889", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1179594437", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Delete.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Delete.json index 0ac033693fe9..672bee7207fe 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Delete.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Delete.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-e5ae030dc4b56e11ff0bf0e44f08aee6-0f8c89541ddddff8-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "e1f410367820a4cfd1823d509bf80eeb", + "traceparent": "00-777adb8c02caa9768c9f224233ae8a79-85ebcd7db619108e-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c90ab739ecefc2ace89681eff8807d12", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:07 GMT", + "Date": "Fri, 10 Feb 2023 13:22:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "06672632-80fc-488c-b761-4b92f8ac8ae8", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "06672632-80fc-488c-b761-4b92f8ac8ae8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091208Z:06672632-80fc-488c-b761-4b92f8ac8ae8" + "x-ms-correlation-request-id": "9b89b093-4b99-4242-be46-63e107fb90ad", + "x-ms-ratelimit-remaining-subscription-reads": "11957", + "x-ms-request-id": "9b89b093-4b99-4242-be46-63e107fb90ad", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132210Z:9b89b093-4b99-4242-be46-63e107fb90ad" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5343?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9332?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-51fd5bae73c8b4f9d0fdd978a0f5f608-43cb08dffddc8bb4-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d61fe6c2b580b6aec0f0b1548f904cc1", + "traceparent": "00-0507e6c1918463fc32b75d38455f5948-3ad120dc109a798c-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6db6de10e0c82eaa4d410af7c0d1a050", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:09 GMT", + "Date": "Fri, 10 Feb 2023 13:22:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f79d2f24-1680-4496-8a8b-3ea58c9fef46", - "x-ms-ratelimit-remaining-subscription-writes": "1185", - "x-ms-request-id": "f79d2f24-1680-4496-8a8b-3ea58c9fef46", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091209Z:f79d2f24-1680-4496-8a8b-3ea58c9fef46" + "x-ms-correlation-request-id": "a8ff0905-4189-4124-9497-f209c5b9c347", + "x-ms-ratelimit-remaining-subscription-writes": "1155", + "x-ms-request-id": "a8ff0905-4189-4124-9497-f209c5b9c347", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132210Z:a8ff0905-4189-4124-9497-f209c5b9c347" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5343", - "name": "uai-rg5343", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9332", + "name": "uai-rg9332", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5343/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5919?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9332/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9159?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-9791baa768fd0bc2770a1bd90ee891d7-d163097160519269-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "930c489fff59b4856db9885418261baf", + "traceparent": "00-0048d3f731881ba4199ff69d40cd911e-f1981c95f66bfaf7-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "72d3672b1572a1d0b1d5f15593d846c6", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:12 GMT", + "Date": "Fri, 10 Feb 2023 13:22:11 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5343/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5919", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9332/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9159", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8b2a7fd1-4fe0-4efe-a730-ae06f4aa7373", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-request-id": "8b2a7fd1-4fe0-4efe-a730-ae06f4aa7373", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091212Z:8b2a7fd1-4fe0-4efe-a730-ae06f4aa7373" + "x-ms-correlation-request-id": "6df7b1df-5d8e-43a8-82a7-9fbf09b3e71b", + "x-ms-ratelimit-remaining-subscription-writes": "1154", + "x-ms-request-id": "6df7b1df-5d8e-43a8-82a7-9fbf09b3e71b", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132212Z:6df7b1df-5d8e-43a8-82a7-9fbf09b3e71b" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5343/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5919", - "name": "uai5919", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9332/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9159", + "name": "uai9159", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "ac227822-a3e6-46fa-8cbb-9bbde00b258c", - "clientId": "6c75a92c-cdd8-4112-a04f-4a432c30a4a7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "89dd8ac1-c27c-4962-b63b-656086b0f580", + "clientId": "f570fc7c-da57-42ac-8b4b-e09ade223800" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5343/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5919?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9332/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9159?api-version=2023-01-31", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d97fe0bd6b8c86169c671e350e06622b-2aa468afcbec5e1b-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "a4e4ebe3d47c5ab5462b60881d4f41f2", + "traceparent": "00-88cbd5576d6a8eaaa073a57e776d7a3d-e42b3ffdb36b0fef-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "63667c4e0b03d770609ba1aba2ca27c4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -159,23 +146,23 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:12:18 GMT", + "Date": "Fri, 10 Feb 2023 13:22:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5b527775-ba3c-407c-ab02-1e90c94d3119", - "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "5b527775-ba3c-407c-ab02-1e90c94d3119", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091218Z:5b527775-ba3c-407c-ab02-1e90c94d3119" + "x-ms-correlation-request-id": "265aa2fb-44c6-41ed-8281-3c89199b0b5d", + "x-ms-ratelimit-remaining-subscription-deletes": "14995", + "x-ms-request-id": "265aa2fb-44c6-41ed-8281-3c89199b0b5d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132215Z:265aa2fb-44c6-41ed-8281-3c89199b0b5d" }, "ResponseBody": null } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "600436130", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1512071354", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/DeleteAsync.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/DeleteAsync.json index ea703d7c75c1..87a5f1d042e3 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/DeleteAsync.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/DeleteAsync.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-713e38b96dae2c75f51d7d866ee5b650-9d9b8b839e9e7cf0-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f67adf301c2a66aa82b3414784965680", + "traceparent": "00-7b68800514c12d8cdc9d89f5c11f806c-a5fa23af81a086a5-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "10a48e3aefce69ec5d0e0ffbda5ba963", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:33 GMT", + "Date": "Fri, 10 Feb 2023 13:23:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d4025e40-d307-4dea-8439-fb04fe4e65bd", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "d4025e40-d307-4dea-8439-fb04fe4e65bd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091234Z:d4025e40-d307-4dea-8439-fb04fe4e65bd" + "x-ms-correlation-request-id": "d425142e-9223-4a99-bd80-c1447b78fa77", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "d425142e-9223-4a99-bd80-c1447b78fa77", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132319Z:d425142e-9223-4a99-bd80-c1447b78fa77" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg4038?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1344?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-1bf7b0c8dcb79298ac1afce717212c34-47a97a47cd9eaae0-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "6386050159a4204a6a7e8616b0a347ce", + "traceparent": "00-14fb8824a227ed60058a8a544bacf77a-43381167350b84e3-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9f93a6b46d95c4acf206ae9ef8ddd0b9", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:36 GMT", + "Date": "Fri, 10 Feb 2023 13:23:18 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "451ac5b1-7db4-4e6c-9529-a0b4978acc73", - "x-ms-ratelimit-remaining-subscription-writes": "1181", - "x-ms-request-id": "451ac5b1-7db4-4e6c-9529-a0b4978acc73", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091236Z:451ac5b1-7db4-4e6c-9529-a0b4978acc73" + "x-ms-correlation-request-id": "df9cdce7-723c-4e5c-a115-aba2da918492", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "df9cdce7-723c-4e5c-a115-aba2da918492", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132319Z:df9cdce7-723c-4e5c-a115-aba2da918492" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg4038", - "name": "uai-rg4038", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1344", + "name": "uai-rg1344", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg4038/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7986?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1344/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9544?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-88b2ce79cfa05de9084c23445203f6e6-96b21f6fb9f81866-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9430ecd1e19651ab0e541be42437b9d0", + "traceparent": "00-4443ced45425eacd79144d44e73751bb-84520bc58fed459b-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4dfc4fbbac07f09e2218350eeba9cd13", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:39 GMT", + "Date": "Fri, 10 Feb 2023 13:23:20 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg4038/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7986", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1344/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9544", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "851d528b-ccfa-43ad-9dc9-c8692c9f0aba", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-request-id": "851d528b-ccfa-43ad-9dc9-c8692c9f0aba", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091239Z:851d528b-ccfa-43ad-9dc9-c8692c9f0aba" + "x-ms-correlation-request-id": "d1426ea1-258d-4cf1-b8e9-726ccbfe0565", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "d1426ea1-258d-4cf1-b8e9-726ccbfe0565", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132320Z:d1426ea1-258d-4cf1-b8e9-726ccbfe0565" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg4038/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7986", - "name": "uai7986", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1344/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9544", + "name": "uai9544", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e1ff622b-8574-4bcc-96d9-97955d7acff1", - "clientId": "0619a217-61c5-42f4-8c3a-cf0e5095f3a1" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "90cd3e8a-297e-4853-9ac0-35342a8004f8", + "clientId": "a83bc115-91d4-4b6a-863d-2c35abbdebb0" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg4038/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7986?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1344/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9544?api-version=2023-01-31", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-bcaf8a5f86b7fdb49ba31f57b3b2e7d6-f2f391f222730850-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c42a10014e8d868b30d6c09d2450d10f", + "traceparent": "00-a47830fa531acb582aa7bf1356c0576a-338da701fa1698b6-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "eab0e18c366b21a4f84cdce93eca6531", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -159,23 +146,23 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:12:45 GMT", + "Date": "Fri, 10 Feb 2023 13:23:23 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fe79afc7-6f90-481f-9762-d031ac304e06", + "x-ms-correlation-request-id": "661d723d-4ed4-4cf5-8c71-72f3177b8016", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "fe79afc7-6f90-481f-9762-d031ac304e06", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091245Z:fe79afc7-6f90-481f-9762-d031ac304e06" + "x-ms-request-id": "661d723d-4ed4-4cf5-8c71-72f3177b8016", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132324Z:661d723d-4ed4-4cf5-8c71-72f3177b8016" }, "ResponseBody": null } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1107654540", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1945715425", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Get.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Get.json index b6ebde1851bd..8634399fb11d 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Get.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/Get.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-7ae675a74df4f6dc2491bda411434eaa-344687796e177489-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "1cf8e3ccbd633561da7287fe95596a98", + "traceparent": "00-46fe84940ad23652e77b33a0bd4c114b-53dd11574ad1b1fe-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3010250811be888f07d7f4beda8e6b9c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:24 GMT", + "Date": "Fri, 10 Feb 2023 13:22:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "824cf954-f8fd-498e-b83e-de108be919be", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "824cf954-f8fd-498e-b83e-de108be919be", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091225Z:824cf954-f8fd-498e-b83e-de108be919be" + "x-ms-correlation-request-id": "0dcc7fd0-3fca-49e0-ae49-071d66cb9d56", + "x-ms-ratelimit-remaining-subscription-reads": "11956", + "x-ms-request-id": "0dcc7fd0-3fca-49e0-ae49-071d66cb9d56", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132218Z:0dcc7fd0-3fca-49e0-ae49-071d66cb9d56" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2658?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9870?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-7557e9d19d6be8a1dc3ae622eefb6176-95391a8c2d7dcb94-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "96ebe0a949f55f5c99388bd6b7ae28ee", + "traceparent": "00-682d34e1dd1c54363bc6cd746b6fd665-4980954135abf0ba-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "49930fbc0fb6a33dc57f7c0385a2546a", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:25 GMT", + "Date": "Fri, 10 Feb 2023 13:22:17 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "acb8a813-78b5-4788-ab84-772520383142", - "x-ms-ratelimit-remaining-subscription-writes": "1183", - "x-ms-request-id": "acb8a813-78b5-4788-ab84-772520383142", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091226Z:acb8a813-78b5-4788-ab84-772520383142" + "x-ms-correlation-request-id": "20278743-f133-4ed5-9612-51fab970a482", + "x-ms-ratelimit-remaining-subscription-writes": "1153", + "x-ms-request-id": "20278743-f133-4ed5-9612-51fab970a482", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132218Z:20278743-f133-4ed5-9612-51fab970a482" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2658", - "name": "uai-rg2658", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9870", + "name": "uai-rg9870", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2658/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2336?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9870/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5035?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-f6eaeddb4e0ec9347347b14086ae6723-c4e0ba00a330e02b-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d1f04f8344d2c05c34b222ba0184669f", + "traceparent": "00-6b09aa2650730a637fb9b5e6c6e18618-fc69099c97233022-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f087030939ed3d6af8483c8c334344f0", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:29 GMT", + "Date": "Fri, 10 Feb 2023 13:22:19 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2658/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2336", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9870/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5035", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "377e04d0-43c6-4fe8-883d-9d5d9c6fae7e", - "x-ms-ratelimit-remaining-subscription-writes": "1182", - "x-ms-request-id": "377e04d0-43c6-4fe8-883d-9d5d9c6fae7e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091229Z:377e04d0-43c6-4fe8-883d-9d5d9c6fae7e" + "x-ms-correlation-request-id": "45d4e426-0845-499b-b5c9-6331d00d0436", + "x-ms-ratelimit-remaining-subscription-writes": "1152", + "x-ms-request-id": "45d4e426-0845-499b-b5c9-6331d00d0436", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132219Z:45d4e426-0845-499b-b5c9-6331d00d0436" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2658/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2336", - "name": "uai2336", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9870/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5035", + "name": "uai5035", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "8dcf476d-5cfa-4988-942e-5227aaff65ba", - "clientId": "4933312a-968e-4f90-954b-be2d0e816c1f" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "916173de-5405-4ee8-9422-69ef904ca078", + "clientId": "850eb2d9-8118-410d-bf52-86532d83bafc" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2658/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2336?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg9870/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5035?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-5406520bf4d5689d009f2c2bf854d045-55cf178ac208ec4d-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "2fee7d53e48499d69cbdca85d65e23c3", + "traceparent": "00-fdc32a3311b8e9a2aabf64af399fd0ea-97ebb2c7fd17df5a-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ce27838aa5851652d28cf99113858135", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,34 +147,34 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:29 GMT", + "Date": "Fri, 10 Feb 2023 13:22:19 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "90c257e3-92bd-46ff-ae66-2b2ef8d72cfd", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "90c257e3-92bd-46ff-ae66-2b2ef8d72cfd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091230Z:90c257e3-92bd-46ff-ae66-2b2ef8d72cfd" + "x-ms-correlation-request-id": "dcaa5669-71e3-43cc-967f-ecd38c91c652", + "x-ms-ratelimit-remaining-subscription-reads": "11955", + "x-ms-request-id": "dcaa5669-71e3-43cc-967f-ecd38c91c652", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132220Z:dcaa5669-71e3-43cc-967f-ecd38c91c652" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2658/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2336", - "name": "uai2336", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg9870/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5035", + "name": "uai5035", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "8dcf476d-5cfa-4988-942e-5227aaff65ba", - "clientId": "4933312a-968e-4f90-954b-be2d0e816c1f" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "916173de-5405-4ee8-9422-69ef904ca078", + "clientId": "850eb2d9-8118-410d-bf52-86532d83bafc" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "415322498", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "16387921", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/GetAsync.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/GetAsync.json index f79afa29563b..d30d3bb0d2f6 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/GetAsync.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/GetAsync.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d0baba0bde999024e0bf6b15a70214ca-06865608c3104f2d-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "26bfa0bb24c86c493f9e45b3a2427215", + "traceparent": "00-aac6d13e17815da4b504fe83e0a5ebeb-32652c6de33a4ef5-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a6efe434f76d3d0feeba50dc73debbef", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:51 GMT", + "Date": "Fri, 10 Feb 2023 13:23:25 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1ec42282-ed30-41c9-b59d-c32afc5f4055", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "1ec42282-ed30-41c9-b59d-c32afc5f4055", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091251Z:1ec42282-ed30-41c9-b59d-c32afc5f4055" + "x-ms-correlation-request-id": "3fb458b4-731a-425c-bdb1-22d7af79f000", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "3fb458b4-731a-425c-bdb1-22d7af79f000", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132326Z:3fb458b4-731a-425c-bdb1-22d7af79f000" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7702?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7404?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-d5b5a68b45af8f0697b12e0efba8884a-a8f8c1944461f9ff-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d68e953ef63b5eb999765c29af9d885a", + "traceparent": "00-86c97495673079beeacf5a1eb4d97ef6-96d76190062e7a1f-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1dc6e21180034ddba95d9aeb4f798137", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:52 GMT", + "Date": "Fri, 10 Feb 2023 13:23:26 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f0f8aab5-46cc-4125-bfa1-c78387ae04eb", - "x-ms-ratelimit-remaining-subscription-writes": "1179", - "x-ms-request-id": "f0f8aab5-46cc-4125-bfa1-c78387ae04eb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091253Z:f0f8aab5-46cc-4125-bfa1-c78387ae04eb" + "x-ms-correlation-request-id": "b7e4f553-3a1c-4510-93a4-02bf7afd2f2f", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "b7e4f553-3a1c-4510-93a4-02bf7afd2f2f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132326Z:b7e4f553-3a1c-4510-93a4-02bf7afd2f2f" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7702", - "name": "uai-rg7702", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7404", + "name": "uai-rg7404", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7702/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3008?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4040?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-ba77cf3312c323a71f6e9fa94c3c3636-2e8313250b81a3c4-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "a8badf47696aec94e8c14fbee6ba4d16", + "traceparent": "00-beb2062c5bc50186b1ddc1da87cf81f3-c7318e21a8cdfea0-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "36ba9ef3a3589121030495c0dbf948b8", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:56 GMT", + "Date": "Fri, 10 Feb 2023 13:23:28 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7702/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3008", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4040", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e9b00bd2-b41d-40c9-b366-20c56b09f4a8", - "x-ms-ratelimit-remaining-subscription-writes": "1178", - "x-ms-request-id": "e9b00bd2-b41d-40c9-b366-20c56b09f4a8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091256Z:e9b00bd2-b41d-40c9-b366-20c56b09f4a8" + "x-ms-correlation-request-id": "ddb5a5d7-37a5-4180-9250-3109bc2d77f9", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "ddb5a5d7-37a5-4180-9250-3109bc2d77f9", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132328Z:ddb5a5d7-37a5-4180-9250-3109bc2d77f9" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7702/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3008", - "name": "uai3008", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4040", + "name": "uai4040", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e6945c0b-ad24-4b43-8422-9d430e8dba40", - "clientId": "ed644cfa-f49d-4bb6-a87e-fe0adb69f0af" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "a05a6a5e-88fe-4c05-abfb-c574369cca46", + "clientId": "bec06172-2976-4734-89e5-d46b1def9d6a" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7702/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3008?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4040?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-2ac4e3bb393448fdf381f4b49d27e83d-a19f68c85ea6d80f-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "7321d1e0a6d1a98005c72faeed438f00", + "traceparent": "00-b4ef68137bab2396d30d3b70f0835b9f-55f078dd9d597d87-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1a457bebca6764301458c49975519f41", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,34 +147,34 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:12:56 GMT", + "Date": "Fri, 10 Feb 2023 13:23:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2f7a92d0-1210-44ba-99af-be13ef70346e", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "2f7a92d0-1210-44ba-99af-be13ef70346e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091257Z:2f7a92d0-1210-44ba-99af-be13ef70346e" + "x-ms-correlation-request-id": "d58cace9-1d81-4014-893c-d724ac6c150a", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "d58cace9-1d81-4014-893c-d724ac6c150a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132328Z:d58cace9-1d81-4014-893c-d724ac6c150a" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7702/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3008", - "name": "uai3008", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4040", + "name": "uai4040", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e6945c0b-ad24-4b43-8422-9d430e8dba40", - "clientId": "ed644cfa-f49d-4bb6-a87e-fe0adb69f0af" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "a05a6a5e-88fe-4c05-abfb-c574369cca46", + "clientId": "bec06172-2976-4734-89e5-d46b1def9d6a" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1449098987", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "804128474", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False).json index ef96fb1db887..453795f66dc7 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-21a06ef5d70e61a005f7e1b7d157d916-f75daed176344f19-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "aa2c3d79d24f5092ad59f8f67e2abb86", + "traceparent": "00-aa715512a07fcf40454fd80cf721e4d1-8b845690cc63cab0-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3a542aec4b0144b337f2087043d4ef5f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:11 GMT", + "Date": "Fri, 10 Feb 2023 13:21:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3bc4b4e8-d225-4deb-8f20-f6f21d6ed054", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "3bc4b4e8-d225-4deb-8f20-f6f21d6ed054", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091812Z:3bc4b4e8-d225-4deb-8f20-f6f21d6ed054" + "x-ms-correlation-request-id": "f17c857a-ccbc-40e6-a0e1-18a9ff385db2", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "f17c857a-ccbc-40e6-a0e1-18a9ff385db2", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132137Z:f17c857a-ccbc-40e6-a0e1-18a9ff385db2" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2683?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8083?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-fa02b0e36b5cf31a8032f6c3e4e249ab-d8da4dc418bc3e82-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c53c55ef5b4a749c52d8a5eecd0f264f", + "traceparent": "00-fe8c946a5337236bc3d58acaf57a2725-7a1a2b3736bb0044-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e980aa3eaafbd346291914c723049683", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:14 GMT", + "Date": "Fri, 10 Feb 2023 13:21:37 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "48726b54-dee4-4617-acd2-1bb761f0a62b", - "x-ms-ratelimit-remaining-subscription-writes": "1195", - "x-ms-request-id": "48726b54-dee4-4617-acd2-1bb761f0a62b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091814Z:48726b54-dee4-4617-acd2-1bb761f0a62b" + "x-ms-correlation-request-id": "7d3528e4-138f-4f23-96f4-08c54a7bc245", + "x-ms-ratelimit-remaining-subscription-writes": "1172", + "x-ms-request-id": "7d3528e4-138f-4f23-96f4-08c54a7bc245", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132137Z:7d3528e4-138f-4f23-96f4-08c54a7bc245" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2683", - "name": "uai-rg2683", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8083", + "name": "uai-rg8083", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-22f1fa0d38bf05daf9c8259a1741e4f9-b89d20b143206426-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "be37337cb678feb850f8ec2099e3b785", + "traceparent": "00-1694303153837983216d479c4c544977-5ff5e5b29a69216b-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6613b3e8a20001bf5a0426c43d0eae60", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:19 GMT", + "Date": "Fri, 10 Feb 2023 13:21:38 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3fa4d5a4-717f-4083-83b0-067752763fbe", - "x-ms-ratelimit-remaining-subscription-writes": "1194", - "x-ms-request-id": "3fa4d5a4-717f-4083-83b0-067752763fbe", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091819Z:3fa4d5a4-717f-4083-83b0-067752763fbe" + "x-ms-correlation-request-id": "85ed749a-974b-44d0-8d4f-2adef273ff25", + "x-ms-ratelimit-remaining-subscription-writes": "1171", + "x-ms-request-id": "85ed749a-974b-44d0-8d4f-2adef273ff25", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132139Z:85ed749a-974b-44d0-8d4f-2adef273ff25" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328", - "name": "uai9328", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786", + "name": "uai7786", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6d69c0d2-61a8-4c22-86f4-60c6038248a3", - "clientId": "560c9333-db56-4194-9930-19cf3a2032a7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "daf7d940-d778-4fb3-b3ba-32c5ebe383ee", + "clientId": "9ff86877-a293-4604-8d62-9d8ff99b6198" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-48ec67f9b864288ddee284bd18f2c59d-674686f218d0e9f6-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "614e7c3fc9f2e12e8f35fdf9ed62df4a", + "traceparent": "00-f5852c353ad60b7fd52800ba78732fdd-ffe3d3761ed5c7d0-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "36376b1a3b7a7ff10d66d7319e7c14ee", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,40 +147,40 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:19 GMT", + "Date": "Fri, 10 Feb 2023 13:21:38 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a0618009-a219-4afb-adf9-6c299a05007e", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "a0618009-a219-4afb-adf9-6c299a05007e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091819Z:a0618009-a219-4afb-adf9-6c299a05007e" + "x-ms-correlation-request-id": "09bbb73c-7963-4d73-801b-21597d37c514", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "09bbb73c-7963-4d73-801b-21597d37c514", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132139Z:09bbb73c-7963-4d73-801b-21597d37c514" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328", - "name": "uai9328", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786", + "name": "uai7786", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6d69c0d2-61a8-4c22-86f4-60c6038248a3", - "clientId": "560c9333-db56-4194-9930-19cf3a2032a7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "daf7d940-d778-4fb3-b3ba-32c5ebe383ee", + "clientId": "9ff86877-a293-4604-8d62-9d8ff99b6198" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "78", "Content-Type": "application/json", - "traceparent": "00-48ec67f9b864288ddee284bd18f2c59d-3af939ede9aa0ed9-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f602a7d2c88438ca9d3e75526f7bdb6e", + "traceparent": "00-f5852c353ad60b7fd52800ba78732fdd-3ca30876995a8069-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "215aed72f9db9b6deb7f8ef68382951b", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -209,19 +196,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:21 GMT", + "Date": "Fri, 10 Feb 2023 13:21:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "af3726a7-8dbc-433e-b193-1c85851af9c5", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "af3726a7-8dbc-433e-b193-1c85851af9c5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091822Z:af3726a7-8dbc-433e-b193-1c85851af9c5" + "x-ms-correlation-request-id": "a01569c6-5247-43b2-b2ea-d43ac0b52977", + "x-ms-ratelimit-remaining-subscription-writes": "1170", + "x-ms-request-id": "a01569c6-5247-43b2-b2ea-d43ac0b52977", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132140Z:a01569c6-5247-43b2-b2ea-d43ac0b52977" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328", - "name": "uai9328", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786", + "name": "uai7786", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -229,21 +216,21 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6d69c0d2-61a8-4c22-86f4-60c6038248a3", - "clientId": "560c9333-db56-4194-9930-19cf3a2032a7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "daf7d940-d778-4fb3-b3ba-32c5ebe383ee", + "clientId": "9ff86877-a293-4604-8d62-9d8ff99b6198" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-882e868bef8aef6e77c2cca6a819c363-624d03de0080067f-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "51ae2021c4c0b25c05552e43b9be10ed", + "traceparent": "00-2cb60bf3f1f963736f95db7946ab511e-3c2d2a93c58faa3c-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b8adb46a60ccad08c293589acb8d62de", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -252,19 +239,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:22 GMT", + "Date": "Fri, 10 Feb 2023 13:21:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e6e0da57-a4b1-4c43-bed3-721d6136f1f9", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "e6e0da57-a4b1-4c43-bed3-721d6136f1f9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091822Z:e6e0da57-a4b1-4c43-bed3-721d6136f1f9" + "x-ms-correlation-request-id": "8b83ebaf-fa31-4591-a29f-e8e4b55f620c", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "8b83ebaf-fa31-4591-a29f-e8e4b55f620c", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132140Z:8b83ebaf-fa31-4591-a29f-e8e4b55f620c" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328", - "name": "uai9328", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786", + "name": "uai7786", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -272,23 +259,23 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6d69c0d2-61a8-4c22-86f4-60c6038248a3", - "clientId": "560c9333-db56-4194-9930-19cf3a2032a7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "daf7d940-d778-4fb3-b3ba-32c5ebe383ee", + "clientId": "9ff86877-a293-4604-8d62-9d8ff99b6198" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "62", "Content-Type": "application/json", - "traceparent": "00-882e868bef8aef6e77c2cca6a819c363-0c7699a78543d908-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f14ea118c1e17601b116c4b354dc7213", + "traceparent": "00-2cb60bf3f1f963736f95db7946ab511e-24338b2b564ee024-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "505238f08db42184fd9b4bfaadfafb8a", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -303,36 +290,36 @@ "Cache-Control": "no-cache", "Content-Length": "441", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:24 GMT", + "Date": "Fri, 10 Feb 2023 13:21:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c049a761-15cd-4c29-8db0-be04698930c0", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "c049a761-15cd-4c29-8db0-be04698930c0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091825Z:c049a761-15cd-4c29-8db0-be04698930c0" + "x-ms-correlation-request-id": "f54f6983-1e87-4c2e-adef-4841f24e6f68", + "x-ms-ratelimit-remaining-subscription-writes": "1169", + "x-ms-request-id": "f54f6983-1e87-4c2e-adef-4841f24e6f68", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132141Z:f54f6983-1e87-4c2e-adef-4841f24e6f68" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2683/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9328", - "name": "uai9328", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8083/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7786", + "name": "uai7786", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6d69c0d2-61a8-4c22-86f4-60c6038248a3", - "clientId": "560c9333-db56-4194-9930-19cf3a2032a7" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "daf7d940-d778-4fb3-b3ba-32c5ebe383ee", + "clientId": "9ff86877-a293-4604-8d62-9d8ff99b6198" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1020568163", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1500160857", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False)Async.json index bc60b36ed484..ba0a5f3dbcb4 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(False)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-98530454b1e495c8d73343709e54c58f-a3d0ed50c477667a-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "7c1874c3c55c4eb503910a3b479e6756", + "traceparent": "00-d3c406f1ad3ceee81bd1bc56020438f8-48324174ec453af8-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "41ee3735bb723fcc7ab6e0f5299703aa", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:10 GMT", + "Date": "Fri, 10 Feb 2023 13:22:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e3a6f30c-7f87-4018-a82d-2c30f26eab66", - "x-ms-ratelimit-remaining-subscription-reads": "11965", - "x-ms-request-id": "e3a6f30c-7f87-4018-a82d-2c30f26eab66", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094811Z:e3a6f30c-7f87-4018-a82d-2c30f26eab66" + "x-ms-correlation-request-id": "ff7e2eeb-cb50-4dd3-9d6e-2e2a0b6f18be", + "x-ms-ratelimit-remaining-subscription-reads": "11939", + "x-ms-request-id": "ff7e2eeb-cb50-4dd3-9d6e-2e2a0b6f18be", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132244Z:ff7e2eeb-cb50-4dd3-9d6e-2e2a0b6f18be" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9409?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8559?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-947577f1fcb223f4be724f4029e28a15-d01bbcba3473128c-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "5c38d3c6830c8796307ffa4d89bd0346", + "traceparent": "00-c3bed52e5aa23c8c00b72d4ecabb54b5-0a4853ff9d48b9cd-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "981f262f0520761dbfcac0e6036d2a17", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,22 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", + "Connection": "close", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:12 GMT", + "Date": "Fri, 10 Feb 2023 13:22:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b265957e-d77f-450d-8352-8050b96d494a", - "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-request-id": "b265957e-d77f-450d-8352-8050b96d494a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094813Z:b265957e-d77f-450d-8352-8050b96d494a" + "x-ms-correlation-request-id": "f8442454-618f-4586-bd29-15157ece1f11", + "x-ms-ratelimit-remaining-subscription-writes": "1138", + "x-ms-request-id": "f8442454-618f-4586-bd29-15157ece1f11", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132244Z:f8442454-618f-4586-bd29-15157ece1f11" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9409", - "name": "uai-rg9409", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8559", + "name": "uai-rg8559", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +85,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-44d36d2517aac1e1d65887644645481e-0b0e4915630ae6bf-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "abc3327457980f72c4d07b2eba750029", + "traceparent": "00-c56449ce3866cb86d8658ab42b684dbe-aa2698666a781e89-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "575c2ab3b3b4c711f24e2ad27534c12f", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +107,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:15 GMT", + "Date": "Fri, 10 Feb 2023 13:22:46 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3a8ba19b-4236-4fea-82d4-a210901706e8", - "x-ms-ratelimit-remaining-subscription-writes": "1185", - "x-ms-request-id": "3a8ba19b-4236-4fea-82d4-a210901706e8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094816Z:3a8ba19b-4236-4fea-82d4-a210901706e8" + "x-ms-correlation-request-id": "f6254afd-e327-4005-b0b0-dc0253235a8d", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "f6254afd-e327-4005-b0b0-dc0253235a8d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132246Z:f6254afd-e327-4005-b0b0-dc0253235a8d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947", - "name": "uai3947", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143", + "name": "uai4143", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c75d1411-8fb9-4797-8d8a-6620f28ff11f", - "clientId": "9f83a2fe-a287-40ea-84ce-bf83f8c607bf" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "2e0b870a-cfff-4552-aed8-610bd35ce633", + "clientId": "cdf40ae9-33ea-454c-ae77-a0e48e4d5b6d" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-a64f6386e86aa0290b2f433320df179f-f282259611a0a30c-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "4bdfba4f9f57f1b682f42b46ba017ad3", + "traceparent": "00-8cb24a3c26a45feccfd592ccbdf43356-5a2164b4e09d7e9c-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f660dc84b3943115d0cab3f10c597749", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,40 +148,40 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:16 GMT", + "Date": "Fri, 10 Feb 2023 13:22:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e39a41b-6e1b-4cd2-a31b-ed36d445b308", - "x-ms-ratelimit-remaining-subscription-reads": "11964", - "x-ms-request-id": "4e39a41b-6e1b-4cd2-a31b-ed36d445b308", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094816Z:4e39a41b-6e1b-4cd2-a31b-ed36d445b308" + "x-ms-correlation-request-id": "8e6a202a-26c7-4205-91d2-96f8db9732c3", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "8e6a202a-26c7-4205-91d2-96f8db9732c3", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132246Z:8e6a202a-26c7-4205-91d2-96f8db9732c3" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947", - "name": "uai3947", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143", + "name": "uai4143", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c75d1411-8fb9-4797-8d8a-6620f28ff11f", - "clientId": "9f83a2fe-a287-40ea-84ce-bf83f8c607bf" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "2e0b870a-cfff-4552-aed8-610bd35ce633", + "clientId": "cdf40ae9-33ea-454c-ae77-a0e48e4d5b6d" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "78", "Content-Type": "application/json", - "traceparent": "00-a64f6386e86aa0290b2f433320df179f-93ff04f29e00baab-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "6bd3f507aaa36e076129983b0767cdbb", + "traceparent": "00-8cb24a3c26a45feccfd592ccbdf43356-1f60112932563dda-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6c76ddb652a67bbf1557a6d2da4a018a", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -209,19 +197,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:18 GMT", + "Date": "Fri, 10 Feb 2023 13:22:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "be74b769-8080-4832-85fa-c55b30a227a3", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-request-id": "be74b769-8080-4832-85fa-c55b30a227a3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094819Z:be74b769-8080-4832-85fa-c55b30a227a3" + "x-ms-correlation-request-id": "520acde5-1791-435c-98a0-5d6c6e9af6a7", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "520acde5-1791-435c-98a0-5d6c6e9af6a7", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132248Z:520acde5-1791-435c-98a0-5d6c6e9af6a7" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947", - "name": "uai3947", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143", + "name": "uai4143", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -229,21 +217,21 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c75d1411-8fb9-4797-8d8a-6620f28ff11f", - "clientId": "9f83a2fe-a287-40ea-84ce-bf83f8c607bf" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "2e0b870a-cfff-4552-aed8-610bd35ce633", + "clientId": "cdf40ae9-33ea-454c-ae77-a0e48e4d5b6d" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-c1be20df169a00a16128a123c11b0abc-846db62a9ea645b5-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "cffdd07eb7ded4ef7bd229a32b2c54c3", + "traceparent": "00-17fa9e810b27a3852f6b76d9feee8ff8-674309a02b2b2f5f-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "27629008340cff83152b87e9001fbb99", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -252,19 +240,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:19 GMT", + "Date": "Fri, 10 Feb 2023 13:22:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a7cb72cd-38b2-4a2f-b5ac-974090daff7d", - "x-ms-ratelimit-remaining-subscription-reads": "11963", - "x-ms-request-id": "a7cb72cd-38b2-4a2f-b5ac-974090daff7d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094820Z:a7cb72cd-38b2-4a2f-b5ac-974090daff7d" + "x-ms-correlation-request-id": "daa1c14d-86b4-49be-b48b-915887958918", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "daa1c14d-86b4-49be-b48b-915887958918", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132248Z:daa1c14d-86b4-49be-b48b-915887958918" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947", - "name": "uai3947", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143", + "name": "uai4143", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -272,23 +260,23 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c75d1411-8fb9-4797-8d8a-6620f28ff11f", - "clientId": "9f83a2fe-a287-40ea-84ce-bf83f8c607bf" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "2e0b870a-cfff-4552-aed8-610bd35ce633", + "clientId": "cdf40ae9-33ea-454c-ae77-a0e48e4d5b6d" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "62", "Content-Type": "application/json", - "traceparent": "00-c1be20df169a00a16128a123c11b0abc-7add697f0a4be13b-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c427a75694a1a586b271ea2d077be91a", + "traceparent": "00-17fa9e810b27a3852f6b76d9feee8ff8-5d3bb4b1c8eb2dd5-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "971ce1d655be31891ce4e13c0d425685", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -303,36 +291,36 @@ "Cache-Control": "no-cache", "Content-Length": "441", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:21 GMT", + "Date": "Fri, 10 Feb 2023 13:22:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4bb9a6c2-5186-46f0-bf18-50e8674cc06d", - "x-ms-ratelimit-remaining-subscription-writes": "1183", - "x-ms-request-id": "4bb9a6c2-5186-46f0-bf18-50e8674cc06d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094822Z:4bb9a6c2-5186-46f0-bf18-50e8674cc06d" + "x-ms-correlation-request-id": "a7923590-881d-4ec9-8c61-87e12cdfac45", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "a7923590-881d-4ec9-8c61-87e12cdfac45", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132249Z:a7923590-881d-4ec9-8c61-87e12cdfac45" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9409/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3947", - "name": "uai3947", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg8559/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai4143", + "name": "uai4143", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "c75d1411-8fb9-4797-8d8a-6620f28ff11f", - "clientId": "9f83a2fe-a287-40ea-84ce-bf83f8c607bf" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "2e0b870a-cfff-4552-aed8-610bd35ce633", + "clientId": "cdf40ae9-33ea-454c-ae77-a0e48e4d5b6d" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "673805149", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "889847764", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True).json index a413b2844ee6..12504ed7dcf1 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-68aca5a0e72aee64007d015182510b90-3019b36915599a46-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9934b5f8e95b6f6b577517234eb7c802", + "traceparent": "00-00fd59ee65323652e21d6c6e07771d91-4758ea77742cf1c6-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d0f31179c1a60b357f6ba27f31dd8581", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:27 GMT", + "Date": "Fri, 10 Feb 2023 13:21:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cc77aacc-a921-4f47-ad29-a8c751f43ec3", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "cc77aacc-a921-4f47-ad29-a8c751f43ec3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091828Z:cc77aacc-a921-4f47-ad29-a8c751f43ec3" + "x-ms-correlation-request-id": "19cacda9-422f-4cdc-b650-ce24d9dc7d05", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "19cacda9-422f-4cdc-b650-ce24d9dc7d05", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132144Z:19cacda9-422f-4cdc-b650-ce24d9dc7d05" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg920?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4439?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-0a021f0ad13383eb7d2c0e057fa99ef3-3433d29ca21e9ef9-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "de624339db31352bdc5cda350491e418", + "traceparent": "00-411bae3eb2997fd96fc7830ac07595fa-eb2a9df8be557938-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4926d2b422ff07f8ee9a0984f3e42712", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,21 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "215", + "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:29 GMT", + "Date": "Fri, 10 Feb 2023 13:21:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "65707b00-6200-4807-8c2e-58edb33b71bc", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "65707b00-6200-4807-8c2e-58edb33b71bc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091829Z:65707b00-6200-4807-8c2e-58edb33b71bc" + "x-ms-correlation-request-id": "84da962d-4ed0-4f54-a2c2-9cc9b0f17e1d", + "x-ms-ratelimit-remaining-subscription-writes": "1168", + "x-ms-request-id": "84da962d-4ed0-4f54-a2c2-9cc9b0f17e1d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132144Z:84da962d-4ed0-4f54-a2c2-9cc9b0f17e1d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920", - "name": "uai-rg920", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439", + "name": "uai-rg4439", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-59a020537c80f09f2bfb930c4eebe58a-6b76fcaa36d0a8c8-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "30b3dd84bff200589e870ac978ce2716", + "traceparent": "00-109bdda76cced38fd62635b9bceaf5d2-42750a9b6761b93e-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a5bf7917ad3107fd8b7baec00e2ecb8d", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,41 +104,41 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "425", + "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:33 GMT", + "Date": "Fri, 10 Feb 2023 13:21:45 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "16f68907-3334-4968-b5c0-cbcc93a01931", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "16f68907-3334-4968-b5c0-cbcc93a01931", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091833Z:16f68907-3334-4968-b5c0-cbcc93a01931" + "x-ms-correlation-request-id": "3c3cf8f7-4613-4eec-96c7-83e965397987", + "x-ms-ratelimit-remaining-subscription-writes": "1167", + "x-ms-request-id": "3c3cf8f7-4613-4eec-96c7-83e965397987", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132145Z:3c3cf8f7-4613-4eec-96c7-83e965397987" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956", - "name": "uai2956", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069", + "name": "uai2069", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6aa6e860-f626-4607-8025-4308523cf1fd", - "clientId": "13a8fb03-7b50-4467-802e-15c0b092448c" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "80024214-ff11-4ab8-ae80-7733c0670f8e", + "clientId": "58309c12-f5e6-4872-80d3-493139acdfc1" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d2bba9df3085267a4f44ec743f7a5762-e84b70f960f0fe6a-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "bcef0f72e032dac709637f8d913953e3", + "traceparent": "00-c83d3706a518e26518cc1a642d5499a0-7e178333c7d9aeed-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3d1f232f9354ee79fac9b7272b868b87", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -159,47 +146,47 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:18:34 GMT", + "Date": "Fri, 10 Feb 2023 13:21:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e0adcb76-f368-4e39-92e3-f9cd269a1bb1", + "x-ms-correlation-request-id": "01a63e0f-4445-48a9-a34c-6d1e8c30ce2a", "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "e0adcb76-f368-4e39-92e3-f9cd269a1bb1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091835Z:e0adcb76-f368-4e39-92e3-f9cd269a1bb1" + "x-ms-request-id": "01a63e0f-4445-48a9-a34c-6d1e8c30ce2a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132146Z:01a63e0f-4445-48a9-a34c-6d1e8c30ce2a" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d2bba9df3085267a4f44ec743f7a5762-535ef4192ecab29f-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d9c90a32d2157a34ea613fa9d062bd0d", + "traceparent": "00-c83d3706a518e26518cc1a642d5499a0-5e220d56358984b3-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "641a6d7adcc50681d51ebd837437f8c0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "271", + "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:35 GMT", + "Date": "Fri, 10 Feb 2023 13:21:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "715c62fd-104d-4c1e-a72c-ee7a76e5845f", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "715c62fd-104d-4c1e-a72c-ee7a76e5845f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091835Z:715c62fd-104d-4c1e-a72c-ee7a76e5845f" + "x-ms-correlation-request-id": "9fdee143-4c2d-4b64-99a4-f04bc4689d6a", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "9fdee143-4c2d-4b64-99a4-f04bc4689d6a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132146Z:9fdee143-4c2d-4b64-99a4-f04bc4689d6a" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -208,16 +195,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-d2bba9df3085267a4f44ec743f7a5762-8457003a00dc01be-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f4c3c33528a2a4e615d8278e3fcb6f64", + "traceparent": "00-c83d3706a518e26518cc1a642d5499a0-3181a12b8487a395-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "d0547ccfeac484bdffd0ab68f5d5dc04", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -231,20 +218,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "302", + "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:38 GMT", + "Date": "Fri, 10 Feb 2023 13:21:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e74def4f-c2da-4e91-92a4-94fd5cad0f66", - "x-ms-ratelimit-remaining-subscription-writes": "1189", - "x-ms-request-id": "e74def4f-c2da-4e91-92a4-94fd5cad0f66", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091838Z:e74def4f-c2da-4e91-92a4-94fd5cad0f66" + "x-ms-correlation-request-id": "f3edca0a-3ea4-4376-a538-69e839706dc4", + "x-ms-ratelimit-remaining-subscription-writes": "1166", + "x-ms-request-id": "f3edca0a-3ea4-4376-a538-69e839706dc4", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132147Z:f3edca0a-3ea4-4376-a538-69e839706dc4" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -256,35 +243,35 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d2bba9df3085267a4f44ec743f7a5762-71235bd0ab19deea-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "6d9627344d05a001db74d1d0a01e09a6", + "traceparent": "00-c83d3706a518e26518cc1a642d5499a0-208c72ac151d1d05-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a14627f0671353c8a2196735d5f57ac2", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "456", + "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:38 GMT", + "Date": "Fri, 10 Feb 2023 13:21:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "18b45aa3-8268-4ee1-90ed-d31569157a35", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "18b45aa3-8268-4ee1-90ed-d31569157a35", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091839Z:18b45aa3-8268-4ee1-90ed-d31569157a35" + "x-ms-correlation-request-id": "094450be-e1cd-4e56-b7c0-738a734b66e4", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "094450be-e1cd-4e56-b7c0-738a734b66e4", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132148Z:094450be-e1cd-4e56-b7c0-738a734b66e4" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956", - "name": "uai2956", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069", + "name": "uai2069", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -292,41 +279,41 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6aa6e860-f626-4607-8025-4308523cf1fd", - "clientId": "13a8fb03-7b50-4467-802e-15c0b092448c" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "80024214-ff11-4ab8-ae80-7733c0670f8e", + "clientId": "58309c12-f5e6-4872-80d3-493139acdfc1" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8930550bff3b823cb3f061f058c0c85c-9877b3f230c2c712-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "ce5871a55e7609402424c43caaa53a1f", + "traceparent": "00-f684fd3d6eab2dad1aed539e37f3631d-4500c080aa949b43-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "af57f7d0bb3290c2af9664f4311810ff", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "302", + "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:39 GMT", + "Date": "Fri, 10 Feb 2023 13:21:47 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f90340a9-c3de-429e-a0c9-30d5a94daea3", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "f90340a9-c3de-429e-a0c9-30d5a94daea3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091839Z:f90340a9-c3de-429e-a0c9-30d5a94daea3" + "x-ms-correlation-request-id": "11fcee9f-3104-4d12-b9b8-81aab2ddac65", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "11fcee9f-3104-4d12-b9b8-81aab2ddac65", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132148Z:11fcee9f-3104-4d12-b9b8-81aab2ddac65" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -338,16 +325,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "41", "Content-Type": "application/json", - "traceparent": "00-8930550bff3b823cb3f061f058c0c85c-c3d65249b55768a7-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "a975daf250cbe708c223192d571503f7", + "traceparent": "00-f684fd3d6eab2dad1aed539e37f3631d-015144874eba3995-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4d93b84257f167acb4012eab8288ae09", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -360,20 +347,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "286", + "Content-Length": "287", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:41 GMT", + "Date": "Fri, 10 Feb 2023 13:21:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "63393d9f-f508-491b-b2bf-4973deebd66e", - "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-request-id": "63393d9f-f508-491b-b2bf-4973deebd66e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091842Z:63393d9f-f508-491b-b2bf-4973deebd66e" + "x-ms-correlation-request-id": "738b453a-e8a8-43bb-8b48-b1e044c996f2", + "x-ms-ratelimit-remaining-subscription-writes": "1165", + "x-ms-request-id": "738b453a-e8a8-43bb-8b48-b1e044c996f2", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132150Z:738b453a-e8a8-43bb-8b48-b1e044c996f2" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -384,52 +371,52 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8930550bff3b823cb3f061f058c0c85c-3588fa64f2b5f90c-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "cde880cea073d5eee68c48e089c4f535", + "traceparent": "00-f684fd3d6eab2dad1aed539e37f3631d-5e78e256cb1a12f4-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fe98e8562c7e34d264b5f27d03d32289", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "440", + "Content-Length": "441", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:42 GMT", + "Date": "Fri, 10 Feb 2023 13:21:50 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6647717b-770c-4487-b926-236dbd7f23d1", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "6647717b-770c-4487-b926-236dbd7f23d1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091842Z:6647717b-770c-4487-b926-236dbd7f23d1" + "x-ms-correlation-request-id": "6b9a6be0-2eb4-4a1d-a99b-36cf5b07ed1c", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "6b9a6be0-2eb4-4a1d-a99b-36cf5b07ed1c", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132150Z:6b9a6be0-2eb4-4a1d-a99b-36cf5b07ed1c" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg920/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2956", - "name": "uai2956", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg4439/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2069", + "name": "uai2069", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6aa6e860-f626-4607-8025-4308523cf1fd", - "clientId": "13a8fb03-7b50-4467-802e-15c0b092448c" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "80024214-ff11-4ab8-ae80-7733c0670f8e", + "clientId": "58309c12-f5e6-4872-80d3-493139acdfc1" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1484403821", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "804212522", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True)Async.json index fda0b7add6ae..8083ed3c287a 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(True)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-a96317163492b6839fc2efae8ef5f9d9-9f8285cc1a1f5be8-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "8b4bbc2038b44b722dda7f5047886d9e", + "traceparent": "00-9b9bd57cf909ccbdf35d30feeb953e2b-84d1ac54e56c51a1-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4d6ae362e0413f0362ae64c0990202fc", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:24 GMT", + "Date": "Fri, 10 Feb 2023 13:22:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "51a06cbd-dc1b-4910-82e7-cca50e8a9ac7", - "x-ms-ratelimit-remaining-subscription-reads": "11962", - "x-ms-request-id": "51a06cbd-dc1b-4910-82e7-cca50e8a9ac7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094825Z:51a06cbd-dc1b-4910-82e7-cca50e8a9ac7" + "x-ms-correlation-request-id": "77e0305c-84ce-40e3-9e86-283b3f950f4b", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "77e0305c-84ce-40e3-9e86-283b3f950f4b", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132251Z:77e0305c-84ce-40e3-9e86-283b3f950f4b" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5121?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7643?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-6dede6e8935baef6250a76b2fef9f63a-80770eb5ff8d3849-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "82e98b301441bd34d5096ad53999d905", + "traceparent": "00-b02769143abad639d1f160012c805b37-4e526d2a3dfd956c-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a233a2ade1a84ebdaaff19ae0e35e400", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:25 GMT", + "Date": "Fri, 10 Feb 2023 13:22:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "33770ef3-3418-4373-bad1-d12d03e50fab", - "x-ms-ratelimit-remaining-subscription-writes": "1182", - "x-ms-request-id": "33770ef3-3418-4373-bad1-d12d03e50fab", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094826Z:33770ef3-3418-4373-bad1-d12d03e50fab" + "x-ms-correlation-request-id": "0b161576-624c-48b7-bbac-7d1723d3cc30", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "0b161576-624c-48b7-bbac-7d1723d3cc30", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132252Z:0b161576-624c-48b7-bbac-7d1723d3cc30" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121", - "name": "uai-rg5121", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643", + "name": "uai-rg7643", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-c3e69d75af04d8afa98b213a66f90bb8-ef746f6f1ce83e44-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "85e6433d6d53c16ce8cecce4d78e4279", + "traceparent": "00-720e0157a58590d03a254f020a6835d1-fcacfa51bde61d49-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "61aba973fb53a5baaec17de852b6e41c", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,41 +104,41 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "424", + "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:29 GMT", + "Date": "Fri, 10 Feb 2023 13:22:53 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "579e6902-654d-4a68-96ec-33f47d435b29", - "x-ms-ratelimit-remaining-subscription-writes": "1181", - "x-ms-request-id": "579e6902-654d-4a68-96ec-33f47d435b29", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094830Z:579e6902-654d-4a68-96ec-33f47d435b29" + "x-ms-correlation-request-id": "86381240-6b61-4d73-adb4-ee3c49175817", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "86381240-6b61-4d73-adb4-ee3c49175817", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132254Z:86381240-6b61-4d73-adb4-ee3c49175817" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334", - "name": "uai334", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462", + "name": "uai9462", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e99208bc-e637-45ce-a105-c5c1574db28e", - "clientId": "ef6898b9-ae92-41c9-9ba5-acf1478bbb2e" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "387fae1c-6367-47ff-8cf8-c155df0724fa", + "clientId": "6bc82d0e-6faa-42f3-b883-8e70114575cc" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d68845b23c914dd8ecb4f72d5b7c2b2d-b1dcb38283c5dc84-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f6071b41436ba7de17cddf2e0875f441", + "traceparent": "00-214c056f0ec0f6337d3ff8e50cd7c058-b375ded7238f4d79-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2d3f715be1e002b9acff97e0e9915478", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -159,47 +146,47 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:48:31 GMT", + "Date": "Fri, 10 Feb 2023 13:22:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0478ab72-8498-4588-a7ed-17804dfe1356", - "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-request-id": "0478ab72-8498-4588-a7ed-17804dfe1356", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094832Z:0478ab72-8498-4588-a7ed-17804dfe1356" + "x-ms-correlation-request-id": "fffb256e-ce7a-44f6-832c-8f6ecb45633d", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "fffb256e-ce7a-44f6-832c-8f6ecb45633d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132254Z:fffb256e-ce7a-44f6-832c-8f6ecb45633d" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d68845b23c914dd8ecb4f72d5b7c2b2d-ea3e92828f66d272-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "44094ba61987c2471f279a73484fe646", + "traceparent": "00-214c056f0ec0f6337d3ff8e50cd7c058-8c23e134db21b848-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5925bf809a56b1d6e88ef3e764d5fbf3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "271", + "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:31 GMT", + "Date": "Fri, 10 Feb 2023 13:22:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c0edd6a4-ab52-474c-bfa4-f37a700aa224", - "x-ms-ratelimit-remaining-subscription-reads": "11961", - "x-ms-request-id": "c0edd6a4-ab52-474c-bfa4-f37a700aa224", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094832Z:c0edd6a4-ab52-474c-bfa4-f37a700aa224" + "x-ms-correlation-request-id": "8b216c7f-bb9e-4a6f-8c27-bdf00e656f0b", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "8b216c7f-bb9e-4a6f-8c27-bdf00e656f0b", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132254Z:8b216c7f-bb9e-4a6f-8c27-bdf00e656f0b" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -208,16 +195,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-d68845b23c914dd8ecb4f72d5b7c2b2d-fe2ea2d477945616-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "1d93f1c6e291fa99643e6e858e3db972", + "traceparent": "00-214c056f0ec0f6337d3ff8e50cd7c058-189f978c84447557-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9d53fc1bb6f59120efa9b55464d9bb1d", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -231,20 +218,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "302", + "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:34 GMT", + "Date": "Fri, 10 Feb 2023 13:22:55 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "45a1a4b1-1e55-4107-ac53-2fe6dee7c17b", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-request-id": "45a1a4b1-1e55-4107-ac53-2fe6dee7c17b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094835Z:45a1a4b1-1e55-4107-ac53-2fe6dee7c17b" + "x-ms-correlation-request-id": "95387f29-3b15-4b2d-a545-16f9acc12873", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "95387f29-3b15-4b2d-a545-16f9acc12873", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132256Z:95387f29-3b15-4b2d-a545-16f9acc12873" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -256,35 +243,35 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d68845b23c914dd8ecb4f72d5b7c2b2d-5e1798d4995c4eae-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "8b3e8adafe8428f1d345d744a86b5fc7", + "traceparent": "00-214c056f0ec0f6337d3ff8e50cd7c058-a6ec09860506a74c-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "9367046d8b90c0c69b8d4552edd29dd7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "455", + "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:36 GMT", + "Date": "Fri, 10 Feb 2023 13:22:55 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "334edfcb-c9cc-44ad-b6bd-7629b2d355a1", - "x-ms-ratelimit-remaining-subscription-reads": "11960", - "x-ms-request-id": "334edfcb-c9cc-44ad-b6bd-7629b2d355a1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094836Z:334edfcb-c9cc-44ad-b6bd-7629b2d355a1" + "x-ms-correlation-request-id": "df728248-8aab-4c22-9d02-c070f795db4c", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "df728248-8aab-4c22-9d02-c070f795db4c", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132256Z:df728248-8aab-4c22-9d02-c070f795db4c" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334", - "name": "uai334", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462", + "name": "uai9462", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -292,41 +279,41 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e99208bc-e637-45ce-a105-c5c1574db28e", - "clientId": "ef6898b9-ae92-41c9-9ba5-acf1478bbb2e" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "387fae1c-6367-47ff-8cf8-c155df0724fa", + "clientId": "6bc82d0e-6faa-42f3-b883-8e70114575cc" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ed806fe6f5e6aed19fa04545072ea032-6ddb8ae8fa2c01d5-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "176798e6d6e1c3afb20fdf49aac134e1", + "traceparent": "00-df71dabf554f7545ccd4faee6b506959-9bc8e27a94690c14-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ecc5a304b63ec9829f936aace5814d0f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "302", + "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:36 GMT", + "Date": "Fri, 10 Feb 2023 13:22:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "048308c3-2731-4f18-ad83-46372c2467a8", - "x-ms-ratelimit-remaining-subscription-reads": "11959", - "x-ms-request-id": "048308c3-2731-4f18-ad83-46372c2467a8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094836Z:048308c3-2731-4f18-ad83-46372c2467a8" + "x-ms-correlation-request-id": "0597ddbc-970a-4e56-b23b-3e785134204f", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "0597ddbc-970a-4e56-b23b-3e785134204f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132256Z:0597ddbc-970a-4e56-b23b-3e785134204f" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -338,16 +325,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "41", "Content-Type": "application/json", - "traceparent": "00-ed806fe6f5e6aed19fa04545072ea032-30da215087b552bd-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "bd99286e5b11c8c1ff6b4a4c0b5551f9", + "traceparent": "00-df71dabf554f7545ccd4faee6b506959-81e7409b51ab1ea6-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5f79d6d2676d90623692026871cea41c", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -360,20 +347,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "286", + "Content-Length": "287", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:39 GMT", + "Date": "Fri, 10 Feb 2023 13:22:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "99c00ec5-5b62-4e8f-a265-28d97b5bc805", - "x-ms-ratelimit-remaining-subscription-writes": "1179", - "x-ms-request-id": "99c00ec5-5b62-4e8f-a265-28d97b5bc805", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094839Z:99c00ec5-5b62-4e8f-a265-28d97b5bc805" + "x-ms-correlation-request-id": "b4cd541a-9b51-4fbe-8e02-8a881b9b2267", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "b4cd541a-9b51-4fbe-8e02-8a881b9b2267", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132258Z:b4cd541a-9b51-4fbe-8e02-8a881b9b2267" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -384,52 +371,52 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ed806fe6f5e6aed19fa04545072ea032-553fd217baa2b493-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f59fa7dea2d50390db7ad8751ea87d11", + "traceparent": "00-df71dabf554f7545ccd4faee6b506959-9de038ea7855cdc4-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c050de0bce13b7df819ef4fd2019da19", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "439", + "Content-Length": "441", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:40 GMT", + "Date": "Fri, 10 Feb 2023 13:22:57 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "91f6efaf-31fc-4e9e-8eb8-297ff7a3e2bf", - "x-ms-ratelimit-remaining-subscription-reads": "11958", - "x-ms-request-id": "91f6efaf-31fc-4e9e-8eb8-297ff7a3e2bf", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094840Z:91f6efaf-31fc-4e9e-8eb8-297ff7a3e2bf" + "x-ms-correlation-request-id": "fccb5a75-8137-498b-8675-3e2a000e33a9", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "fccb5a75-8137-498b-8675-3e2a000e33a9", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132258Z:fccb5a75-8137-498b-8675-3e2a000e33a9" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg5121/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai334", - "name": "uai334", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7643/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9462", + "name": "uai9462", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "e99208bc-e637-45ce-a105-c5c1574db28e", - "clientId": "ef6898b9-ae92-41c9-9ba5-acf1478bbb2e" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "387fae1c-6367-47ff-8cf8-c155df0724fa", + "clientId": "6bc82d0e-6faa-42f3-b883-8e70114575cc" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1366860707", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1629419544", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null).json index fdd1a119b128..a62f27d585b5 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-e22e7a140891480a4af759a962896c80-c90e76ea6cee0fa3-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "edb24c9713035398191b9615fb8732e4", + "traceparent": "00-299a8e41516acf254532c236477dcbc9-21f17c132d0264b1-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cd2a9f77a952a0e99f232a4f0176f39f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:42 GMT", + "Date": "Fri, 10 Feb 2023 13:21:28 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5c3aa171-da47-4815-9676-91c889c9e2e5", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "5c3aa171-da47-4815-9676-91c889c9e2e5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091743Z:5c3aa171-da47-4815-9676-91c889c9e2e5" + "x-ms-correlation-request-id": "9d3a43f7-9e83-4f1f-bd8c-ed6fcb776def", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "9d3a43f7-9e83-4f1f-bd8c-ed6fcb776def", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132129Z:9d3a43f7-9e83-4f1f-bd8c-ed6fcb776def" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3437?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1713?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-650b6ea1de348ce2edee37a0b6ffb396-e2a55a0046c22303-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "e1758698c46858dfb5ad9cfeb00fd4ed", + "traceparent": "00-d4e336080fdd4fd7cac996d66b4e79ec-8592149d3ebeb9be-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fd90d83e46ceb5ebf9b7c4bd12bdcce7", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:46 GMT", + "Date": "Fri, 10 Feb 2023 13:21:29 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7031abf3-a591-4162-86b7-25baf0125e86", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "7031abf3-a591-4162-86b7-25baf0125e86", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091746Z:7031abf3-a591-4162-86b7-25baf0125e86" + "x-ms-correlation-request-id": "7ba7d9e4-8dc1-45e6-be62-a8cc696d34e9", + "x-ms-ratelimit-remaining-subscription-writes": "1176", + "x-ms-request-id": "7ba7d9e4-8dc1-45e6-be62-a8cc696d34e9", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132129Z:7ba7d9e4-8dc1-45e6-be62-a8cc696d34e9" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437", - "name": "uai-rg3437", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713", + "name": "uai-rg1713", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-7488edc726438db38bf77bd3f383e62b-ea77e8ac520f246c-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "578096a7cf8467314ad51f4c43fa65f6", + "traceparent": "00-f890502f6f0fbf681e8fbb5e52569d47-64569a376154a18e-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "befaffa9361f95dd121327af6c997acd", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,69 +106,401 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:51 GMT", + "Date": "Fri, 10 Feb 2023 13:21:30 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3a5c890c-a66d-4cc0-92f6-3d295beda748", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "3a5c890c-a66d-4cc0-92f6-3d295beda748", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091752Z:3a5c890c-a66d-4cc0-92f6-3d295beda748" + "x-ms-correlation-request-id": "bf065ed3-8c7e-427f-b37b-c57f5dd46abf", + "x-ms-ratelimit-remaining-subscription-writes": "1175", + "x-ms-request-id": "bf065ed3-8c7e-427f-b37b-c57f5dd46abf", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132130Z:bf065ed3-8c7e-427f-b37b-c57f5dd46abf" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862", - "name": "uai1862", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902", + "name": "uai7902", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "1abffeab-dfb3-4cb4-81c0-dd82126aa634", - "clientId": "8ccf7d54-c85c-4911-910e-df8826b9d0b1" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "0d652a1f-00fb-4aed-9bfa-26982937865c", + "clientId": "86276271-bd20-4ea1-9cd2-e6230d9722dc" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-6a220d3c67ded288a256ecb849f7ea3c-73eb780b95d9caa4-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "cd89ab05f2fe872ed3954e65fc55690b", + "traceparent": "00-cb834a098b1ab411b1c1f2d19cbce10d-837d4fe3326ddfc5-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5e7009ab4c9958a83f1758f124e28c65", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17728", + "Content-Length": "19004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:52 GMT", + "Date": "Fri, 10 Feb 2023 13:21:30 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a53a498a-3a8d-4606-8da3-e7f46c9c15b8", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "a53a498a-3a8d-4606-8da3-e7f46c9c15b8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091753Z:a53a498a-3a8d-4606-8da3-e7f46c9c15b8" + "x-ms-correlation-request-id": "23a5945a-e3a0-425b-9026-3c484440daf0", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "23a5945a-e3a0-425b-9026-3c484440daf0", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132130Z:23a5945a-e3a0-425b-9026-3c484440daf0" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources", "namespace": "Microsoft.Resources", "authorizations": [ { "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" }, - { - "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" - } - ], - "resourceTypes": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + } + ], + "resourceTypes": [ + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, { "resourceType": "tenants", "locations": [], @@ -702,7 +1021,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -779,7 +1097,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -1155,251 +1472,6 @@ ], "capabilities": "None" }, - { - "resourceType": "deploymentScripts", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "deploymentScripts/logs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/deploymentScriptOperationResults", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "templateSpecs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "templateSpecs/versions", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "builtInTemplateSpecs", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, - { - "resourceType": "builtInTemplateSpecs/versions", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, { "resourceType": "changes", "locations": [], @@ -1423,14 +1495,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-6a220d3c67ded288a256ecb849f7ea3c-928e216125ba109a-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f05427c18db2c89a540d9792a59214bb", + "traceparent": "00-cb834a098b1ab411b1c1f2d19cbce10d-61791a117973751e-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7657675de1f807bcfafaeaba1f3c4960", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1438,27 +1510,27 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:17:54 GMT", + "Date": "Fri, 10 Feb 2023 13:21:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "72722ae8-37ad-4a24-9d1e-78d13cc8b945", + "x-ms-correlation-request-id": "f9b832aa-bb6c-4137-88f5-69ad1319ee45", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "72722ae8-37ad-4a24-9d1e-78d13cc8b945", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091755Z:72722ae8-37ad-4a24-9d1e-78d13cc8b945" + "x-ms-request-id": "f9b832aa-bb6c-4137-88f5-69ad1319ee45", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132131Z:f9b832aa-bb6c-4137-88f5-69ad1319ee45" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-6a220d3c67ded288a256ecb849f7ea3c-e7e9d1f39578ebb7-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "04f8a6470786b5ef68f884ef81cb6bf5", + "traceparent": "00-cb834a098b1ab411b1c1f2d19cbce10d-4b5e002d587582ae-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0912f73d6e4c5d4e57a27f08ddeb7130", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1467,18 +1539,18 @@ "Cache-Control": "no-cache", "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:55 GMT", + "Date": "Fri, 10 Feb 2023 13:21:31 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2520ccb5-810c-4450-b3b3-88af10807ac7", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "2520ccb5-810c-4450-b3b3-88af10807ac7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091756Z:2520ccb5-810c-4450-b3b3-88af10807ac7" + "x-ms-correlation-request-id": "5a762b33-2034-49c4-97b0-3c0e4e755770", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "5a762b33-2034-49c4-97b0-3c0e4e755770", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132131Z:5a762b33-2034-49c4-97b0-3c0e4e755770" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1487,16 +1559,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-6a220d3c67ded288a256ecb849f7ea3c-c7f4d7c329e32e0b-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "1b8a146c75a5784411c078f15b9ce240", + "traceparent": "00-cb834a098b1ab411b1c1f2d19cbce10d-06a6678c84990ecb-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0451c1870341cad44d69639e62ee3902", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1512,18 +1584,18 @@ "Cache-Control": "no-cache", "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:17:59 GMT", + "Date": "Fri, 10 Feb 2023 13:21:32 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "01fb5131-5479-473a-9677-a3d8d17c7d97", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "01fb5131-5479-473a-9677-a3d8d17c7d97", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091759Z:01fb5131-5479-473a-9677-a3d8d17c7d97" + "x-ms-correlation-request-id": "cfbd605b-5871-41dd-a7dc-80db4e061664", + "x-ms-ratelimit-remaining-subscription-writes": "1174", + "x-ms-request-id": "cfbd605b-5871-41dd-a7dc-80db4e061664", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132133Z:cfbd605b-5871-41dd-a7dc-80db4e061664" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1535,14 +1607,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-6a220d3c67ded288a256ecb849f7ea3c-b47564ee0a6950e5-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "561e9281655cb985389f88b909ab4788", + "traceparent": "00-cb834a098b1ab411b1c1f2d19cbce10d-2efb479c07bc220f-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2db4f7ce83d0ef1819fa1f5662b3290f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1551,19 +1623,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:00 GMT", + "Date": "Fri, 10 Feb 2023 13:21:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "650013d3-d5df-4fd6-9396-b3d0f9764c2d", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "650013d3-d5df-4fd6-9396-b3d0f9764c2d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091800Z:650013d3-d5df-4fd6-9396-b3d0f9764c2d" + "x-ms-correlation-request-id": "8e705dcb-c91c-4cba-bcfd-0aaa0b398157", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "8e705dcb-c91c-4cba-bcfd-0aaa0b398157", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132133Z:8e705dcb-c91c-4cba-bcfd-0aaa0b398157" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862", - "name": "uai1862", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902", + "name": "uai7902", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -1571,21 +1643,21 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "1abffeab-dfb3-4cb4-81c0-dd82126aa634", - "clientId": "8ccf7d54-c85c-4911-910e-df8826b9d0b1" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "0d652a1f-00fb-4aed-9bfa-26982937865c", + "clientId": "86276271-bd20-4ea1-9cd2-e6230d9722dc" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b844a345feb1a1945fd95967fe7e5c23-c1bc103f90c449d4-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9125a1a2f807d1156280f2c58efe59cb", + "traceparent": "00-ac3746c284ddc1d0f87d3163c9ed40da-ec85210814f5d0d8-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5d33b98944eb391f2248bbe30aaffa68", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1594,18 +1666,18 @@ "Cache-Control": "no-cache", "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:00 GMT", + "Date": "Fri, 10 Feb 2023 13:21:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "23e923a7-9941-46ea-9bea-4951571282d4", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "23e923a7-9941-46ea-9bea-4951571282d4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091800Z:23e923a7-9941-46ea-9bea-4951571282d4" + "x-ms-correlation-request-id": "e34e7b90-3082-416f-9f68-76c461785b1d", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "e34e7b90-3082-416f-9f68-76c461785b1d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132133Z:e34e7b90-3082-416f-9f68-76c461785b1d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1617,16 +1689,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "41", "Content-Type": "application/json", - "traceparent": "00-b844a345feb1a1945fd95967fe7e5c23-4033adc626aa22c5-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "ee6d431615ad07988fd0e306ed8a6f66", + "traceparent": "00-ac3746c284ddc1d0f87d3163c9ed40da-49373862c262cebe-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e53a7c694437035fa861eb46e47e6799", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1641,18 +1713,18 @@ "Cache-Control": "no-cache", "Content-Length": "287", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:03 GMT", + "Date": "Fri, 10 Feb 2023 13:21:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "34327b78-c5bd-4839-9ed9-8e0aad9a04db", - "x-ms-ratelimit-remaining-subscription-writes": "1196", - "x-ms-request-id": "34327b78-c5bd-4839-9ed9-8e0aad9a04db", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091803Z:34327b78-c5bd-4839-9ed9-8e0aad9a04db" + "x-ms-correlation-request-id": "5a887cf0-edde-4e31-96e8-bd1e61e21ace", + "x-ms-ratelimit-remaining-subscription-writes": "1173", + "x-ms-request-id": "5a887cf0-edde-4e31-96e8-bd1e61e21ace", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132134Z:5a887cf0-edde-4e31-96e8-bd1e61e21ace" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1663,14 +1735,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b844a345feb1a1945fd95967fe7e5c23-8c020a7fa1f212ef-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "b94ff079517688387d4cf3dc72bf2b3a", + "traceparent": "00-ac3746c284ddc1d0f87d3163c9ed40da-2c2888e5b49b390a-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a815543fdbbb8916d87a0a88c734e56a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1679,36 +1751,36 @@ "Cache-Control": "no-cache", "Content-Length": "441", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:03 GMT", + "Date": "Fri, 10 Feb 2023 13:21:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4a17f37a-e9dd-4f5e-a0b4-7399396986b9", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "4a17f37a-e9dd-4f5e-a0b4-7399396986b9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091803Z:4a17f37a-e9dd-4f5e-a0b4-7399396986b9" + "x-ms-correlation-request-id": "2f6e0b09-4cd5-439f-84ed-f2252056bf18", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "2f6e0b09-4cd5-439f-84ed-f2252056bf18", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132134Z:2f6e0b09-4cd5-439f-84ed-f2252056bf18" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3437/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1862", - "name": "uai1862", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg1713/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7902", + "name": "uai7902", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "1abffeab-dfb3-4cb4-81c0-dd82126aa634", - "clientId": "8ccf7d54-c85c-4911-910e-df8826b9d0b1" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "0d652a1f-00fb-4aed-9bfa-26982937865c", + "clientId": "86276271-bd20-4ea1-9cd2-e6230d9722dc" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "2106695142", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1431295178", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null)Async.json index 01a17a12f416..1407f14400bd 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/RemoveTag(null)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-059b2c2304411088c01665ce3291be67-ccb85336bcaea7e4-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "1dde7be8ee6f370856cfa1278842dcd5", + "traceparent": "00-27361286149f66849609739bd0c9f9c4-464df6418888a46c-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "fff22b9ed105ae2a4e1e9e950bfa260e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:51 GMT", + "Date": "Fri, 10 Feb 2023 13:22:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f572f811-3f14-4dc9-987f-51a63e65efe1", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-request-id": "f572f811-3f14-4dc9-987f-51a63e65efe1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094751Z:f572f811-3f14-4dc9-987f-51a63e65efe1" + "x-ms-correlation-request-id": "15d71504-5527-4652-941b-83e59dc61be3", + "x-ms-ratelimit-remaining-subscription-reads": "11945", + "x-ms-request-id": "15d71504-5527-4652-941b-83e59dc61be3", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132237Z:15d71504-5527-4652-941b-83e59dc61be3" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg760?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2173?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-c5c2ba012aa0cc277592ce89b298e298-115776178f14d037-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "3b0fa315ee1b8b9907d20abe75b3db7c", + "traceparent": "00-b0ed85b0b4fe38887154a69296b25186-093b36444e5f417d-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6f920dd3b776aa1ceac515030fc99dce", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,21 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "215", + "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:52 GMT", + "Date": "Fri, 10 Feb 2023 13:22:36 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "831d49fd-e8f7-4320-9d01-9cca46a43b43", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "831d49fd-e8f7-4320-9d01-9cca46a43b43", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094753Z:831d49fd-e8f7-4320-9d01-9cca46a43b43" + "x-ms-correlation-request-id": "73ea5453-8e46-4bbf-8b0b-cea56fafebb3", + "x-ms-ratelimit-remaining-subscription-writes": "1142", + "x-ms-request-id": "73ea5453-8e46-4bbf-8b0b-cea56fafebb3", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132237Z:73ea5453-8e46-4bbf-8b0b-cea56fafebb3" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760", - "name": "uai-rg760", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173", + "name": "uai-rg2173", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-42d825e0e5c6b817c9e1edbd9369635e-713fd7d2b14238d8-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "758a1542b1f91f4dd5c14ddd9e3d9626", + "traceparent": "00-a118a7be7e464e239d7472026289a4ba-5e05dd1707ca644e-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3fcf3e131327da159b96458a10bee515", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,71 +104,403 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "425", + "Content-Length": "424", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:56 GMT", + "Date": "Fri, 10 Feb 2023 13:22:39 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1a56af89-20fe-4d6a-8e41-52aac80ca8b2", - "x-ms-ratelimit-remaining-subscription-writes": "1189", - "x-ms-request-id": "1a56af89-20fe-4d6a-8e41-52aac80ca8b2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094756Z:1a56af89-20fe-4d6a-8e41-52aac80ca8b2" + "x-ms-correlation-request-id": "86cac4aa-47fc-4f16-8a4b-70f529a04680", + "x-ms-ratelimit-remaining-subscription-writes": "1141", + "x-ms-request-id": "86cac4aa-47fc-4f16-8a4b-70f529a04680", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132239Z:86cac4aa-47fc-4f16-8a4b-70f529a04680" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812", - "name": "uai8812", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701", + "name": "uai701", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6df95cd5-f2e7-4b90-8b01-c0056ee35676", - "clientId": "39f3da0a-a2da-49a5-b350-e9ca2f6f925a" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "3263ef50-b141-4c2b-a5cf-4007d747121f", + "clientId": "1824e973-5f42-4628-80ca-5815d9553f2c" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-19c41121ddcd6779a89a4370734593fa-8464aef28c56c78c-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "55e7f715b8c08ccc4491671cfd78e01c", + "traceparent": "00-ac1f50063a53f75abca42e2ddf890f70-ac83c3d9f0b0e448-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e1712f52aa067428d5541a0c14aa3e54", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17728", + "Content-Length": "19004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:56 GMT", + "Date": "Fri, 10 Feb 2023 13:22:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b001c510-783e-4150-aa7d-b7e1d8c37d3c", - "x-ms-ratelimit-remaining-subscription-reads": "11970", - "x-ms-request-id": "b001c510-783e-4150-aa7d-b7e1d8c37d3c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094756Z:b001c510-783e-4150-aa7d-b7e1d8c37d3c" + "x-ms-correlation-request-id": "fe8c9554-c6f1-4a55-8007-d0a7f2c8282d", + "x-ms-ratelimit-remaining-subscription-reads": "11944", + "x-ms-request-id": "fe8c9554-c6f1-4a55-8007-d0a7f2c8282d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132239Z:fe8c9554-c6f1-4a55-8007-d0a7f2c8282d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources", "namespace": "Microsoft.Resources", "authorizations": [ { "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" }, - { - "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" - } - ], - "resourceTypes": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + } + ], + "resourceTypes": [ + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, { "resourceType": "tenants", "locations": [], @@ -702,7 +1021,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -779,7 +1097,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -1155,251 +1472,6 @@ ], "capabilities": "None" }, - { - "resourceType": "deploymentScripts", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "deploymentScripts/logs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/deploymentScriptOperationResults", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "templateSpecs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "templateSpecs/versions", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "builtInTemplateSpecs", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, - { - "resourceType": "builtInTemplateSpecs/versions", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, { "resourceType": "changes", "locations": [], @@ -1423,14 +1495,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-19c41121ddcd6779a89a4370734593fa-b2f15e4b1712d88f-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "2d45aac6605264ad56f0665aa1bcecca", + "traceparent": "00-ac1f50063a53f75abca42e2ddf890f70-6d94f0677d0cd016-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bbf8c601ce56c007f8b7d4e071929a2b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1438,27 +1510,27 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:47:58 GMT", + "Date": "Fri, 10 Feb 2023 13:22:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ac852ad5-f0a9-46bc-aec7-493fc8b86448", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "ac852ad5-f0a9-46bc-aec7-493fc8b86448", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094758Z:ac852ad5-f0a9-46bc-aec7-493fc8b86448" + "x-ms-correlation-request-id": "93adfed2-5a94-4ec4-8cc8-5d1dde29d24f", + "x-ms-ratelimit-remaining-subscription-deletes": "14994", + "x-ms-request-id": "93adfed2-5a94-4ec4-8cc8-5d1dde29d24f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132240Z:93adfed2-5a94-4ec4-8cc8-5d1dde29d24f" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-19c41121ddcd6779a89a4370734593fa-d229dd6e1b3a154b-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "7ea8e43c86cb8abb49fd30674930215c", + "traceparent": "00-ac1f50063a53f75abca42e2ddf890f70-126dc44b7e841dcd-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "e0b000dfbb5868c7165b69d2f809c5f0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1467,18 +1539,18 @@ "Cache-Control": "no-cache", "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:47:58 GMT", + "Date": "Fri, 10 Feb 2023 13:22:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d4b20a43-ced0-493f-89ae-774847a916bf", - "x-ms-ratelimit-remaining-subscription-reads": "11969", - "x-ms-request-id": "d4b20a43-ced0-493f-89ae-774847a916bf", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094759Z:d4b20a43-ced0-493f-89ae-774847a916bf" + "x-ms-correlation-request-id": "c0276a11-d19c-4cf9-94c5-aa8050d7db13", + "x-ms-ratelimit-remaining-subscription-reads": "11943", + "x-ms-request-id": "c0276a11-d19c-4cf9-94c5-aa8050d7db13", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132240Z:c0276a11-d19c-4cf9-94c5-aa8050d7db13" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1487,16 +1559,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-19c41121ddcd6779a89a4370734593fa-df4372d4c2ae9e6d-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f31630e069f7b4d44a82ffd05171eb88", + "traceparent": "00-ac1f50063a53f75abca42e2ddf890f70-f2447710d3a710fa-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4989f15729c683be28b1e94fd6470243", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1512,18 +1584,18 @@ "Cache-Control": "no-cache", "Content-Length": "302", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:01 GMT", + "Date": "Fri, 10 Feb 2023 13:22:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e9e2ef90-e783-4799-9a7d-0bd7a437b5ac", - "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-request-id": "e9e2ef90-e783-4799-9a7d-0bd7a437b5ac", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094802Z:e9e2ef90-e783-4799-9a7d-0bd7a437b5ac" + "x-ms-correlation-request-id": "50ddec61-0074-460a-9ebd-31354de6cc03", + "x-ms-ratelimit-remaining-subscription-writes": "1140", + "x-ms-request-id": "50ddec61-0074-460a-9ebd-31354de6cc03", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132241Z:50ddec61-0074-460a-9ebd-31354de6cc03" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1535,35 +1607,35 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-19c41121ddcd6779a89a4370734593fa-b47a8ac3d299d40c-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "19e09da562cf4050efbbe45530451a25", + "traceparent": "00-ac1f50063a53f75abca42e2ddf890f70-e2de214ebf765500-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "142deeba5dfa45fcff8fa5fa6534c7ee", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "456", + "Content-Length": "455", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:02 GMT", + "Date": "Fri, 10 Feb 2023 13:22:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e465a11a-b00e-4a7d-b692-bea5aa7d1a51", - "x-ms-ratelimit-remaining-subscription-reads": "11968", - "x-ms-request-id": "e465a11a-b00e-4a7d-b692-bea5aa7d1a51", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094803Z:e465a11a-b00e-4a7d-b692-bea5aa7d1a51" + "x-ms-correlation-request-id": "8b34ebca-520b-4009-ac49-5845f52fcd7a", + "x-ms-ratelimit-remaining-subscription-reads": "11942", + "x-ms-request-id": "8b34ebca-520b-4009-ac49-5845f52fcd7a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132241Z:8b34ebca-520b-4009-ac49-5845f52fcd7a" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812", - "name": "uai8812", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701", + "name": "uai701", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -1571,21 +1643,21 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6df95cd5-f2e7-4b90-8b01-c0056ee35676", - "clientId": "39f3da0a-a2da-49a5-b350-e9ca2f6f925a" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "3263ef50-b141-4c2b-a5cf-4007d747121f", + "clientId": "1824e973-5f42-4628-80ca-5815d9553f2c" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-9a48cf3b35e21c7edf958fae1304e3b6-a9b818862e3d5062-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "707909cef8a5d2d310f3344886eb39d7", + "traceparent": "00-948d6977c1f4a50105fd3e8445466783-eaf86cfe4daaf840-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8088e3f15109b565412cb8a6d27892ce", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1594,18 +1666,18 @@ "Cache-Control": "no-cache", "Content-Length": "302", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:03 GMT", + "Date": "Fri, 10 Feb 2023 13:22:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "033ec20b-e0e4-401e-bf7c-896b1eba9138", - "x-ms-ratelimit-remaining-subscription-reads": "11967", - "x-ms-request-id": "033ec20b-e0e4-401e-bf7c-896b1eba9138", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094803Z:033ec20b-e0e4-401e-bf7c-896b1eba9138" + "x-ms-correlation-request-id": "b1e20d3d-4544-450f-a5eb-b44b3398d267", + "x-ms-ratelimit-remaining-subscription-reads": "11941", + "x-ms-request-id": "b1e20d3d-4544-450f-a5eb-b44b3398d267", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132241Z:b1e20d3d-4544-450f-a5eb-b44b3398d267" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1617,16 +1689,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "41", "Content-Type": "application/json", - "traceparent": "00-9a48cf3b35e21c7edf958fae1304e3b6-85911cdc45904018-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "acc2a81108507e8ce0d6043c857e8404", + "traceparent": "00-948d6977c1f4a50105fd3e8445466783-16e25522ac4ef4cf-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0a172659b1dbf9f6f543493684c41ef3", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1641,18 +1713,18 @@ "Cache-Control": "no-cache", "Content-Length": "286", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:05 GMT", + "Date": "Fri, 10 Feb 2023 13:22:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8fce968e-b36c-4c44-8261-d3fb16907e1f", - "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-request-id": "8fce968e-b36c-4c44-8261-d3fb16907e1f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094806Z:8fce968e-b36c-4c44-8261-d3fb16907e1f" + "x-ms-correlation-request-id": "22322904-15b8-4398-bd3b-cb1c16e8f900", + "x-ms-ratelimit-remaining-subscription-writes": "1139", + "x-ms-request-id": "22322904-15b8-4398-bd3b-cb1c16e8f900", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132242Z:22322904-15b8-4398-bd3b-cb1c16e8f900" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1663,52 +1735,52 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-9a48cf3b35e21c7edf958fae1304e3b6-fd33670fe22f040b-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "4701d9677bf7ade2ca0d09db2e07b903", + "traceparent": "00-948d6977c1f4a50105fd3e8445466783-351a15dc3aa47a23-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f25dfae981bf693a8878d2cda5557386", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "440", + "Content-Length": "439", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:06 GMT", + "Date": "Fri, 10 Feb 2023 13:22:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9313ee2a-64f6-4288-a6bc-f48df526ac5e", - "x-ms-ratelimit-remaining-subscription-reads": "11966", - "x-ms-request-id": "9313ee2a-64f6-4288-a6bc-f48df526ac5e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094807Z:9313ee2a-64f6-4288-a6bc-f48df526ac5e" + "x-ms-correlation-request-id": "9e9d1a3d-243c-4ffe-95b1-7aea26db2f5f", + "x-ms-ratelimit-remaining-subscription-reads": "11940", + "x-ms-request-id": "9e9d1a3d-243c-4ffe-95b1-7aea26db2f5f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132242Z:9e9d1a3d-243c-4ffe-95b1-7aea26db2f5f" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg760/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8812", - "name": "uai8812", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2173/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai701", + "name": "uai701", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "6df95cd5-f2e7-4b90-8b01-c0056ee35676", - "clientId": "39f3da0a-a2da-49a5-b350-e9ca2f6f925a" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "3263ef50-b141-4c2b-a5cf-4007d747121f", + "clientId": "1824e973-5f42-4628-80ca-5815d9553f2c" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1817500518", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "308788621", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False).json index 7288e25b9b7f..8c05198278f6 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-292ec1bdf77cdabd2e45cdbbdd26ee22-0826682328c1f784-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "2dd1fd722c2f11230b7576cb5d255b0b", + "traceparent": "00-ab0fa72d73669b2fd6fa14a607fa7547-24c05e90bf50a3aa-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ac21247ec33d45600851142ecdac5bc8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:03 GMT", + "Date": "Fri, 10 Feb 2023 13:21:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c98fd712-9330-4674-8349-3dc4d2969696", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "c98fd712-9330-4674-8349-3dc4d2969696", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091903Z:c98fd712-9330-4674-8349-3dc4d2969696" + "x-ms-correlation-request-id": "5d069e18-8bcc-4a80-aac2-ccd7eceffe3e", + "x-ms-ratelimit-remaining-subscription-reads": "11962", + "x-ms-request-id": "5d069e18-8bcc-4a80-aac2-ccd7eceffe3e", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132159Z:5d069e18-8bcc-4a80-aac2-ccd7eceffe3e" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8908?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg384?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-7998ce185a94dcadceacb568fd9a172a-b195524c1dcd4344-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "47edb31d960457d2bbafa3926bac2406", + "traceparent": "00-28c16abbe6be768ea33ffb339aeea5ea-82abc8cbc2be7d48-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b3f94ad3bfe08c0122e162dd7eb8104f", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,21 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "217", + "Content-Length": "215", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:04 GMT", + "Date": "Fri, 10 Feb 2023 13:21:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "35913f0b-7d34-4682-8416-20b9d7b1d00c", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-request-id": "35913f0b-7d34-4682-8416-20b9d7b1d00c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091905Z:35913f0b-7d34-4682-8416-20b9d7b1d00c" + "x-ms-correlation-request-id": "e91c40a3-a095-4b9d-a92c-b10a5f8de736", + "x-ms-ratelimit-remaining-subscription-writes": "1161", + "x-ms-request-id": "e91c40a3-a095-4b9d-a92c-b10a5f8de736", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132159Z:e91c40a3-a095-4b9d-a92c-b10a5f8de736" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8908", - "name": "uai-rg8908", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg384", + "name": "uai-rg384", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8908/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7425?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg384/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1044?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-060e2bbfec6bbe29e16385627e56f99e-be466c700b4f70a5-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d4263f4b1a4d321d0c2b0546daba8e9b", + "traceparent": "00-cd02263bdff104734d22bf2acd6a21e4-d2baee1e95c06421-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "353627beb080d073920a44032f7c09e2", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,83 +104,83 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "426", + "Content-Length": "425", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:08 GMT", + "Date": "Fri, 10 Feb 2023 13:22:00 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8908/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7425", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg384/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1044", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9e8dc2e7-9734-443b-b2c1-0e6e67cc8f40", - "x-ms-ratelimit-remaining-subscription-writes": "1183", - "x-ms-request-id": "9e8dc2e7-9734-443b-b2c1-0e6e67cc8f40", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091908Z:9e8dc2e7-9734-443b-b2c1-0e6e67cc8f40" + "x-ms-correlation-request-id": "852e8879-9f90-495a-a393-3cd4c2f6ec02", + "x-ms-ratelimit-remaining-subscription-writes": "1160", + "x-ms-request-id": "852e8879-9f90-495a-a393-3cd4c2f6ec02", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132201Z:852e8879-9f90-495a-a393-3cd4c2f6ec02" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8908/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7425", - "name": "uai7425", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg384/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1044", + "name": "uai1044", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "4d52c386-b503-4748-913b-adf8c71e0b86", - "clientId": "27b8bb0d-dfd3-4564-b99b-248a949c71f8" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "99e1fa7e-8eb9-47fd-b49b-045c3bb3f7cf", + "clientId": "232d32ff-2c86-4801-be15-3f1b46ecbea4" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8908/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7425?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg384/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1044?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-595e23b7ee5fade137e1dc6e54fe5001-38fbba1a53aa6ba4-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "b689ea21c8d8676effd5747c807fa0c9", + "traceparent": "00-35c02cf5a48d913b77ef7e07bef3c04e-9eda2e62302b7edb-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "7ba9a490c89c649e1f201ae1fe688a99", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "426", + "Content-Length": "425", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:08 GMT", + "Date": "Fri, 10 Feb 2023 13:22:00 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2a7d3201-c1c3-4b6e-99d4-0265edd25123", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "2a7d3201-c1c3-4b6e-99d4-0265edd25123", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091909Z:2a7d3201-c1c3-4b6e-99d4-0265edd25123" + "x-ms-correlation-request-id": "f2a76ecd-66bc-4efa-bb59-a53343cc5d7c", + "x-ms-ratelimit-remaining-subscription-reads": "11961", + "x-ms-request-id": "f2a76ecd-66bc-4efa-bb59-a53343cc5d7c", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132201Z:f2a76ecd-66bc-4efa-bb59-a53343cc5d7c" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8908/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7425", - "name": "uai7425", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg384/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1044", + "name": "uai1044", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "4d52c386-b503-4748-913b-adf8c71e0b86", - "clientId": "27b8bb0d-dfd3-4564-b99b-248a949c71f8" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "99e1fa7e-8eb9-47fd-b49b-045c3bb3f7cf", + "clientId": "232d32ff-2c86-4801-be15-3f1b46ecbea4" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8908/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7425?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg384/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1044?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "78", "Content-Type": "application/json", - "traceparent": "00-595e23b7ee5fade137e1dc6e54fe5001-8d3a16dd414111da-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "e611c551363403eb95ba3ad8908c7d00", + "traceparent": "00-35c02cf5a48d913b77ef7e07bef3c04e-dd2641ed1394ca9b-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "850fdf049224235cd72920d57bfe5da6", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -207,21 +194,21 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "457", + "Content-Length": "456", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:11 GMT", + "Date": "Fri, 10 Feb 2023 13:22:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3bb2740f-fe0c-4eb2-b743-e4600fccde57", - "x-ms-ratelimit-remaining-subscription-writes": "1182", - "x-ms-request-id": "3bb2740f-fe0c-4eb2-b743-e4600fccde57", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091911Z:3bb2740f-fe0c-4eb2-b743-e4600fccde57" + "x-ms-correlation-request-id": "1e01e58a-f1b2-4086-8a27-df6f513ba46d", + "x-ms-ratelimit-remaining-subscription-writes": "1159", + "x-ms-request-id": "1e01e58a-f1b2-4086-8a27-df6f513ba46d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132202Z:1e01e58a-f1b2-4086-8a27-df6f513ba46d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8908/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai7425", - "name": "uai7425", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg384/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1044", + "name": "uai1044", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -229,17 +216,17 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "4d52c386-b503-4748-913b-adf8c71e0b86", - "clientId": "27b8bb0d-dfd3-4564-b99b-248a949c71f8" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "99e1fa7e-8eb9-47fd-b49b-045c3bb3f7cf", + "clientId": "232d32ff-2c86-4801-be15-3f1b46ecbea4" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "154729271", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "616122243", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False)Async.json index 9e87e17405fe..c96ba438c424 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(False)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-ef6a7ea1e6b1c2b744a0cd84dbbededa-61c979010adccc89-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "69a4a57ea0ffe7ab2b49e1ad7c711bd3", + "traceparent": "00-3f99190b0fee6910e3f968cc7b65912d-02bab3d5754a486b-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8ffd04e6dec7c630b65c5ae65b6aee5e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:57 GMT", + "Date": "Fri, 10 Feb 2023 13:23:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "853a0612-cd3e-4f03-8bc5-23cd7a5a0b76", - "x-ms-ratelimit-remaining-subscription-reads": "11953", - "x-ms-request-id": "853a0612-cd3e-4f03-8bc5-23cd7a5a0b76", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094857Z:853a0612-cd3e-4f03-8bc5-23cd7a5a0b76" + "x-ms-correlation-request-id": "5a3bb9c3-3aaf-45f4-b0e1-2707d20f6171", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "5a3bb9c3-3aaf-45f4-b0e1-2707d20f6171", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132305Z:5a3bb9c3-3aaf-45f4-b0e1-2707d20f6171" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9933?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7184?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-db574cdbde1b3ceb7c8ae0589299b952-b0715b11df1e96d0-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9f9d03ddd76c8ca39bd89bb1f3a1bda7", + "traceparent": "00-d2a14491737f91ed23edeef78c49c22c-2febcb2e077151c7-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "14898e6c7747f6855938f44e555bb920", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -74,21 +61,22 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", + "Connection": "close", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:58 GMT", + "Date": "Fri, 10 Feb 2023 13:23:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ee240939-4efa-40fc-add3-049c50087cf1", - "x-ms-ratelimit-remaining-subscription-writes": "1175", - "x-ms-request-id": "ee240939-4efa-40fc-add3-049c50087cf1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094858Z:ee240939-4efa-40fc-add3-049c50087cf1" + "x-ms-correlation-request-id": "b1e58aa0-a07d-44fa-9f2d-cee2e7b2a2d1", + "x-ms-ratelimit-remaining-subscription-writes": "1189", + "x-ms-request-id": "b1e58aa0-a07d-44fa-9f2d-cee2e7b2a2d1", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132305Z:b1e58aa0-a07d-44fa-9f2d-cee2e7b2a2d1" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9933", - "name": "uai-rg9933", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7184", + "name": "uai-rg7184", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +85,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9933/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2829?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7184/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5099?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-a33723188e93f4c0409cba8bc1738896-22820faf187d9a32-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "7f9f1fd1913171fe337ccd78f7c7e75c", + "traceparent": "00-6149e4026d67bf3d1ceb93910a2658b7-0d1091d7c557be0e-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "ef95786d8e18787e702b6bc1a55d4027", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +107,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:02 GMT", + "Date": "Fri, 10 Feb 2023 13:23:08 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9933/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2829", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7184/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5099", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1bef534d-1dc7-4911-9f25-8ea0b3f6ef23", - "x-ms-ratelimit-remaining-subscription-writes": "1174", - "x-ms-request-id": "1bef534d-1dc7-4911-9f25-8ea0b3f6ef23", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094902Z:1bef534d-1dc7-4911-9f25-8ea0b3f6ef23" + "x-ms-correlation-request-id": "2a4c7d07-03ad-4039-8085-85597fee4cd5", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "2a4c7d07-03ad-4039-8085-85597fee4cd5", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132309Z:2a4c7d07-03ad-4039-8085-85597fee4cd5" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9933/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2829", - "name": "uai2829", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7184/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5099", + "name": "uai5099", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "21525f0f-7c25-46e1-a42a-8fbc1bfe96f2", - "clientId": "046a22a1-2cfc-4771-9a88-2e174b0a4cce" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "c191d0ba-b007-45b8-a90d-92f4c73efc3f", + "clientId": "ab979a7b-2f73-47b1-8d04-187214079f52" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9933/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2829?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7184/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5099?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-dc13f512d1ae46f1699541934f0e00aa-25880f6ef6cdfd9d-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "cff8179270c8cd1200dd64c8103538a7", + "traceparent": "00-27d96b5012d6dff1636c868c1f03e11d-4864597597c3f357-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "df3ce0e313ca8d9f78996da53b776101", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -160,40 +148,40 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:03 GMT", + "Date": "Fri, 10 Feb 2023 13:23:08 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "63455fe8-1de4-46c1-8600-1e70e79a4424", - "x-ms-ratelimit-remaining-subscription-reads": "11952", - "x-ms-request-id": "63455fe8-1de4-46c1-8600-1e70e79a4424", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094903Z:63455fe8-1de4-46c1-8600-1e70e79a4424" + "x-ms-correlation-request-id": "c5d872ea-3a45-4735-98ef-faad8842dfa9", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "c5d872ea-3a45-4735-98ef-faad8842dfa9", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132309Z:c5d872ea-3a45-4735-98ef-faad8842dfa9" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9933/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2829", - "name": "uai2829", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7184/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5099", + "name": "uai5099", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "21525f0f-7c25-46e1-a42a-8fbc1bfe96f2", - "clientId": "046a22a1-2cfc-4771-9a88-2e174b0a4cce" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "c191d0ba-b007-45b8-a90d-92f4c73efc3f", + "clientId": "ab979a7b-2f73-47b1-8d04-187214079f52" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg9933/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2829?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7184/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5099?api-version=2023-01-31", "RequestMethod": "PATCH", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "78", "Content-Type": "application/json", - "traceparent": "00-dc13f512d1ae46f1699541934f0e00aa-a09817896ca02eda-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "51ab0624537c4bd2052c6bef0a2a94d4", + "traceparent": "00-27d96b5012d6dff1636c868c1f03e11d-9250131d9fa6ad55-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "f1edc6a16e59dd3c1010a31b0bc350fc", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -209,19 +197,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:05 GMT", + "Date": "Fri, 10 Feb 2023 13:23:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a8ec9568-3476-4f4e-b636-f09d9f8d6a54", - "x-ms-ratelimit-remaining-subscription-writes": "1173", - "x-ms-request-id": "a8ec9568-3476-4f4e-b636-f09d9f8d6a54", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094906Z:a8ec9568-3476-4f4e-b636-f09d9f8d6a54" + "x-ms-correlation-request-id": "51352cbc-5e80-461c-90c3-f320b35816a0", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "51352cbc-5e80-461c-90c3-f320b35816a0", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132310Z:51352cbc-5e80-461c-90c3-f320b35816a0" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg9933/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai2829", - "name": "uai2829", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7184/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5099", + "name": "uai5099", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -229,17 +217,17 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "21525f0f-7c25-46e1-a42a-8fbc1bfe96f2", - "clientId": "046a22a1-2cfc-4771-9a88-2e174b0a4cce" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "c191d0ba-b007-45b8-a90d-92f4c73efc3f", + "clientId": "ab979a7b-2f73-47b1-8d04-187214079f52" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "658748365", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1982681108", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True).json index 1e8c90721474..4eef50acf052 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-3b66938f43f7099b2eeeba6cbd81bc04-bc7cc97d13c9496e-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9df7919534ae561f391d2256be3f355f", + "traceparent": "00-d1094578a2d0073b2e2cbd8249768f18-29bbe82640510400-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a0d5eb052f02ec14053728b4ab0ae7ac", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:17 GMT", + "Date": "Fri, 10 Feb 2023 13:22:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "29076409-480c-4ee2-b603-d547c2bbb874", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "29076409-480c-4ee2-b603-d547c2bbb874", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091918Z:29076409-480c-4ee2-b603-d547c2bbb874" + "x-ms-correlation-request-id": "d0de7fd0-9636-44a8-a247-cbb4a07d1854", + "x-ms-ratelimit-remaining-subscription-reads": "11960", + "x-ms-request-id": "d0de7fd0-9636-44a8-a247-cbb4a07d1854", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132204Z:d0de7fd0-9636-44a8-a247-cbb4a07d1854" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8856?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2700?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-70c163c868e2691a13e412bb271f897f-871ddc608f51d72e-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "78d11bfd2128a09142f3eb11d1593bd5", + "traceparent": "00-05eef87d10a86839706159b14d1daba9-adcf94015c4ddffa-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "4fc32425b4a5948841cac52c797ccf3b", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:19 GMT", + "Date": "Fri, 10 Feb 2023 13:22:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "afe54e0e-98c7-4d4f-80b9-df5170193297", - "x-ms-ratelimit-remaining-subscription-writes": "1181", - "x-ms-request-id": "afe54e0e-98c7-4d4f-80b9-df5170193297", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091919Z:afe54e0e-98c7-4d4f-80b9-df5170193297" + "x-ms-correlation-request-id": "a98cbd77-2caa-45e6-a67a-7540bf852f9e", + "x-ms-ratelimit-remaining-subscription-writes": "1158", + "x-ms-request-id": "a98cbd77-2caa-45e6-a67a-7540bf852f9e", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132205Z:a98cbd77-2caa-45e6-a67a-7540bf852f9e" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856", - "name": "uai-rg8856", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700", + "name": "uai-rg2700", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-783873963c9bed3a61eec832672712bc-443edbd340efb058-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "32ca7732c7fcd4cecb57b72415f49738", + "traceparent": "00-3915a6baaa16be95c108b8e7f645521c-b4fdb0b39daeb1bb-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5f33561229bce21fd3b76148543d6709", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -117,41 +104,41 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "426", + "Content-Length": "424", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:22 GMT", + "Date": "Fri, 10 Feb 2023 13:22:05 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a21baf73-ddc6-42e4-9475-5bbda70037dd", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-request-id": "a21baf73-ddc6-42e4-9475-5bbda70037dd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091923Z:a21baf73-ddc6-42e4-9475-5bbda70037dd" + "x-ms-correlation-request-id": "7910859f-dc5b-4f45-814c-9b43b7f7d463", + "x-ms-ratelimit-remaining-subscription-writes": "1157", + "x-ms-request-id": "7910859f-dc5b-4f45-814c-9b43b7f7d463", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132206Z:7910859f-dc5b-4f45-814c-9b43b7f7d463" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063", - "name": "uai8063", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189", + "name": "uai189", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "f4c96164-ff6d-43d5-9e70-3d812ebf7467", - "clientId": "1de7d40f-ae2e-4382-8876-a6424c215c3e" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "22a4b5d3-7caa-499e-b7b0-8e289a3f0762", + "clientId": "8bede8f8-8c33-4af6-8d11-982ec39861c2" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-add3d19da1cc5b3e66264bd0bcd629f9-188d79c0ad7cfaad-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "5c7d2c649a766f6d66fd6c40334468c4", + "traceparent": "00-32fcf96ba21e14009750f3f209468eda-480c46704bbe686f-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "5dcc0db2571e375f4d0cc1654ec08bba", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -159,47 +146,47 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:19:24 GMT", + "Date": "Fri, 10 Feb 2023 13:22:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "eac7df3b-2e5b-4abe-8094-9355cf1b5892", + "x-ms-correlation-request-id": "33ab8c52-ae37-4b40-81a8-110931b05e5f", "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-request-id": "eac7df3b-2e5b-4abe-8094-9355cf1b5892", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091925Z:eac7df3b-2e5b-4abe-8094-9355cf1b5892" + "x-ms-request-id": "33ab8c52-ae37-4b40-81a8-110931b05e5f", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132207Z:33ab8c52-ae37-4b40-81a8-110931b05e5f" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-add3d19da1cc5b3e66264bd0bcd629f9-df0a9accb0711d97-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "c78b81e62c6b35324cfcacd16a6c8a4d", + "traceparent": "00-32fcf96ba21e14009750f3f209468eda-40feb47c8166f0fb-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "b39878584db4fc3505e17bee52404003", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "272", + "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:24 GMT", + "Date": "Fri, 10 Feb 2023 13:22:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "753924d0-3e02-4f27-ab78-31fa15a1b26e", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "753924d0-3e02-4f27-ab78-31fa15a1b26e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091925Z:753924d0-3e02-4f27-ab78-31fa15a1b26e" + "x-ms-correlation-request-id": "27f30115-6a4d-4c98-aa0c-c61907cfcc93", + "x-ms-ratelimit-remaining-subscription-reads": "11959", + "x-ms-request-id": "27f30115-6a4d-4c98-aa0c-c61907cfcc93", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132207Z:27f30115-6a4d-4c98-aa0c-c61907cfcc93" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -208,16 +195,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-add3d19da1cc5b3e66264bd0bcd629f9-bc351c778f05287f-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "a4adb35cdedb975f0a5bccfe5b8da086", + "traceparent": "00-32fcf96ba21e14009750f3f209468eda-4e11622fdee43d05-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "6c7abb6272b0ba1cf6fb12b068ba9313", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -231,20 +218,20 @@ "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "303", + "Content-Length": "302", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:27 GMT", + "Date": "Fri, 10 Feb 2023 13:22:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "878ebc23-c2a4-4200-8d88-1a26cb892f81", - "x-ms-ratelimit-remaining-subscription-writes": "1179", - "x-ms-request-id": "878ebc23-c2a4-4200-8d88-1a26cb892f81", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091928Z:878ebc23-c2a4-4200-8d88-1a26cb892f81" + "x-ms-correlation-request-id": "d0352fe7-d6ac-4ac4-a5d2-a61c66c213e7", + "x-ms-ratelimit-remaining-subscription-writes": "1156", + "x-ms-request-id": "d0352fe7-d6ac-4ac4-a5d2-a61c66c213e7", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132208Z:d0352fe7-d6ac-4ac4-a5d2-a61c66c213e7" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -256,35 +243,35 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-add3d19da1cc5b3e66264bd0bcd629f9-022678a3ecd57af8-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "943df2efcf6837cdfa480f79ed9b04f9", + "traceparent": "00-32fcf96ba21e14009750f3f209468eda-cec3967192e839cf-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "dbefa62cb4a56555d7cf583cdc71e50c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "457", + "Content-Length": "455", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:19:27 GMT", + "Date": "Fri, 10 Feb 2023 13:22:07 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "33c020ff-f15c-43ed-985b-5f4544ab4d7d", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "33c020ff-f15c-43ed-985b-5f4544ab4d7d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091928Z:33c020ff-f15c-43ed-985b-5f4544ab4d7d" + "x-ms-correlation-request-id": "78f9fa5e-7746-4c3d-be5f-0056a17d5267", + "x-ms-ratelimit-remaining-subscription-reads": "11958", + "x-ms-request-id": "78f9fa5e-7746-4c3d-be5f-0056a17d5267", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132208Z:78f9fa5e-7746-4c3d-be5f-0056a17d5267" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg8856/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai8063", - "name": "uai8063", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2700/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai189", + "name": "uai189", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -292,17 +279,17 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "f4c96164-ff6d-43d5-9e70-3d812ebf7467", - "clientId": "1de7d40f-ae2e-4382-8876-a6424c215c3e" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "22a4b5d3-7caa-499e-b7b0-8e289a3f0762", + "clientId": "8bede8f8-8c33-4af6-8d11-982ec39861c2" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1860342590", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "477639185", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True)Async.json index 49465d3ff4c7..67fe8590591d 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(True)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1605f55813e036232d3918ddd8553c4e-27ac326d5b23c9cf-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "b18af186303e14c1ec250694a970f0e0", + "traceparent": "00-81ef39dddef66e19c9c3b5f930180c86-1430d85b8cff8b6e-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "30718847e81607a4ce687e458a0af827", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:10 GMT", + "Date": "Fri, 10 Feb 2023 13:23:11 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "37dadbb3-8ca8-4448-a3a2-cde34f231f9c", - "x-ms-ratelimit-remaining-subscription-reads": "11951", - "x-ms-request-id": "37dadbb3-8ca8-4448-a3a2-cde34f231f9c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094910Z:37dadbb3-8ca8-4448-a3a2-cde34f231f9c" + "x-ms-correlation-request-id": "ef3bd36f-0fee-4b9f-a743-d74b2abf4879", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "ef3bd36f-0fee-4b9f-a743-d74b2abf4879", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132312Z:ef3bd36f-0fee-4b9f-a743-d74b2abf4879" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2410?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2404?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-9a2a069ca9be8274bd474052d217235d-e9be4b0dab67ddf5-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "e4737c99e011ab111302c880af6618c9", + "traceparent": "00-c3b48ec9443646fe8a81e11c90d16121-d5094c501adac63b-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "789c812bef883d2327abfcfea83426ec", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:11 GMT", + "Date": "Fri, 10 Feb 2023 13:23:12 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "95f8fd6d-356e-499d-b127-51df844b53a8", - "x-ms-ratelimit-remaining-subscription-writes": "1172", - "x-ms-request-id": "95f8fd6d-356e-499d-b127-51df844b53a8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094912Z:95f8fd6d-356e-499d-b127-51df844b53a8" + "x-ms-correlation-request-id": "665f5a8f-d4c9-4ec9-976a-ba45dcca2813", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "665f5a8f-d4c9-4ec9-976a-ba45dcca2813", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132313Z:665f5a8f-d4c9-4ec9-976a-ba45dcca2813" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410", - "name": "uai-rg2410", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404", + "name": "uai-rg2404", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-533c6f1b0b5f9892d0ff4fa642e28ab8-0617606188490540-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "b862ec6db97fb6c54fd19c641f624f1d", + "traceparent": "00-ba9445f420f8887cf6a2fe07bf83f363-8da1a4efdf50854c-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "cb937ade5b92aad7c23f5d2a6fbc2ebc", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,39 +106,39 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:15 GMT", + "Date": "Fri, 10 Feb 2023 13:23:14 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "23790285-7fa0-4a6c-8719-97b836280403", - "x-ms-ratelimit-remaining-subscription-writes": "1171", - "x-ms-request-id": "23790285-7fa0-4a6c-8719-97b836280403", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094915Z:23790285-7fa0-4a6c-8719-97b836280403" + "x-ms-correlation-request-id": "59b61b0b-e494-4c94-ac12-430caf76940d", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "59b61b0b-e494-4c94-ac12-430caf76940d", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132314Z:59b61b0b-e494-4c94-ac12-430caf76940d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722", - "name": "uai1722", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515", + "name": "uai9515", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "51fe8c83-540a-44c6-8003-b83b416ee3f5", - "clientId": "ea65df17-ba24-44be-b491-9711b08a1ada" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "21c796b5-96e4-48da-a287-2f09b0176c5d", + "clientId": "a4e84fb5-349b-42d2-a940-4a82b8768303" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b152e8a5973f3592442a13293c5d0ca9-639d7c28fadee214-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "f5da9b2ab8f7107579062b2ef8933cbf", + "traceparent": "00-5b969fec1995f3c478443be7544fee6a-4cf0d95142c1e8a4-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "3375688113cb99bf4ef3ef3da7092633", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -159,27 +146,27 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:49:17 GMT", + "Date": "Fri, 10 Feb 2023 13:23:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f8c488db-9aac-4308-baae-a4f5c6290796", - "x-ms-ratelimit-remaining-subscription-deletes": "14995", - "x-ms-request-id": "f8c488db-9aac-4308-baae-a4f5c6290796", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094917Z:f8c488db-9aac-4308-baae-a4f5c6290796" + "x-ms-correlation-request-id": "8dbed717-8b17-4f99-8e4d-92aca9d74169", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "8dbed717-8b17-4f99-8e4d-92aca9d74169", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132315Z:8dbed717-8b17-4f99-8e4d-92aca9d74169" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b152e8a5973f3592442a13293c5d0ca9-c35ad0d5f950dd28-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "843bcbee288ee045b6bc954044ad8cb1", + "traceparent": "00-5b969fec1995f3c478443be7544fee6a-d964e3111bec8043-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "90ac58575b64cf87a9f1b54891f8cd6a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -188,18 +175,18 @@ "Cache-Control": "no-cache", "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:17 GMT", + "Date": "Fri, 10 Feb 2023 13:23:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d5c91eaf-c0fa-426d-bde3-8e115d2e0582", - "x-ms-ratelimit-remaining-subscription-reads": "11950", - "x-ms-request-id": "d5c91eaf-c0fa-426d-bde3-8e115d2e0582", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094917Z:d5c91eaf-c0fa-426d-bde3-8e115d2e0582" + "x-ms-correlation-request-id": "de874a29-4dc6-444b-b3cd-129946a31b19", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "de874a29-4dc6-444b-b3cd-129946a31b19", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132315Z:de874a29-4dc6-444b-b3cd-129946a31b19" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -208,16 +195,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-b152e8a5973f3592442a13293c5d0ca9-4fa779d8433b31df-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "1356abb2228bb5d176513f798e97bebb", + "traceparent": "00-5b969fec1995f3c478443be7544fee6a-99315b92539609b1-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "407c407cf3bfca21baf97d9f6c9903b9", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -233,18 +220,18 @@ "Cache-Control": "no-cache", "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:20 GMT", + "Date": "Fri, 10 Feb 2023 13:23:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ef373a5e-23c3-4e53-ab2b-854a409482db", - "x-ms-ratelimit-remaining-subscription-writes": "1170", - "x-ms-request-id": "ef373a5e-23c3-4e53-ab2b-854a409482db", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094920Z:ef373a5e-23c3-4e53-ab2b-854a409482db" + "x-ms-correlation-request-id": "ea887a1e-5bc5-4d09-b6b8-85e15d13e8bc", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "ea887a1e-5bc5-4d09-b6b8-85e15d13e8bc", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132316Z:ea887a1e-5bc5-4d09-b6b8-85e15d13e8bc" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -256,14 +243,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b152e8a5973f3592442a13293c5d0ca9-6c9b648210df9e8f-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "5375dd94cb26028e56fa3f3a2335cccc", + "traceparent": "00-5b969fec1995f3c478443be7544fee6a-6abc4f426b0121ec-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "16d329199d0f2657e0a589da5d770756", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -272,19 +259,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:49:20 GMT", + "Date": "Fri, 10 Feb 2023 13:23:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2e30ad93-dc4f-4ea5-a501-1a68ecbb6795", - "x-ms-ratelimit-remaining-subscription-reads": "11949", - "x-ms-request-id": "2e30ad93-dc4f-4ea5-a501-1a68ecbb6795", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094921Z:2e30ad93-dc4f-4ea5-a501-1a68ecbb6795" + "x-ms-correlation-request-id": "348df6bf-e7e0-437d-9e08-dfd7857de2b0", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "348df6bf-e7e0-437d-9e08-dfd7857de2b0", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132317Z:348df6bf-e7e0-437d-9e08-dfd7857de2b0" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg2410/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai1722", - "name": "uai1722", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg2404/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai9515", + "name": "uai9515", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -292,17 +279,17 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "51fe8c83-540a-44c6-8003-b83b416ee3f5", - "clientId": "ea65df17-ba24-44be-b491-9711b08a1ada" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "21c796b5-96e4-48da-a287-2f09b0176c5d", + "clientId": "a4e84fb5-349b-42d2-a940-4a82b8768303" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "680997346", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "2073859382", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null).json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null).json index 28de6b8aad70..f1dfd1983dfc 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null).json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null).json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-5c6cedbd4aed254f0b7912ec6c2f106b-dc5c719e475cb889-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "fe82b1c4f0d410e8a6f9ae787655e0b1", + "traceparent": "00-c843a226f00d2bbdcbc9bfc37f8cf351-9dbd236bdb0a9b20-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "378d848957d1e21bc89c47ad77a0ea45", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:46 GMT", + "Date": "Fri, 10 Feb 2023 13:21:51 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "00201023-cd50-45b6-9a1d-b8ee67a158f4", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "00201023-cd50-45b6-9a1d-b8ee67a158f4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091847Z:00201023-cd50-45b6-9a1d-b8ee67a158f4" + "x-ms-correlation-request-id": "12b746d8-0052-43af-a79e-437f056998ff", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "12b746d8-0052-43af-a79e-437f056998ff", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132152Z:12b746d8-0052-43af-a79e-437f056998ff" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7876?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7380?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-6b00b424d3d97aa91e9f9fd8757758b7-31207d68224bb5a6-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "896010eb18e59f66488e02e61d007f34", + "traceparent": "00-ed91536bca43e7dfa970ce8c3daf8c89-273f847f1488441a-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "090d40194060a0210965537e86f5610e", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:50 GMT", + "Date": "Fri, 10 Feb 2023 13:21:52 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3911c867-e194-420a-b75d-a330131b34cb", - "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-request-id": "3911c867-e194-420a-b75d-a330131b34cb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091850Z:3911c867-e194-420a-b75d-a330131b34cb" + "x-ms-correlation-request-id": "3a6df627-2cec-4560-a419-0a7ead28876b", + "x-ms-ratelimit-remaining-subscription-writes": "1164", + "x-ms-request-id": "3a6df627-2cec-4560-a419-0a7ead28876b", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132152Z:3a6df627-2cec-4560-a419-0a7ead28876b" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876", - "name": "uai-rg7876", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380", + "name": "uai-rg7380", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-73f4cf698c58bcaea2609bd8e0e3f177-9ca5fc2e5ad46272-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "54c069278da38e98aa3f657118e00d8c", + "traceparent": "00-30a47f56b52b0bdb81f185bd0cd7b360-3449feaf81100094-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "a5d41af141d7fe565bb87197ff5e3aaa", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,69 +106,401 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:53 GMT", + "Date": "Fri, 10 Feb 2023 13:21:53 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f4f56a8c-bbe4-4f45-8a50-696cd9f86253", - "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-request-id": "f4f56a8c-bbe4-4f45-8a50-696cd9f86253", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091854Z:f4f56a8c-bbe4-4f45-8a50-696cd9f86253" + "x-ms-correlation-request-id": "aa87eb3e-fcb5-4083-b6c7-14e3bd1ce448", + "x-ms-ratelimit-remaining-subscription-writes": "1163", + "x-ms-request-id": "aa87eb3e-fcb5-4083-b6c7-14e3bd1ce448", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132154Z:aa87eb3e-fcb5-4083-b6c7-14e3bd1ce448" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325", - "name": "uai3325", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622", + "name": "uai3622", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "8241e665-1ac8-4184-9c8f-5eed77066265", - "clientId": "2c45f3ed-cf4a-4e43-a88d-8ad42b0b243a" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "c6b337f7-0155-4646-bee8-db6978bde220", + "clientId": "c5a4db71-2d74-4e27-b44b-8b443eebf18b" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1bef9934c72dbf29d747e89214077bb1-11befb2a48e489f5-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "366bb56483fb98df1b5e8c62e52a88f9", + "traceparent": "00-1f478b7a201c5fa49065c7438c82e94f-84af276f736c8f28-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "0c3dbce7767843286b96c7f1c86441a6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17728", + "Content-Length": "19004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:53 GMT", + "Date": "Fri, 10 Feb 2023 13:21:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a409518c-7903-4c60-9d88-2230d54d2c57", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "a409518c-7903-4c60-9d88-2230d54d2c57", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091854Z:a409518c-7903-4c60-9d88-2230d54d2c57" + "x-ms-correlation-request-id": "d1c5ae02-f4c2-4745-aca6-10904f998dca", + "x-ms-ratelimit-remaining-subscription-reads": "11965", + "x-ms-request-id": "d1c5ae02-f4c2-4745-aca6-10904f998dca", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132154Z:d1c5ae02-f4c2-4745-aca6-10904f998dca" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources", "namespace": "Microsoft.Resources", "authorizations": [ { "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" }, - { - "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" - } - ], - "resourceTypes": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + } + ], + "resourceTypes": [ + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, { "resourceType": "tenants", "locations": [], @@ -702,7 +1021,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -779,7 +1097,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -1155,251 +1472,6 @@ ], "capabilities": "None" }, - { - "resourceType": "deploymentScripts", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "deploymentScripts/logs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/deploymentScriptOperationResults", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "templateSpecs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "templateSpecs/versions", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "builtInTemplateSpecs", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, - { - "resourceType": "builtInTemplateSpecs/versions", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, { "resourceType": "changes", "locations": [], @@ -1423,14 +1495,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1bef9934c72dbf29d747e89214077bb1-f031b282e8cba0c4-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "ec4f432f5d205d4377d2dea5b3f58768", + "traceparent": "00-1f478b7a201c5fa49065c7438c82e94f-b2963f1b969a7987-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "85859ee59f16d892ea0eada8cf8aa1ab", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1438,27 +1510,27 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:18:55 GMT", + "Date": "Fri, 10 Feb 2023 13:21:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2dce8d8f-69fb-4f7d-9221-b17b577cf7bb", + "x-ms-correlation-request-id": "7d8bf8a4-4191-4e33-b688-bafe1e7fb880", "x-ms-ratelimit-remaining-subscription-deletes": "14997", - "x-ms-request-id": "2dce8d8f-69fb-4f7d-9221-b17b577cf7bb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091856Z:2dce8d8f-69fb-4f7d-9221-b17b577cf7bb" + "x-ms-request-id": "7d8bf8a4-4191-4e33-b688-bafe1e7fb880", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132155Z:7d8bf8a4-4191-4e33-b688-bafe1e7fb880" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1bef9934c72dbf29d747e89214077bb1-247eaf0ea171124d-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "688176804894a4398a2838440136a87f", + "traceparent": "00-1f478b7a201c5fa49065c7438c82e94f-a855bd4b8d60a596-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c997a82b55b77b96f2903940796436f7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1467,18 +1539,18 @@ "Cache-Control": "no-cache", "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:55 GMT", + "Date": "Fri, 10 Feb 2023 13:21:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1b6f6367-3e50-405b-b1cb-72a8f74a1e7b", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "1b6f6367-3e50-405b-b1cb-72a8f74a1e7b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091856Z:1b6f6367-3e50-405b-b1cb-72a8f74a1e7b" + "x-ms-correlation-request-id": "0d8af923-6bf9-418b-a9b1-6bf792e488a6", + "x-ms-ratelimit-remaining-subscription-reads": "11964", + "x-ms-request-id": "0d8af923-6bf9-418b-a9b1-6bf792e488a6", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132155Z:0d8af923-6bf9-418b-a9b1-6bf792e488a6" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1487,16 +1559,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-1bef9934c72dbf29d747e89214077bb1-93be61528d9d1e01-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "d4416cb62190066c710ebe29a439e525", + "traceparent": "00-1f478b7a201c5fa49065c7438c82e94f-aeed04963897e0c4-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "61b1ca76b4d847942a652269c88074e1", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1512,18 +1584,18 @@ "Cache-Control": "no-cache", "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:58 GMT", + "Date": "Fri, 10 Feb 2023 13:21:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7b134895-7876-449f-a95b-3aa1eb5b54a3", - "x-ms-ratelimit-remaining-subscription-writes": "1185", - "x-ms-request-id": "7b134895-7876-449f-a95b-3aa1eb5b54a3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091859Z:7b134895-7876-449f-a95b-3aa1eb5b54a3" + "x-ms-correlation-request-id": "180c8a48-115f-46c7-aa6c-852069e46b1a", + "x-ms-ratelimit-remaining-subscription-writes": "1162", + "x-ms-request-id": "180c8a48-115f-46c7-aa6c-852069e46b1a", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132156Z:180c8a48-115f-46c7-aa6c-852069e46b1a" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1535,14 +1607,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1bef9934c72dbf29d747e89214077bb1-31c1582c67d194d2-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "6fe224d720a9e6640aab62f724fe5c41", + "traceparent": "00-1f478b7a201c5fa49065c7438c82e94f-13c97e67eb99eeb6-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "1fc51cf578cd90ef080a938565515f85", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1551,19 +1623,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:18:59 GMT", + "Date": "Fri, 10 Feb 2023 13:21:56 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "896a85bc-a606-40af-9362-18e71e643e3f", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "896a85bc-a606-40af-9362-18e71e643e3f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T091859Z:896a85bc-a606-40af-9362-18e71e643e3f" + "x-ms-correlation-request-id": "b77dc25c-adf6-4f67-ad0a-0fca316fade5", + "x-ms-ratelimit-remaining-subscription-reads": "11963", + "x-ms-request-id": "b77dc25c-adf6-4f67-ad0a-0fca316fade5", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132157Z:b77dc25c-adf6-4f67-ad0a-0fca316fade5" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg7876/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3325", - "name": "uai3325", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7380/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai3622", + "name": "uai3622", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -1571,17 +1643,17 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "8241e665-1ac8-4184-9c8f-5eed77066265", - "clientId": "2c45f3ed-cf4a-4e43-a88d-8ad42b0b243a" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "c6b337f7-0155-4646-bee8-db6978bde220", + "clientId": "c5a4db71-2d74-4e27-b44b-8b443eebf18b" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1092016143", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1786410295", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null)Async.json b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null)Async.json index af4f20234148..5d9633bb96f6 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null)Async.json +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/tests/SessionRecords/UserAssignedIdentityOperationTests/SetTags(null)Async.json @@ -1,71 +1,58 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2021-01-01", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901?api-version=2021-01-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-0d3afab1b0da334241056190c5b56ce4-22fbc2a32d3b39a3-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "0b629b2ba9ece6792e8920222c799a7d", + "traceparent": "00-11021d13a3f890fc6b218eba169a431d-a2e7c01a1b59b35d-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "c582d6520185580a159b7a1ee0aa0468", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "410", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:43 GMT", + "Date": "Fri, 10 Feb 2023 13: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": "fbc13999-039a-4712-b475-813fd5a77335", - "x-ms-ratelimit-remaining-subscription-reads": "11957", - "x-ms-request-id": "fbc13999-039a-4712-b475-813fd5a77335", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094843Z:fbc13999-039a-4712-b475-813fd5a77335" + "x-ms-correlation-request-id": "38af8229-0b22-4009-a959-96af429cd7ab", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "38af8229-0b22-4009-a959-96af429cd7ab", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132259Z:38af8229-0b22-4009-a959-96af429cd7ab" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901", "authorizationSource": "RoleBased", "managedByTenants": [], - "tags": { - "TagKey-9823": "TagValue-566", - "TagKey-3481": "TagValue-320", - "TagKey-4926": "TagValue-1187", - "TagKey-751": "TagValue-3921", - "TagKey-1866": "TagValue-8559", - "TagKey-3094": "TagValue-9190", - "TagKey-2449": "TagValue-9", - "TagKey-8379": "TagValue-164", - "TagKey-7470": "TagValue-2205", - "TagKey-4236": "TagValue-3698", - "TagKey-5316": "TagValue-2725" - }, - "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "displayName": ".NET Mgmt SDK Test with TTL = 1 Day", + "subscriptionId": "0336439f-0e9d-44ec-975e-62accb9b3901", + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "displayName": "Visual Studio Enterprise Subscription", "state": "Enabled", "subscriptionPolicies": { - "locationPlacementId": "Internal_2014-09-01", - "quotaId": "Internal_2014-09-01", - "spendingLimit": "Off" + "locationPlacementId": "Public_2014-09-01", + "quotaId": "MSDN_2014-09-01", + "spendingLimit": "On" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3959?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7654?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "21", "Content-Type": "application/json", - "traceparent": "00-716f0f6349e6765f1246a18a2f891f9a-ca5fb020154dc504-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "5ac8808d1be163d52072f5a658fb0f0b", + "traceparent": "00-2c191f2925dd92614663b861f1891544-bef1f819ebefb5f9-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "bfa96ef14977d92d6c592c06f8a0f5c5", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +63,19 @@ "Cache-Control": "no-cache", "Content-Length": "217", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:44 GMT", + "Date": "Fri, 10 Feb 2023 13: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": "70ea4aad-199d-4c00-a445-4ad37c96c95f", - "x-ms-ratelimit-remaining-subscription-writes": "1178", - "x-ms-request-id": "70ea4aad-199d-4c00-a445-4ad37c96c95f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094844Z:70ea4aad-199d-4c00-a445-4ad37c96c95f" + "x-ms-correlation-request-id": "17cbabad-f0eb-4967-9ecd-a8459c48794b", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "17cbabad-f0eb-4967-9ecd-a8459c48794b", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132300Z:17cbabad-f0eb-4967-9ecd-a8459c48794b" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959", - "name": "uai-rg3959", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654", + "name": "uai-rg7654", "type": "Microsoft.Resources/resourceGroups", "location": "eastus", "properties": { @@ -97,16 +84,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467?api-version=2023-01-31", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "47", "Content-Type": "application/json", - "traceparent": "00-3d871b13dcb3bda77666a56a687c2f8c-2c8d0a3f12612a5b-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "9d0e17d2bb09c03efdf3d72a5e83fbfd", + "traceparent": "00-3a5beba66fddee4bafbd1b55a42d0f9d-797954957646fb30-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2bb61370f0d67076ab9d3000e686127a", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -119,69 +106,401 @@ "Cache-Control": "no-cache", "Content-Length": "426", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:47 GMT", + "Date": "Fri, 10 Feb 2023 13:23:01 GMT", "Expires": "-1", - "Location": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873", + "Location": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3fcd596b-d272-4215-8e28-40ef1f38bfb7", - "x-ms-ratelimit-remaining-subscription-writes": "1177", - "x-ms-request-id": "3fcd596b-d272-4215-8e28-40ef1f38bfb7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094847Z:3fcd596b-d272-4215-8e28-40ef1f38bfb7" + "x-ms-correlation-request-id": "2ff88b33-6795-4cf4-9308-d7e7b5b4be6c", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "2ff88b33-6795-4cf4-9308-d7e7b5b4be6c", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132301Z:2ff88b33-6795-4cf4-9308-d7e7b5b4be6c" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873", - "name": "uai6873", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467", + "name": "uai5467", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": {}, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "f82fff5e-e184-4745-813d-315a5bc19aac", - "clientId": "8745227c-9d58-4bee-b408-f7f67f2b20b1" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "830e389d-6421-4f82-9943-063e62ff36e6", + "clientId": "144d4379-24e0-41ad-854b-ac01de2501a2" } } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-72e88b65da29d059e17f9c74f5a42849-bf513bffa14f181e-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "740ca9f243d8804a8ca8cb37833fd68d", + "traceparent": "00-ff5f7d4b6af5bd2d4fdcc48cc780feb8-1c10740d2c90bcbc-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "87f383bcfc958dda55eb18a7dd511cfa", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "17728", + "Content-Length": "19004", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:47 GMT", + "Date": "Fri, 10 Feb 2023 13:23:01 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1af1dc88-8498-42e8-aba0-64f331470eb6", - "x-ms-ratelimit-remaining-subscription-reads": "11956", - "x-ms-request-id": "1af1dc88-8498-42e8-aba0-64f331470eb6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094847Z:1af1dc88-8498-42e8-aba0-64f331470eb6" + "x-ms-correlation-request-id": "8ee4995f-420d-4c13-b199-a76a6dd28b2e", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "8ee4995f-420d-4c13-b199-a76a6dd28b2e", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132301Z:8ee4995f-420d-4c13-b199-a76a6dd28b2e" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/providers/Microsoft.Resources", "namespace": "Microsoft.Resources", "authorizations": [ { "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" }, - { - "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" - } - ], - "resourceTypes": [ + { + "applicationId": "94946920-7f9c-4956-93c0-2fcf94608102" + } + ], + "resourceTypes": [ + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "North Europe", + "Norway East", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "West US 3", + "South Africa North" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-02-01", + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "builtInTemplateSpecs", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "builtInTemplateSpecs/versions", + "locations": [], + "apiVersions": [ + "2022-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentStacks", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "locations/deploymentStackOperationStatus", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "Qatar Central", + "Sweden Central", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "West US 3", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2022-08-01-preview" + ], + "capabilities": "None" + }, { "resourceType": "tenants", "locations": [], @@ -702,7 +1021,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -779,7 +1097,6 @@ "Switzerland North", "Germany West Central", "Norway East", - "Jio India West", "West US 3", "Qatar Central", "Sweden Central" @@ -1155,251 +1472,6 @@ ], "capabilities": "None" }, - { - "resourceType": "deploymentScripts", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "SupportsTags, SupportsLocation" - }, - { - "resourceType": "deploymentScripts/logs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "locations/deploymentScriptOperationResults", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "South India", - "Jio India West", - "Japan East", - "Japan West", - "Korea Central", - "North Europe", - "Norway East", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "South Central US", - "West US 3", - "South Africa North" - ], - "apiVersions": [ - "2020-10-01", - "2019-10-01-preview" - ], - "capabilities": "None" - }, - { - "resourceType": "templateSpecs", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "templateSpecs/versions", - "locations": [ - "East Asia", - "Southeast Asia", - "Australia East", - "Australia Central", - "Australia Central 2", - "Australia Southeast", - "Brazil South", - "Canada Central", - "Canada East", - "Switzerland North", - "Germany West Central", - "East US 2", - "East US", - "Central US", - "North Central US", - "France Central", - "UK South", - "UK West", - "Central India", - "West India", - "Jio India West", - "South India", - "Japan East", - "Japan West", - "Korea Central", - "Korea South", - "North Europe", - "Norway East", - "Qatar Central", - "Sweden Central", - "UAE North", - "West Central US", - "West Europe", - "West US 2", - "West US", - "West US 3", - "South Central US", - "South Africa North" - ], - "apiVersions": [ - "2022-02-01", - "2021-05-01", - "2021-03-01-preview", - "2019-06-01-preview" - ], - "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" - }, - { - "resourceType": "builtInTemplateSpecs", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, - { - "resourceType": "builtInTemplateSpecs/versions", - "locations": [], - "apiVersions": [ - "2022-02-01" - ], - "capabilities": "None" - }, { "resourceType": "changes", "locations": [], @@ -1423,14 +1495,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-72e88b65da29d059e17f9c74f5a42849-b7a00e76ed47add1-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "62591610e08bd12441075dee43aa049d", + "traceparent": "00-ff5f7d4b6af5bd2d4fdcc48cc780feb8-2f9b1ba27e57fbb9-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "977058853d4e0110f73914da182df3e6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1438,27 +1510,27 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Wed, 19 Oct 2022 09:48:49 GMT", + "Date": "Fri, 10 Feb 2023 13:23:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c32b9f36-76f7-4819-a08a-6868b0b2f1fd", - "x-ms-ratelimit-remaining-subscription-deletes": "14996", - "x-ms-request-id": "c32b9f36-76f7-4819-a08a-6868b0b2f1fd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094850Z:c32b9f36-76f7-4819-a08a-6868b0b2f1fd" + "x-ms-correlation-request-id": "fbdc9a3f-1da0-41cc-a2fe-a3c817fad237", + "x-ms-ratelimit-remaining-subscription-deletes": "14998", + "x-ms-request-id": "fbdc9a3f-1da0-41cc-a2fe-a3c817fad237", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132302Z:fbdc9a3f-1da0-41cc-a2fe-a3c817fad237" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-72e88b65da29d059e17f9c74f5a42849-1e8f5d3ad2cad596-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "aeb4f8769bef8f33cd8d1061f0073cbd", + "traceparent": "00-ff5f7d4b6af5bd2d4fdcc48cc780feb8-7770a4c3cc26d733-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "744ab2476dad732f3829d6ebd8cf9259", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1467,18 +1539,18 @@ "Cache-Control": "no-cache", "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:50 GMT", + "Date": "Fri, 10 Feb 2023 13:23:02 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f5411230-053d-4e08-a9b2-ec569a7903f9", - "x-ms-ratelimit-remaining-subscription-reads": "11955", - "x-ms-request-id": "f5411230-053d-4e08-a9b2-ec569a7903f9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094850Z:f5411230-053d-4e08-a9b2-ec569a7903f9" + "x-ms-correlation-request-id": "d16d1a7e-78c0-493e-bf04-f639c9426dd2", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "d16d1a7e-78c0-493e-bf04-f639c9426dd2", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132302Z:d16d1a7e-78c0-493e-bf04-f639c9426dd2" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1487,16 +1559,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873/providers/Microsoft.Resources/tags/default?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467/providers/Microsoft.Resources/tags/default?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "57", "Content-Type": "application/json", - "traceparent": "00-72e88b65da29d059e17f9c74f5a42849-22b41fc2c20c3ed1-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "481a4a1d99291271853a32d0e65c3de2", + "traceparent": "00-ff5f7d4b6af5bd2d4fdcc48cc780feb8-0213b6f33eb5dee9-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "8d7b36817b167f2b72f28f5ce8007428", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -1512,18 +1584,18 @@ "Cache-Control": "no-cache", "Content-Length": "303", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:52 GMT", + "Date": "Fri, 10 Feb 2023 13:23:03 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4e6f656e-98e0-417f-b482-3efdc312e5c2", - "x-ms-ratelimit-remaining-subscription-writes": "1176", - "x-ms-request-id": "4e6f656e-98e0-417f-b482-3efdc312e5c2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094853Z:4e6f656e-98e0-417f-b482-3efdc312e5c2" + "x-ms-correlation-request-id": "e697b7b6-3cd0-442e-b482-0edb3ca48413", + "x-ms-ratelimit-remaining-subscription-writes": "1190", + "x-ms-request-id": "e697b7b6-3cd0-442e-b482-0edb3ca48413", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132304Z:e697b7b6-3cd0-442e-b482-0edb3ca48413" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873/providers/Microsoft.Resources/tags/default", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467/providers/Microsoft.Resources/tags/default", "name": "default", "type": "Microsoft.Resources/tags", "properties": { @@ -1535,14 +1607,14 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873?api-version=2022-01-31-preview", + "RequestUri": "https://management.azure.com/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourceGroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467?api-version=2023-01-31", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-72e88b65da29d059e17f9c74f5a42849-48cd3bf40d703a58-00", - "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/1.1.0-alpha.20221019.1 (.NET 6.0.10; Microsoft Windows 10.0.19044)", - "x-ms-client-request-id": "8bc02ea3288b759de3ca94fecfc3e13a", + "traceparent": "00-ff5f7d4b6af5bd2d4fdcc48cc780feb8-341f6dcfdaf37f9f-00", + "User-Agent": "azsdk-net-ResourceManager.ManagedServiceIdentities/2.0.0-alpha.20230210.1 (.NET 6.0.13; Microsoft Windows 10.0.22621)", + "x-ms-client-request-id": "2b6032f8a707174d29fc5e2567252828", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -1551,19 +1623,19 @@ "Cache-Control": "no-cache", "Content-Length": "457", "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 19 Oct 2022 09:48:53 GMT", + "Date": "Fri, 10 Feb 2023 13:23:04 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "edf96f2f-ce9c-404b-8de1-8a488f66f068", - "x-ms-ratelimit-remaining-subscription-reads": "11954", - "x-ms-request-id": "edf96f2f-ce9c-404b-8de1-8a488f66f068", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221019T094853Z:edf96f2f-ce9c-404b-8de1-8a488f66f068" + "x-ms-correlation-request-id": "6ab8aa70-6677-47e1-b58a-e27c72a55abb", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "6ab8aa70-6677-47e1-b58a-e27c72a55abb", + "x-ms-routing-request-id": "NORTHEUROPE:20230210T132304Z:6ab8aa70-6677-47e1-b58a-e27c72a55abb" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/uai-rg3959/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai6873", - "name": "uai6873", + "id": "/subscriptions/0336439f-0e9d-44ec-975e-62accb9b3901/resourcegroups/uai-rg7654/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uai5467", + "name": "uai5467", "type": "Microsoft.ManagedIdentity/userAssignedIdentities", "location": "eastus", "tags": { @@ -1571,17 +1643,17 @@ "key2": "value2" }, "properties": { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "principalId": "f82fff5e-e184-4745-813d-315a5bc19aac", - "clientId": "8745227c-9d58-4bee-b408-f7f67f2b20b1" + "tenantId": "a66b4d27-b1b3-4b60-8b06-7fb4fd05bc3c", + "principalId": "830e389d-6421-4f82-9943-063e62ff36e6", + "clientId": "144d4379-24e0-41ad-854b-ac01de2501a2" } } } ], "Variables": { - "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "550385219", + "AZURE_AUTHORITY_HOST": null, + "RandomSeed": "1556990017", "RESOURCE_MANAGER_URL": null, - "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + "SUBSCRIPTION_ID": "0336439f-0e9d-44ec-975e-62accb9b3901" } } From aa3e5d88e94ee6215e8b02c68fcaf34087ca4c90 Mon Sep 17 00:00:00 2001 From: Igor Solenov Date: Fri, 10 Feb 2023 19:00:29 +0000 Subject: [PATCH 3/7] Tests generated --- .../CHANGELOG.md | 2 +- ...e_FederatedIdentityCredentialCollection.cs | 18 ++++---- ...ple_FederatedIdentityCredentialResource.cs | 14 +++---- .../Sample_SystemAssignedIdentityResource.cs | 2 +- .../Sample_UserAssignedIdentityCollection.cs | 8 ++-- .../Sample_UserAssignedIdentityResource.cs | 42 ++----------------- 6 files changed, 26 insertions(+), 60 deletions(-) diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md index 7bc9950d6396..d731c8fb86f7 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.0.0 +## 2.0.0 (2023-01-20) ### Features Added Create/Update/Delete federated identity credentials. diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs index 24eb28e509b0..b1cd03029740 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialCollection.cs @@ -22,7 +22,7 @@ public partial class Sample_FederatedIdentityCredentialCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_FederatedIdentityCredentialList() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/FederatedIdentityCredentialList.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialList.json // this example is just showing the usage of "FederatedIdentityCredentials_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -32,7 +32,7 @@ public async Task GetAll_FederatedIdentityCredentialList() // this example assumes you already have this UserAssignedIdentityResource created on azure // for more information of creating UserAssignedIdentityResource, please refer to the document of UserAssignedIdentityResource - string subscriptionId = "subid"; + string subscriptionId = "c267c0e7-0a73-4789-9e17-d26aeb0904e5"; string resourceGroupName = "rgName"; string resourceName = "resourceName"; ResourceIdentifier userAssignedIdentityResourceId = UserAssignedIdentityResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName); @@ -59,7 +59,7 @@ public async Task GetAll_FederatedIdentityCredentialList() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_FederatedIdentityCredentialCreate() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/FederatedIdentityCredentialCreate.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialCreate.json // this example is just showing the usage of "FederatedIdentityCredentials_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -69,7 +69,7 @@ public async Task CreateOrUpdate_FederatedIdentityCredentialCreate() // this example assumes you already have this UserAssignedIdentityResource created on azure // for more information of creating UserAssignedIdentityResource, please refer to the document of UserAssignedIdentityResource - string subscriptionId = "subid"; + string subscriptionId = "c267c0e7-0a73-4789-9e17-d26aeb0904e5"; string resourceGroupName = "rgName"; string resourceName = "resourceName"; ResourceIdentifier userAssignedIdentityResourceId = UserAssignedIdentityResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName); @@ -82,7 +82,7 @@ public async Task CreateOrUpdate_FederatedIdentityCredentialCreate() string federatedIdentityCredentialResourceName = "ficResourceName"; FederatedIdentityCredentialData data = new FederatedIdentityCredentialData() { - IssuerUri = new Uri("https://oidc.prod-aks.azure.com/IssuerGUID"), + IssuerUri = new Uri("https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID"), Subject = "system:serviceaccount:ns:svcaccount", Audiences = { @@ -104,7 +104,7 @@ public async Task CreateOrUpdate_FederatedIdentityCredentialCreate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_FederatedIdentityCredentialGet() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/FederatedIdentityCredentialGet.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialGet.json // this example is just showing the usage of "FederatedIdentityCredentials_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -114,7 +114,7 @@ public async Task Get_FederatedIdentityCredentialGet() // this example assumes you already have this UserAssignedIdentityResource created on azure // for more information of creating UserAssignedIdentityResource, please refer to the document of UserAssignedIdentityResource - string subscriptionId = "subid"; + string subscriptionId = "c267c0e7-0a73-4789-9e17-d26aeb0904e5"; string resourceGroupName = "rgName"; string resourceName = "resourceName"; ResourceIdentifier userAssignedIdentityResourceId = UserAssignedIdentityResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName); @@ -139,7 +139,7 @@ public async Task Get_FederatedIdentityCredentialGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_FederatedIdentityCredentialGet() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/FederatedIdentityCredentialGet.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialGet.json // this example is just showing the usage of "FederatedIdentityCredentials_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -149,7 +149,7 @@ public async Task Exists_FederatedIdentityCredentialGet() // this example assumes you already have this UserAssignedIdentityResource created on azure // for more information of creating UserAssignedIdentityResource, please refer to the document of UserAssignedIdentityResource - string subscriptionId = "subid"; + string subscriptionId = "c267c0e7-0a73-4789-9e17-d26aeb0904e5"; string resourceGroupName = "rgName"; string resourceName = "resourceName"; ResourceIdentifier userAssignedIdentityResourceId = UserAssignedIdentityResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName); diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs index 4488b5918715..19a5c89a04bb 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_FederatedIdentityCredentialResource.cs @@ -22,7 +22,7 @@ public partial class Sample_FederatedIdentityCredentialResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_FederatedIdentityCredentialCreate() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/FederatedIdentityCredentialCreate.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialCreate.json // this example is just showing the usage of "FederatedIdentityCredentials_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -32,7 +32,7 @@ public async Task Update_FederatedIdentityCredentialCreate() // this example assumes you already have this FederatedIdentityCredentialResource created on azure // for more information of creating FederatedIdentityCredentialResource, please refer to the document of FederatedIdentityCredentialResource - string subscriptionId = "subid"; + string subscriptionId = "c267c0e7-0a73-4789-9e17-d26aeb0904e5"; string resourceGroupName = "rgName"; string resourceName = "resourceName"; string federatedIdentityCredentialResourceName = "ficResourceName"; @@ -42,7 +42,7 @@ public async Task Update_FederatedIdentityCredentialCreate() // invoke the operation FederatedIdentityCredentialData data = new FederatedIdentityCredentialData() { - IssuerUri = new Uri("https://oidc.prod-aks.azure.com/IssuerGUID"), + IssuerUri = new Uri("https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID"), Subject = "system:serviceaccount:ns:svcaccount", Audiences = { @@ -64,7 +64,7 @@ public async Task Update_FederatedIdentityCredentialCreate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_FederatedIdentityCredentialGet() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/FederatedIdentityCredentialGet.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialGet.json // this example is just showing the usage of "FederatedIdentityCredentials_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -74,7 +74,7 @@ public async Task Get_FederatedIdentityCredentialGet() // this example assumes you already have this FederatedIdentityCredentialResource created on azure // for more information of creating FederatedIdentityCredentialResource, please refer to the document of FederatedIdentityCredentialResource - string subscriptionId = "subid"; + string subscriptionId = "c267c0e7-0a73-4789-9e17-d26aeb0904e5"; string resourceGroupName = "rgName"; string resourceName = "resourceName"; string federatedIdentityCredentialResourceName = "ficResourceName"; @@ -96,7 +96,7 @@ public async Task Get_FederatedIdentityCredentialGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_FederatedIdentityCredentialDelete() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/FederatedIdentityCredentialDelete.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/FederatedIdentityCredentialDelete.json // this example is just showing the usage of "FederatedIdentityCredentials_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -106,7 +106,7 @@ public async Task Delete_FederatedIdentityCredentialDelete() // this example assumes you already have this FederatedIdentityCredentialResource created on azure // for more information of creating FederatedIdentityCredentialResource, please refer to the document of FederatedIdentityCredentialResource - string subscriptionId = "subid"; + string subscriptionId = "c267c0e7-0a73-4789-9e17-d26aeb0904e5"; string resourceGroupName = "rgName"; string resourceName = "resourceName"; string federatedIdentityCredentialResourceName = "ficResourceName"; diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs index 186f2bad6a55..c415daa8a986 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_SystemAssignedIdentityResource.cs @@ -21,7 +21,7 @@ public partial class Sample_SystemAssignedIdentityResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_MsiOperationsList() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/SystemAssignedIdentityGet.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/SystemAssignedIdentityGet.json // this example is just showing the usage of "SystemAssignedIdentities_GetByScope" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs index 6cdb986fb6a5..beeb5419213a 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityCollection.cs @@ -23,7 +23,7 @@ public partial class Sample_UserAssignedIdentityCollection [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetAll_IdentityListByResourceGroup() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityListByResourceGroup.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityListByResourceGroup.json // this example is just showing the usage of "UserAssignedIdentities_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -59,7 +59,7 @@ public async Task GetAll_IdentityListByResourceGroup() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task CreateOrUpdate_IdentityCreate() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityCreate.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityCreate.json // this example is just showing the usage of "UserAssignedIdentities_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -102,7 +102,7 @@ public async Task CreateOrUpdate_IdentityCreate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_IdentityGet() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityGet.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityGet.json // this example is just showing the usage of "UserAssignedIdentities_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -136,7 +136,7 @@ public async Task Get_IdentityGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Exists_IdentityGet() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityGet.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityGet.json // this example is just showing the usage of "UserAssignedIdentities_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs index 09e92f91e882..fc1d418e026e 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/samples/Generated/Samples/Sample_UserAssignedIdentityResource.cs @@ -24,7 +24,7 @@ public partial class Sample_UserAssignedIdentityResource [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task GetUserAssignedIdentities_IdentityListBySubscription() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityListBySubscription.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityListBySubscription.json // this example is just showing the usage of "UserAssignedIdentities_ListBySubscription" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,46 +51,12 @@ public async Task GetUserAssignedIdentities_IdentityListBySubscription() Console.WriteLine($"Succeeded"); } - // IdentityListAssociatedResources - [NUnit.Framework.Test] - [NUnit.Framework.Ignore("Only verifying that the sample builds")] - public async Task GetAssociatedResources_IdentityListAssociatedResources() - { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityListAssociatedResources.json - // this example is just showing the usage of "UserAssignedIdentities_ListAssociatedResources" operation, for the dependent resources, they will have to be created separately. - - // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line - TokenCredential cred = new DefaultAzureCredential(); - // authenticate your client - ArmClient client = new ArmClient(cred); - - // this example assumes you already have this UserAssignedIdentityResource created on azure - // for more information of creating UserAssignedIdentityResource, please refer to the document of UserAssignedIdentityResource - string subscriptionId = "1cscb752-d7c9-463f-9731-fd31edada74a"; - string resourceGroupName = "testrg"; - string resourceName = "testid"; - ResourceIdentifier userAssignedIdentityResourceId = UserAssignedIdentityResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, resourceName); - UserAssignedIdentityResource userAssignedIdentity = client.GetUserAssignedIdentityResource(userAssignedIdentityResourceId); - - // invoke the operation and iterate over the result - string filter = "contains(name, 'test')"; - string orderby = "name asc"; - int? top = 10; - int? skip = 1; - await foreach (IdentityAssociatedResourceData item in userAssignedIdentity.GetAssociatedResourcesAsync(filter: filter, orderby: orderby, top: top, skip: skip)) - { - Console.WriteLine($"Succeeded: {item}"); - } - - Console.WriteLine($"Succeeded"); - } - // IdentityUpdate [NUnit.Framework.Test] [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Update_IdentityUpdate() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityUpdate.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityUpdate.json // this example is just showing the usage of "UserAssignedIdentities_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -129,7 +95,7 @@ public async Task Update_IdentityUpdate() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Get_IdentityGet() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityGet.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityGet.json // this example is just showing the usage of "UserAssignedIdentities_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -160,7 +126,7 @@ public async Task Get_IdentityGet() [NUnit.Framework.Ignore("Only verifying that the sample builds")] public async Task Delete_IdentityDelete() { - // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2022-01-31-preview/examples/IdentityDelete.json + // Generated from example definition: specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2023-01-31/examples/IdentityDelete.json // this example is just showing the usage of "UserAssignedIdentities_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line From 503ef0e51ef36b677dc3a18fdd7cc4adfe4dd9d4 Mon Sep 17 00:00:00 2001 From: Igor Solenov Date: Fri, 10 Feb 2023 19:21:43 +0000 Subject: [PATCH 4/7] changelog --- .../CHANGELOG.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md index d731c8fb86f7..df926cc58c3f 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md @@ -1,16 +1,13 @@ # Release History -## 2.0.0 (2023-01-20) +## 2.0.0 (2023-02-20) ### Features Added -Create/Update/Delete federated identity credentials. +- Upgrade to API version 2023-01-31. +- Create/Update/Delete federated identity credentials. ### Breaking Changes -`ListAssociatedResources` available in beta version is removed from the stable version. - -### Bugs Fixed - -### Other Changes +- `ListAssociatedResources` available in beta version is removed from the stable version. ## 1.1.0-beta.2 (Unreleased) From 01175e064e10760b1b3b1c624391944759dee9a5 Mon Sep 17 00:00:00 2001 From: Igor Solenov Date: Fri, 10 Feb 2023 19:36:31 +0000 Subject: [PATCH 5/7] chagelog --- .../Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md index df926cc58c3f..dff4990bad1a 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md @@ -9,7 +9,7 @@ ### Breaking Changes - `ListAssociatedResources` available in beta version is removed from the stable version. -## 1.1.0-beta.2 (Unreleased) +## 1.1.0-beta.2 (2022-10-19) ### Features Added From 4be0b9fe5dc58653d8bfabc368f3ee750fcc2f5b Mon Sep 17 00:00:00 2001 From: Igor Solenov Date: Mon, 13 Feb 2023 12:13:34 +0000 Subject: [PATCH 6/7] version 1.1.0 --- .../CHANGELOG.md | 6 ++---- .../Azure.ResourceManager.ManagedServiceIdentities.csproj | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md index dff4990bad1a..9a90e8247ee5 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/CHANGELOG.md @@ -1,13 +1,11 @@ # Release History -## 2.0.0 (2023-02-20) +## 1.1.0 (2023-02-20) ### Features Added - Upgrade to API version 2023-01-31. - Create/Update/Delete federated identity credentials. - -### Breaking Changes -- `ListAssociatedResources` available in beta version is removed from the stable version. +- `ListAssociatedResources` method available in `1.1.0-beta.1` version is not added to this stable version. ## 1.1.0-beta.2 (2022-10-19) diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj index 68148e5622b0..e98a3f615ce2 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Azure.ResourceManager.ManagedServiceIdentities.csproj @@ -1,6 +1,6 @@ - 2.0.0 + 1.1.0 1.0.0 Azure.ResourceManager.ManagedServiceIdentities From 1d2438435582bedfa52e7422ff66bc1f33a7ea1e Mon Sep 17 00:00:00 2001 From: Igor Solenov Date: Mon, 13 Feb 2023 12:39:12 +0000 Subject: [PATCH 7/7] GetAssociatedResources is restored for backward compatibility --- ...ManagedServiceIdentities.netstandard2.0.cs | 13 ++++++++++++ .../Custom/IdentityAssociatedResourceData.cs | 19 +++++++++++++++++ .../Custom/UserAssignedIdentityResource.cs | 21 +++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/IdentityAssociatedResourceData.cs create mode 100644 sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/UserAssignedIdentityResource.cs diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs index 8acc40ebffb7..fe529a9ed5f9 100644 --- a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/api/Azure.ResourceManager.ManagedServiceIdentities.netstandard2.0.cs @@ -121,6 +121,12 @@ protected UserAssignedIdentityResource() { } public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] + public virtual Azure.Pageable GetAssociatedResources(string filter = null, string orderby = null, int? top = default(int?), int? skip = default(int?), string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] + public virtual Azure.AsyncPageable GetAssociatedResourcesAsync(string filter = null, string orderby = null, int? top = default(int?), int? skip = default(int?), string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetFederatedIdentityCredential(string federatedIdentityCredentialResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetFederatedIdentityCredentialAsync(string federatedIdentityCredentialResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -135,6 +141,13 @@ protected UserAssignedIdentityResource() { } } namespace Azure.ResourceManager.ManagedServiceIdentities.Models { + public partial class IdentityAssociatedResourceData : Azure.ResourceManager.Models.ResourceData + { + internal IdentityAssociatedResourceData() { } + public string ResourceGroup { get { throw null; } } + public string SubscriptionDisplayName { get { throw null; } } + public string SubscriptionId { get { throw null; } } + } public partial class UserAssignedIdentityPatch : Azure.ResourceManager.Models.TrackedResourceData { public UserAssignedIdentityPatch(Azure.Core.AzureLocation location) : base (default(Azure.Core.AzureLocation)) { } diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/IdentityAssociatedResourceData.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/IdentityAssociatedResourceData.cs new file mode 100644 index 000000000000..ad29ddb4529c --- /dev/null +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/IdentityAssociatedResourceData.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#pragma warning disable CA1822 // Mark members as static +#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member +namespace Azure.ResourceManager.ManagedServiceIdentities.Models +{ + public partial class IdentityAssociatedResourceData : Azure.ResourceManager.Models.ResourceData + { + internal IdentityAssociatedResourceData() { } + + public string ResourceGroup { get { throw null; } } + + public string SubscriptionDisplayName { get { throw null; } } + public string SubscriptionId { get { throw null; } } + } +} +#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member +#pragma warning restore CA1822 // Mark members as static diff --git a/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/UserAssignedIdentityResource.cs b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/UserAssignedIdentityResource.cs new file mode 100644 index 000000000000..a8bb27848748 --- /dev/null +++ b/sdk/managedserviceidentity/Azure.ResourceManager.ManagedServiceIdentities/src/Custom/UserAssignedIdentityResource.cs @@ -0,0 +1,21 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.ComponentModel; + +#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member +namespace Azure.ResourceManager.ManagedServiceIdentities +{ + public partial class UserAssignedIdentityResource : Azure.ResourceManager.ArmResource + { + [Obsolete("This method is obsolete and will be removed in a future release", false)] + [EditorBrowsable(EditorBrowsableState.Never)] + public virtual Azure.Pageable GetAssociatedResources(string filter = null, string orderby = null, int? top = default(int?), int? skip = default(int?), string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + + [Obsolete("This method is obsolete and will be removed in a future release", false)] + [EditorBrowsable(EditorBrowsableState.Never)] + public virtual Azure.AsyncPageable GetAssociatedResourcesAsync(string filter = null, string orderby = null, int? top = default(int?), int? skip = default(int?), string skiptoken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + } +} +#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member