diff --git a/sdk/logic/Azure.ResourceManager.Logic/Azure.ResourceManager.Logic.sln b/sdk/logic/Azure.ResourceManager.Logic/Azure.ResourceManager.Logic.sln index b99996cfba0a..f9c7d6e37394 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/Azure.ResourceManager.Logic.sln +++ b/sdk/logic/Azure.ResourceManager.Logic/Azure.ResourceManager.Logic.sln @@ -1,21 +1,15 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30309.148 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33213.308 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{5F5DC819-D320-434F-A771-9A757D7CADC0}") = "Azure.ResourceManager.Logic", "src\Azure.ResourceManager.Logic.csproj", "{A98AEA77-BABE-4701-B505-43ACDB149725}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Logic", "src\Azure.ResourceManager.Logic.csproj", "{A98AEA77-BABE-4701-B505-43ACDB149725}" EndProject -Project("{5F5DC819-D320-434F-A771-9A757D7CADC0}") = "Azure.ResourceManager.Logic.Tests", "tests\Azure.ResourceManager.Logic.Tests.csproj", "{FD668608-A531-4E32-9917-2449592CCE1C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Logic.Tests", "tests\Azure.ResourceManager.Logic.Tests.csproj", "{FD668608-A531-4E32-9917-2449592CCE1C}" EndProject -Project("{5F5DC819-D320-434F-A771-9A757D7CADC0}") = "Azure.ResourceManager.Logic.Samples", "samples\Azure.ResourceManager.Logic.Samples.csproj", "{043ce0a6-4b74-4d36-be72-713947a3e14f}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.Logic.Samples", "samples\Azure.ResourceManager.Logic.Samples.csproj", "{043CE0A6-4B74-4D36-BE72-713947A3E14F}" EndProject Global - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {DE9EF316-8C42-48CA-A6CB-208D0FFCB360} - EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 @@ -49,5 +43,23 @@ Global {FD668608-A531-4E32-9917-2449592CCE1C}.Release|x64.Build.0 = Release|Any CPU {FD668608-A531-4E32-9917-2449592CCE1C}.Release|x86.ActiveCfg = Release|Any CPU {FD668608-A531-4E32-9917-2449592CCE1C}.Release|x86.Build.0 = Release|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Debug|x64.ActiveCfg = Debug|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Debug|x64.Build.0 = Debug|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Debug|x86.ActiveCfg = Debug|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Debug|x86.Build.0 = Debug|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Release|Any CPU.Build.0 = Release|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Release|x64.ActiveCfg = Release|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Release|x64.Build.0 = Release|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Release|x86.ActiveCfg = Release|Any CPU + {043CE0A6-4B74-4D36-BE72-713947A3E14F}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DE9EF316-8C42-48CA-A6CB-208D0FFCB360} EndGlobalSection EndGlobal diff --git a/sdk/logic/Azure.ResourceManager.Logic/api/Azure.ResourceManager.Logic.netstandard2.0.cs b/sdk/logic/Azure.ResourceManager.Logic/api/Azure.ResourceManager.Logic.netstandard2.0.cs index 140ab7136f01..42e4cb78bb7b 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/api/Azure.ResourceManager.Logic.netstandard2.0.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/api/Azure.ResourceManager.Logic.netstandard2.0.cs @@ -630,6 +630,8 @@ public partial class LogicWorkflowResource : Azure.ResourceManager.ArmResource protected LogicWorkflowResource() { } public virtual Azure.ResourceManager.Logic.LogicWorkflowData Data { get { throw null; } } public virtual bool HasData { get { throw null; } } + public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string workflowName) { throw null; } 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; } @@ -658,7 +660,17 @@ protected LogicWorkflowResource() { } public virtual System.Threading.Tasks.Task MoveAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.Logic.Models.LogicWorkflowReference move, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response RegenerateAccessKey(Azure.ResourceManager.Logic.Models.LogicWorkflowRegenerateActionContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task RegenerateAccessKeyAsync(Azure.ResourceManager.Logic.Models.LogicWorkflowRegenerateActionContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.Logic.LogicWorkflowData data, 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. Please use Update(WaitUntil waitUntil, LogicWorkflowData data, CancellationToken cancellationToken = default) instead.", false)] public virtual Azure.Response Update(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.Logic.LogicWorkflowData data, 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. Please use UpdateAsync(WaitUntil waitUntil, LogicWorkflowData data, CancellationToken cancellationToken = default) instead.", false)] public virtual System.Threading.Tasks.Task> UpdateAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response ValidateByResourceGroup(Azure.ResourceManager.Logic.LogicWorkflowData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task ValidateByResourceGroupAsync(Azure.ResourceManager.Logic.LogicWorkflowData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs index 5a82390dd00a..a813cd7ed1fc 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/samples/Generated/Samples/Sample_LogicWorkflowResource.cs @@ -83,13 +83,13 @@ public async Task Get_GetAWorkflow() Console.WriteLine($"Succeeded on id: {resourceData.Id}"); } - // Patch a workflow + // Create or update a workflow [NUnit.Framework.Test] [NUnit.Framework.Ignore("Only verifying that the sample builds")] - public async Task Update_PatchAWorkflow() + public async Task Update_CreateOrUpdateAWorkflow() { - // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_Update.json - // this example is just showing the usage of "Workflows_Update" operation, for the dependent resources, they will have to be created separately. + // Generated from example definition: specification/logic/resource-manager/Microsoft.Logic/stable/2019-05-01/examples/Workflows_CreateOrUpdate.json + // this example is just showing the usage of "Workflows_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 TokenCredential cred = new DefaultAzureCredential(); @@ -105,7 +105,85 @@ public async Task Update_PatchAWorkflow() LogicWorkflowResource logicWorkflow = client.GetLogicWorkflowResource(logicWorkflowResourceId); // invoke the operation - LogicWorkflowResource result = await logicWorkflow.UpdateAsync(); + LogicWorkflowData data = new LogicWorkflowData(new AzureLocation("brazilsouth")) + { + IntegrationAccount = new LogicResourceReference() + { + Id = new ResourceIdentifier("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account"), + }, + Definition = BinaryData.FromObjectAsJson(new Dictionary() + { + ["$schema"] = "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + ["actions"] = new Dictionary() + { + ["Find_pet_by_ID"] = new Dictionary() + { + ["type"] = "ApiConnection", + ["inputs"] = new Dictionary() + { + ["path"] = "/pet/@{encodeURIComponent('1')}", + ["method"] = "get", + ["host"] = new Dictionary() + { + ["connection"] = new Dictionary() + { + ["name"] = "@parameters('$connections')['test-custom-connector']['connectionId']" + } + } + }, + ["runAfter"] = new Dictionary() + { + } + } + }, + ["contentVersion"] = "1.0.0.0", + ["outputs"] = new Dictionary() + { + }, + ["parameters"] = new Dictionary() + { + ["$connections"] = new Dictionary() + { + ["type"] = "Object", + ["defaultValue"] = new Dictionary() + { + } + } + }, + ["triggers"] = new Dictionary() + { + ["manual"] = new Dictionary() + { + ["type"] = "Request", + ["inputs"] = new Dictionary() + { + ["schema"] = new Dictionary() + { + } + }, + ["kind"] = "Http" + } + } + }), + Parameters = +{ +["$connections"] = new LogicWorkflowParameterInfo() +{ +Value = BinaryData.FromObjectAsJson(new Dictionary() +{ +["test-custom-connector"] = new Dictionary() +{ +["connectionId"] = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Web/connections/test-custom-connector", +["connectionName"] = "test-custom-connector", +["id"] = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Web/locations/brazilsouth/managedApis/test-custom-connector"}}), +}, +}, + Tags = +{ +}, + }; + ArmOperation lro = await logicWorkflow.UpdateAsync(WaitUntil.Completed, data); + LogicWorkflowResource result = lro.Value; // the variable result is a resource, you could call other operations on this instance as well // but just for demo, we get its data from this resource instance diff --git a/sdk/logic/Azure.ResourceManager.Logic/src/Customized/LogicWorkflowResource.cs b/sdk/logic/Azure.ResourceManager.Logic/src/Customized/LogicWorkflowResource.cs new file mode 100644 index 000000000000..b2799b987f93 --- /dev/null +++ b/sdk/logic/Azure.ResourceManager.Logic/src/Customized/LogicWorkflowResource.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#nullable disable + +using System; +using System.ComponentModel; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.ResourceManager.Resources; + +namespace Azure.ResourceManager.Logic +{ + /// + /// A Class representing a LogicWorkflow along with the instance operations that can be performed on it. + /// If you have a you can construct a + /// from an instance of using the GetLogicWorkflowResource method. + /// Otherwise you can get one from its parent resource using the GetLogicWorkflow method. + /// + public partial class LogicWorkflowResource + { + /// + /// Updates a workflow. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Update + /// + /// + /// + /// The cancellation token to use. + [Obsolete("This method is obsolete and will be removed in a future release. Please use UpdateAsync(WaitUntil waitUntil, LogicWorkflowData data, CancellationToken cancellationToken = default) instead.", false)] + [EditorBrowsable(EditorBrowsableState.Never)] + [ForwardsClientCalls] + public virtual async Task> UpdateAsync(CancellationToken cancellationToken = default) + { + var operation = await UpdateAsync(WaitUntil.Started, Data, cancellationToken).ConfigureAwait(false); + return await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + } + + /// + /// Updates a workflow. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Update + /// + /// + /// + /// The cancellation token to use. + [Obsolete("This method is obsolete and will be removed in a future release. Please use Update(WaitUntil waitUntil, LogicWorkflowData data, CancellationToken cancellationToken = default) instead.", false)] + [EditorBrowsable(EditorBrowsableState.Never)] + [ForwardsClientCalls] + public virtual Response Update(CancellationToken cancellationToken = default) + { + var operation = Update(WaitUntil.Started, Data, cancellationToken); + return operation.WaitForCompletion(cancellationToken); + } + } +} diff --git a/sdk/logic/Azure.ResourceManager.Logic/src/Generated/LogicWorkflowResource.cs b/sdk/logic/Azure.ResourceManager.Logic/src/Generated/LogicWorkflowResource.cs index 2d651a6b17b3..41171e189ddd 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/src/Generated/LogicWorkflowResource.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/src/Generated/LogicWorkflowResource.cs @@ -6,6 +6,7 @@ #nullable disable using System; +using System.Collections.Generic; using System.Globalization; using System.Threading; using System.Threading.Tasks; @@ -380,7 +381,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel } /// - /// Updates a workflow. + /// Creates or updates a workflow. /// /// /// Request Path @@ -388,19 +389,27 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Operation Id - /// Workflows_Update + /// Workflows_CreateOrUpdate /// /// /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The workflow. /// The cancellation token to use. - public virtual async Task> UpdateAsync(CancellationToken cancellationToken = default) + /// is null. + public virtual async Task> UpdateAsync(WaitUntil waitUntil, LogicWorkflowData data, CancellationToken cancellationToken = default) { + Argument.AssertNotNull(data, nameof(data)); + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.Update"); scope.Start(); try { - var response = await _logicWorkflowWorkflowsRestClient.UpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); - return Response.FromValue(new LogicWorkflowResource(Client, response.Value), response.GetRawResponse()); + var response = await _logicWorkflowWorkflowsRestClient.CreateOrUpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, data, cancellationToken).ConfigureAwait(false); + var operation = new LogicArmOperation(Response.FromValue(new LogicWorkflowResource(Client, response), response.GetRawResponse())); + if (waitUntil == WaitUntil.Completed) + await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false); + return operation; } catch (Exception e) { @@ -410,7 +419,7 @@ public virtual async Task> UpdateAsync(Cancellat } /// - /// Updates a workflow. + /// Creates or updates a workflow. /// /// /// Request Path @@ -418,19 +427,27 @@ public virtual async Task> UpdateAsync(Cancellat /// /// /// Operation Id - /// Workflows_Update + /// Workflows_CreateOrUpdate /// /// /// + /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. + /// The workflow. /// The cancellation token to use. - public virtual Response Update(CancellationToken cancellationToken = default) + /// is null. + public virtual ArmOperation Update(WaitUntil waitUntil, LogicWorkflowData data, CancellationToken cancellationToken = default) { + Argument.AssertNotNull(data, nameof(data)); + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.Update"); scope.Start(); try { - var response = _logicWorkflowWorkflowsRestClient.Update(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); - return Response.FromValue(new LogicWorkflowResource(Client, response.Value), response.GetRawResponse()); + var response = _logicWorkflowWorkflowsRestClient.CreateOrUpdate(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, data, cancellationToken); + var operation = new LogicArmOperation(Response.FromValue(new LogicWorkflowResource(Client, response), response.GetRawResponse())); + if (waitUntil == WaitUntil.Completed) + operation.WaitForCompletion(cancellationToken); + return operation; } catch (Exception e) { @@ -966,5 +983,293 @@ public virtual Response ValidateByResourceGroup(LogicWorkflowData data, Cancella throw; } } + + /// + /// Add a tag to the current resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Get + /// + /// + /// + /// The key for the tag. + /// The value for the tag. + /// The cancellation token to use. + /// or is null. + public virtual async Task> AddTagAsync(string key, string value, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + Argument.AssertNotNull(value, nameof(value)); + + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.AddTag"); + scope.Start(); + try + { + if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false)) + { + var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.TagValues[key] = value; + await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalResponse = await _logicWorkflowWorkflowsRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new LogicWorkflowResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data; + current.Tags[key] = value; + var result = await UpdateAsync(WaitUntil.Completed, current, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Add a tag to the current resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Get + /// + /// + /// + /// The key for the tag. + /// The value for the tag. + /// The cancellation token to use. + /// or is null. + public virtual Response AddTag(string key, string value, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + Argument.AssertNotNull(value, nameof(value)); + + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.AddTag"); + scope.Start(); + try + { + if (CanUseTagResource(cancellationToken: cancellationToken)) + { + var originalTags = GetTagResource().Get(cancellationToken); + originalTags.Value.Data.TagValues[key] = value; + GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken); + var originalResponse = _logicWorkflowWorkflowsRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + return Response.FromValue(new LogicWorkflowResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = Get(cancellationToken: cancellationToken).Value.Data; + current.Tags[key] = value; + var result = Update(WaitUntil.Completed, current, cancellationToken: cancellationToken); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Get + /// + /// + /// + /// The set of tags to use as replacement. + /// The cancellation token to use. + /// is null. + public virtual async Task> SetTagsAsync(IDictionary tags, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(tags, nameof(tags)); + + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.SetTags"); + scope.Start(); + try + { + if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false)) + { + await GetTagResource().DeleteAsync(WaitUntil.Completed, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.TagValues.ReplaceWith(tags); + await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalResponse = await _logicWorkflowWorkflowsRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new LogicWorkflowResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data; + current.Tags.ReplaceWith(tags); + var result = await UpdateAsync(WaitUntil.Completed, current, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Replace the tags on the resource with the given set. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Get + /// + /// + /// + /// The set of tags to use as replacement. + /// The cancellation token to use. + /// is null. + public virtual Response SetTags(IDictionary tags, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(tags, nameof(tags)); + + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.SetTags"); + scope.Start(); + try + { + if (CanUseTagResource(cancellationToken: cancellationToken)) + { + GetTagResource().Delete(WaitUntil.Completed, cancellationToken: cancellationToken); + var originalTags = GetTagResource().Get(cancellationToken); + originalTags.Value.Data.TagValues.ReplaceWith(tags); + GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken); + var originalResponse = _logicWorkflowWorkflowsRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + return Response.FromValue(new LogicWorkflowResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = Get(cancellationToken: cancellationToken).Value.Data; + current.Tags.ReplaceWith(tags); + var result = Update(WaitUntil.Completed, current, cancellationToken: cancellationToken); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Get + /// + /// + /// + /// The key for the tag. + /// The cancellation token to use. + /// is null. + public virtual async Task> RemoveTagAsync(string key, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.RemoveTag"); + scope.Start(); + try + { + if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false)) + { + var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false); + originalTags.Value.Data.TagValues.Remove(key); + await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false); + var originalResponse = await _logicWorkflowWorkflowsRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false); + return Response.FromValue(new LogicWorkflowResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data; + current.Tags.Remove(key); + var result = await UpdateAsync(WaitUntil.Completed, current, cancellationToken: cancellationToken).ConfigureAwait(false); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// Removes a tag by key from the resource. + /// + /// + /// Request Path + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName} + /// + /// + /// Operation Id + /// Workflows_Get + /// + /// + /// + /// The key for the tag. + /// The cancellation token to use. + /// is null. + public virtual Response RemoveTag(string key, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(key, nameof(key)); + + using var scope = _logicWorkflowWorkflowsClientDiagnostics.CreateScope("LogicWorkflowResource.RemoveTag"); + scope.Start(); + try + { + if (CanUseTagResource(cancellationToken: cancellationToken)) + { + var originalTags = GetTagResource().Get(cancellationToken); + originalTags.Value.Data.TagValues.Remove(key); + GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken); + var originalResponse = _logicWorkflowWorkflowsRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken); + return Response.FromValue(new LogicWorkflowResource(Client, originalResponse.Value), originalResponse.GetRawResponse()); + } + else + { + var current = Get(cancellationToken: cancellationToken).Value.Data; + current.Tags.Remove(key); + var result = Update(WaitUntil.Completed, current, cancellationToken: cancellationToken); + return Response.FromValue(result.Value, result.GetRawResponse()); + } + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs b/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs index 335e38787a61..263bc3f87f38 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/src/Generated/RestOperations/WorkflowsRestOperations.cs @@ -371,84 +371,6 @@ public Response CreateOrUpdate(string subscriptionId, string } } - internal HttpMessage CreateUpdateRequest(string subscriptionId, string resourceGroupName, string workflowName) - { - var message = _pipeline.CreateMessage(); - var request = message.Request; - request.Method = RequestMethod.Patch; - 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.Logic/workflows/", false); - uri.AppendPath(workflowName, true); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - _userAgent.Apply(message); - return message; - } - - /// Updates a workflow. - /// The subscription id. - /// The resource group name. - /// The workflow name. - /// The cancellation token to use. - /// , or is null. - /// , or is an empty string, and was expected to be non-empty. - public async Task> UpdateAsync(string subscriptionId, string resourceGroupName, string workflowName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(workflowName, nameof(workflowName)); - - using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, workflowName); - await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); - switch (message.Response.Status) - { - case 200: - { - LogicWorkflowData value = default; - using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = LogicWorkflowData.DeserializeLogicWorkflowData(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - - /// Updates a workflow. - /// The subscription id. - /// The resource group name. - /// The workflow name. - /// The cancellation token to use. - /// , or is null. - /// , or is an empty string, and was expected to be non-empty. - public Response Update(string subscriptionId, string resourceGroupName, string workflowName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(subscriptionId, nameof(subscriptionId)); - Argument.AssertNotNullOrEmpty(resourceGroupName, nameof(resourceGroupName)); - Argument.AssertNotNullOrEmpty(workflowName, nameof(workflowName)); - - using var message = CreateUpdateRequest(subscriptionId, resourceGroupName, workflowName); - _pipeline.Send(message, cancellationToken); - switch (message.Response.Status) - { - case 200: - { - LogicWorkflowData value = default; - using var document = JsonDocument.Parse(message.Response.ContentStream); - value = LogicWorkflowData.DeserializeLogicWorkflowData(document.RootElement); - return Response.FromValue(value, message.Response); - } - default: - throw new RequestFailedException(message.Response); - } - } - internal HttpMessage CreateDeleteRequest(string subscriptionId, string resourceGroupName, string workflowName) { var message = _pipeline.CreateMessage(); diff --git a/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md b/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md index 4b07fabef5dd..f64f8f9fd3d1 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md +++ b/sdk/logic/Azure.ResourceManager.Logic/src/autorest.md @@ -213,6 +213,7 @@ rename-rules: B2B: B2B|b2b directive: + - remove-operation: Workflows_Update - from: logic.json where: $.definitions transform: > diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/LogicManagementTestBase.cs b/sdk/logic/Azure.ResourceManager.Logic/tests/LogicManagementTestBase.cs index 829c2641bd44..93a0e320dbcf 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/LogicManagementTestBase.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/LogicManagementTestBase.cs @@ -56,15 +56,20 @@ protected async Task CreateIntegrationAccount(Resour } protected async Task CreateLogicWorkflow(ResourceGroupResource resourceGroup, ResourceIdentifier integrationAccountIdentifier, string logicWorkflowName) + { + LogicWorkflowData data = ConstructLogicWorkflowData(resourceGroup.Data.Location, integrationAccountIdentifier); + var workflow = await resourceGroup.GetLogicWorkflows().CreateOrUpdateAsync(WaitUntil.Completed, logicWorkflowName, data); + return workflow.Value; + } + + protected LogicWorkflowData ConstructLogicWorkflowData(AzureLocation location, ResourceIdentifier integrationAccountIdentifier) { byte[] definition = File.ReadAllBytes(@"TestData/WorkflowDefinition.json"); - LogicWorkflowData data = new LogicWorkflowData(resourceGroup.Data.Location) + return new LogicWorkflowData(location) { Definition = new BinaryData(definition), IntegrationAccount = new LogicResourceReference() { Id = integrationAccountIdentifier }, }; - var workflow = await resourceGroup.GetLogicWorkflows().CreateOrUpdateAsync(WaitUntil.Completed, logicWorkflowName, data); - return workflow.Value; } protected async Task CreateDefaultNetwork(ResourceGroupResource resourceGroup, string vnetName) diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/Scenario/LogicWorkflowsTests.cs b/sdk/logic/Azure.ResourceManager.Logic/tests/Scenario/LogicWorkflowsTests.cs index 9d044fc3a308..99666ba4aeca 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/Scenario/LogicWorkflowsTests.cs +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/Scenario/LogicWorkflowsTests.cs @@ -86,5 +86,19 @@ public async Task Delete() flag = await _logicWorkflowCollection.ExistsAsync(logicWorkflowName); Assert.IsFalse(flag); } + + [RecordedTest] + public async Task Update() + { + string logicWorkflowName = Recording.GenerateAssetName("workflow"); + var logicWorkflow = await CreateLogicWorkflow(_resourceGroup, _integrationAccountIdentifier, logicWorkflowName); + + var input = ConstructLogicWorkflowData(_resourceGroup.Data.Location, _integrationAccountIdentifier); + input.Tags.Add("testKey", "testVal"); + var lro = await logicWorkflow.UpdateAsync(WaitUntil.Completed, input); + var updatedLogicWorkflow = lro.Value; + + Assert.AreEqual(updatedLogicWorkflow.Data.Tags.Count, 1); + } } } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdate.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdate.json index b2a20933752b..315c04fd9c41 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdate.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdate.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-3544?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-9580?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-8926d8fda96a9c4aa2a2104b23553b8d-514e2412d4a59d4d-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "4072b1a7091e2449b795c0e0741de72c", + "traceparent": "00-0256ef2b15c0aa46b2a293322c0b100f-14b2f6ca594cf541-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "908368331af9032cfb9bf1ce18e3e3d0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:30 GMT", + "Date": "Tue, 07 Feb 2023 08:33:34 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aa29d980-30a9-4770-8967-16cfca386c3c", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "aa29d980-30a9-4770-8967-16cfca386c3c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090531Z:aa29d980-30a9-4770-8967-16cfca386c3c" + "x-ms-correlation-request-id": "e12bc287-0e85-41b1-91ff-7edfb0a0cbfa", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "e12bc287-0e85-41b1-91ff-7edfb0a0cbfa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083335Z:e12bc287-0e85-41b1-91ff-7edfb0a0cbfa" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544", - "name": "LogicAppRG-3544", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580", + "name": "LogicAppRG-9580", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow268?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7894?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "590", "Content-Type": "application/json", - "traceparent": "00-57cc48406fb8444fa5ab4505f19c1ed6-6fe1e3eee5023e43-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "75b7d190aa5521a93a36ca302b60e665", + "traceparent": "00-73cf10cb5aba2e4bb8ae0a7510cff0ef-df801791fe7ca143-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "68a5f03098eaa299f04aef7731c6e813", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2040", + "Content-Length": "2042", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:34 GMT", + "Date": "Tue, 07 Feb 2023 08:33:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "da86a04a-5200-4a1f-85fb-417628f41f2b", - "x-ms-ratelimit-remaining-subscription-writes": "1191", - "x-ms-request-id": "centralus:ab393c44-2c1a-4688-88cf-2a28fcd07a15", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090535Z:da86a04a-5200-4a1f-85fb-417628f41f2b" + "x-ms-correlation-request-id": "2f61393e-304e-476e-9e33-6715ca66d6fc", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "centralus:a08219a4-5d58-42ff-a10d-8313fd97c323", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083341Z:2f61393e-304e-476e-9e33-6715ca66d6fc" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:33.8799464Z", - "changedTime": "2022-08-26T09:05:33.8716372Z", + "createdTime": "2023-02-07T08:33:37.9943921Z", + "changedTime": "2023-02-07T08:33:37.9832965Z", "state": "Enabled", - "version": "08585401021516271922", - "accessEndpoint": "https://prod-17.centralus.logic.azure.com:443/workflows/bd8148c469be4f02b1aa0d80112c2bfd", + "version": "08585258480675028841", + "accessEndpoint": "https://prod-28.centralus.logic.azure.com:443/workflows/abb1081ff84f4f5fa6d64a3730f44bf9", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,8 +232,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow268", - "name": "workflow268", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7894", + "name": "workflow7894", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -242,7 +242,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "313509120", + "RandomSeed": "1707315407", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdateAsync.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdateAsync.json index 852b60a07c20..31e98efbcf34 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdateAsync.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/CreateOrUpdateAsync.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5761?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5397?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-15b500840697ea4897aff47ae52cb1b5-c09ad2adfc630949-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "ae50b14cb42ae069f292012a8a44cb23", + "traceparent": "00-c43e6f55b13fa3438dc84bb4e8bae623-e7efaa15c849d74d-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "be03fa7d1493f9b749834ffd18012cf5", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:09 GMT", + "Date": "Tue, 07 Feb 2023 08:34:49 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d671dcc5-3c68-4291-a821-c49ef2ab1ab6", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "d671dcc5-3c68-4291-a821-c49ef2ab1ab6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090609Z:d671dcc5-3c68-4291-a821-c49ef2ab1ab6" + "x-ms-correlation-request-id": "34694dca-ba3a-4177-b773-feeeced85c5c", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "34694dca-ba3a-4177-b773-feeeced85c5c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083449Z:34694dca-ba3a-4177-b773-feeeced85c5c" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761", - "name": "LogicAppRG-5761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397", + "name": "LogicAppRG-5397", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4545?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3169?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "590", + "Content-Length": "589", "Content-Type": "application/json", - "traceparent": "00-43c1d819c66ff2458849dfb1541582de-d69c2ebbb61d7d45-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "f5d98f49d3393bc3654459a21f1f6170", + "traceparent": "00-0600d73fd650a545831657d5ad0c172f-5d996e107898c444-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "20c4c7e00beb51a44d217c1d4c453fae", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2040", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:12 GMT", + "Date": "Tue, 07 Feb 2023 08:34:53 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7dc6f370-8fc1-4395-881c-fc39b3fb5546", - "x-ms-ratelimit-remaining-subscription-writes": "1184", - "x-ms-request-id": "centralus:4d5d921f-ba41-455c-abb2-24c202fba62d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090613Z:7dc6f370-8fc1-4395-881c-fc39b3fb5546" + "x-ms-correlation-request-id": "f30370d0-1a14-45ea-a9d1-3236a1ebb3af", + "x-ms-ratelimit-remaining-subscription-writes": "1197", + "x-ms-request-id": "centralus:522ad834-0651-4efc-8f1b-cad7a5a9f7a1", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083454Z:f30370d0-1a14-45ea-a9d1-3236a1ebb3af" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:11.8902701Z", - "changedTime": "2022-08-26T09:06:11.8877173Z", + "createdTime": "2023-02-07T08:34:52.5744093Z", + "changedTime": "2023-02-07T08:34:52.5690443Z", "state": "Enabled", - "version": "08585401021136341368", - "accessEndpoint": "https://prod-12.centralus.logic.azure.com:443/workflows/c858f822050347fbbeb024334ac808f8", + "version": "08585258479929657577", + "accessEndpoint": "https://prod-05.centralus.logic.azure.com:443/workflows/a7e3383cd08844ca92140afe7546ec5c", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,8 +232,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4545", - "name": "workflow4545", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3169", + "name": "workflow3169", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -242,7 +242,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1365984006", + "RandomSeed": "494162375", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Delete.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Delete.json index 0e441021f214..ef92fe9ec3dc 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Delete.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Delete.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-3544?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-9580?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d1c5ebc32df36f46a1b4f306d1d05efc-027d966dfbc3b14f-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "a4511a60a45f3a9b6cb3512c95f8e16a", + "traceparent": "00-6aebe381e45dc5489459d8abae88e678-7d395639a34bc142-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "0fbec7ea4dfd7bb09e0322f9812b918d", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:34 GMT", + "Date": "Tue, 07 Feb 2023 08:33:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cc929015-ab26-4832-9f93-16de96d1cc57", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "cc929015-ab26-4832-9f93-16de96d1cc57", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090535Z:cc929015-ab26-4832-9f93-16de96d1cc57" + "x-ms-correlation-request-id": "364ef54c-444b-4807-ae7d-28c2b922728d", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "364ef54c-444b-4807-ae7d-28c2b922728d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083342Z:364ef54c-444b-4807-ae7d-28c2b922728d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544", - "name": "LogicAppRG-3544", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580", + "name": "LogicAppRG-9580", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow7752?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7792?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "590", "Content-Type": "application/json", - "traceparent": "00-4d53343995113648aaf4e493eddde760-596678fac48d1143-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "0bb91a94070d2979cb441f4456fc5ab5", + "traceparent": "00-56b3dab85ef1de46adc1e2ae6af92df8-b1a192822c9a8b47-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "a059e7f6ba95442dd247c868e3daab2b", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2040", + "Content-Length": "2041", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:38 GMT", + "Date": "Tue, 07 Feb 2023 08:33:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fa7a06e5-6421-4bcf-9790-37d876b6c223", - "x-ms-ratelimit-remaining-subscription-writes": "1190", - "x-ms-request-id": "centralus:505bfdfb-b2ec-44a0-ac79-53c92d77adbb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090538Z:fa7a06e5-6421-4bcf-9790-37d876b6c223" + "x-ms-correlation-request-id": "8b4476d6-e21d-4675-a559-52a581845e8e", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "centralus:4e269562-57da-4b17-84f3-63f80361980e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083346Z:8b4476d6-e21d-4675-a559-52a581845e8e" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:37.5162484Z", - "changedTime": "2022-08-26T09:05:37.51225Z", + "createdTime": "2023-02-07T08:33:44.6054843Z", + "changedTime": "2023-02-07T08:33:44.592693Z", "state": "Enabled", - "version": "08585401021479757634", - "accessEndpoint": "https://prod-12.centralus.logic.azure.com:443/workflows/82e1e012ea424c18b09ff518222857e1", + "version": "08585258480608975851", + "accessEndpoint": "https://prod-03.centralus.logic.azure.com:443/workflows/230255490c8c45a5aa850a926b9d7cad", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,52 +232,52 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow7752", - "name": "workflow7752", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7792", + "name": "workflow7792", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow7752?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7792?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b022ad9c71372b42ac0374a9452ffcbe-62a9797e837fad4c-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "48724b127c936ca9bd98c0874a428741", + "traceparent": "00-812a24e8f2b33544963f5752ba764070-1cc920059148aa49-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "8265627de67f5159003372a6832ee003", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2040", + "Content-Length": "2041", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:38 GMT", + "Date": "Tue, 07 Feb 2023 08:33:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d7cbbe7-8b9c-49eb-8356-37fc72887be8", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19993", - "x-ms-request-id": "centralus:08b31798-e361-44c9-90f2-dd9b20cde91f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090539Z:6d7cbbe7-8b9c-49eb-8356-37fc72887be8" + "x-ms-correlation-request-id": "906da28b-9401-4ae9-a9f3-f02e93781541", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19999", + "x-ms-request-id": "centralus:07574cea-2cd5-4030-995b-d10c42fb7926", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083346Z:906da28b-9401-4ae9-a9f3-f02e93781541" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:37.5162484Z", - "changedTime": "2022-08-26T09:05:37.51225Z", + "createdTime": "2023-02-07T08:33:44.6054843Z", + "changedTime": "2023-02-07T08:33:44.592693Z", "state": "Enabled", - "version": "08585401021479757634", - "accessEndpoint": "https://prod-12.centralus.logic.azure.com:443/workflows/82e1e012ea424c18b09ff518222857e1", + "version": "08585258480608975851", + "accessEndpoint": "https://prod-03.centralus.logic.azure.com:443/workflows/230255490c8c45a5aa850a926b9d7cad", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -400,22 +400,22 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow7752", - "name": "workflow7752", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7792", + "name": "workflow7792", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow7752?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7792?api-version=2019-05-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-727cce111f8cc044ab065b34b579604f-dbefe4eeca65f044-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "260540696ef11352d87b935f7cf515b6", + "traceparent": "00-0f99b3e43aa5a748a045033f27957106-d36fdb6978c17c49-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "01c78107d32c0d5490ca2a05e813ba28", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -423,27 +423,27 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Fri, 26 Aug 2022 09:05:45 GMT", + "Date": "Tue, 07 Feb 2023 08:33:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3603e1bd-2c22-44a0-ac23-13cd5646db19", + "x-ms-correlation-request-id": "7fdc70ee-d83c-4747-872b-1f7e48713381", "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "centralus:8ebc6f08-1e74-4930-b0c4-5ea18403c5ec", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090546Z:3603e1bd-2c22-44a0-ac23-13cd5646db19" + "x-ms-request-id": "centralus:0c14bbe1-b3cd-4813-a275-8d32aec64549", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083354Z:7fdc70ee-d83c-4747-872b-1f7e48713381" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow7752?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7792?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-b6c778c1953ab34cbbdd2c229b976a23-d4b2c707bc339d48-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "ac8376f6226e1849704c4d7547f2de89", + "traceparent": "00-282b2d2188ceb54fab188e289b935078-ac1f8888781fbc4e-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "c903ce760a2b0f2c8d07a0624886c1a3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -452,27 +452,27 @@ "Cache-Control": "no-cache", "Content-Length": "225", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:45 GMT", + "Date": "Tue, 07 Feb 2023 08:33:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6059bf6a-aeed-48db-ba60-e75a1defa209", + "x-ms-correlation-request-id": "e5957c0b-5deb-4d9a-86ee-bdfb1d8f47c8", "x-ms-failure-cause": "gateway", - "x-ms-request-id": "6059bf6a-aeed-48db-ba60-e75a1defa209", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090546Z:6059bf6a-aeed-48db-ba60-e75a1defa209" + "x-ms-request-id": "e5957c0b-5deb-4d9a-86ee-bdfb1d8f47c8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083354Z:e5957c0b-5deb-4d9a-86ee-bdfb1d8f47c8" }, "ResponseBody": { "error": { "code": "ResourceNotFound", - "message": "The Resource \u0027Microsoft.Logic/workflows/workflow7752\u0027 under resource group \u0027LogicAppRG-3544\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix" + "message": "The Resource \u0027Microsoft.Logic/workflows/workflow7792\u0027 under resource group \u0027LogicAppRG-9580\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix" } } } ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1537287307", + "RandomSeed": "468667363", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/DeleteAsync.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/DeleteAsync.json index e887406fc56f..ac00bf4c4b49 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/DeleteAsync.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/DeleteAsync.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5761?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5397?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d6677d2944fa8641815b55bd94cf9700-e38b2b1117c0af40-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "2e68f8fbae0a417627b0f54306a42be6", + "traceparent": "00-0ea5174a881bcd4589e15d5607627d3b-53edad9e6c32e443-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "99c0ddfadc03752ec2f4185c03decad8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:13 GMT", + "Date": "Tue, 07 Feb 2023 08:34:54 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d9cdeb0-0ece-4b6d-9e97-7315bf8a061a", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "6d9cdeb0-0ece-4b6d-9e97-7315bf8a061a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090613Z:6d9cdeb0-0ece-4b6d-9e97-7315bf8a061a" + "x-ms-correlation-request-id": "46e07788-13c2-427c-9dd4-04b28331e5ad", + "x-ms-ratelimit-remaining-subscription-reads": "11997", + "x-ms-request-id": "46e07788-13c2-427c-9dd4-04b28331e5ad", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083454Z:46e07788-13c2-427c-9dd4-04b28331e5ad" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761", - "name": "LogicAppRG-5761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397", + "name": "LogicAppRG-5397", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow3519?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow4870?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "590", + "Content-Length": "589", "Content-Type": "application/json", - "traceparent": "00-4f9976149e046046aad7783f60635041-ae4392017f90484b-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "564c63c2dca43122f980f8ae517ca5e6", + "traceparent": "00-ce8696d82afbf14380eba88a20d8d2d8-4175d0b2fb63a84d-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "d3f097fc4071131c0ce8af77cbdaf3ca", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2040", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:16 GMT", + "Date": "Tue, 07 Feb 2023 08:34:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "09f563c9-2650-4984-846b-12ca02b1eae7", - "x-ms-ratelimit-remaining-subscription-writes": "1183", - "x-ms-request-id": "centralus:c5b8dcff-430c-4e66-80f8-b61e7dacec67", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090617Z:09f563c9-2650-4984-846b-12ca02b1eae7" + "x-ms-correlation-request-id": "75c82f46-03a7-4f0d-8202-b112f150f3ce", + "x-ms-ratelimit-remaining-subscription-writes": "1196", + "x-ms-request-id": "centralus:af249999-d6fa-4ed8-b381-762c2672b83a", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083458Z:75c82f46-03a7-4f0d-8202-b112f150f3ce" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:15.9616433Z", - "changedTime": "2022-08-26T09:06:15.9501988Z", + "createdTime": "2023-02-07T08:34:57.3178107Z", + "changedTime": "2023-02-07T08:34:57.3034184Z", "state": "Enabled", - "version": "08585401021095384476", - "accessEndpoint": "https://prod-03.centralus.logic.azure.com:443/workflows/3a4bb3edbc434e7eb431fec3fddaa9d0", + "version": "08585258479881806048", + "accessEndpoint": "https://prod-02.centralus.logic.azure.com:443/workflows/ba8a4456f6e1407fb13b7fa26e01f735", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,52 +232,52 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow3519", - "name": "workflow3519", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow4870", + "name": "workflow4870", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow3519?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow4870?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-372c389497b5e54489b2da69b77406bd-e3564a74d345284b-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "0fb82d6a268e8a5bc6ad5f7645cf5fd1", + "traceparent": "00-bea81cd4263df44b80e4dfc67e7b890c-6815dbe0ce6e0145-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "3c29af3ede5dca4ddf664e9c077b3382", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2040", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:17 GMT", + "Date": "Tue, 07 Feb 2023 08:34:58 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cf080b01-4307-4669-9222-df3537ecaa8b", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19988", - "x-ms-request-id": "centralus:08f547d8-d6a9-4ea4-8ac8-a07809056f22", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090617Z:cf080b01-4307-4669-9222-df3537ecaa8b" + "x-ms-correlation-request-id": "2fac3fa6-bed5-4f0d-b2c7-701e54b61c0e", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19999", + "x-ms-request-id": "centralus:307cf40e-fe60-49da-8c9c-1ea0a025df32", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083459Z:2fac3fa6-bed5-4f0d-b2c7-701e54b61c0e" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:15.9616433Z", - "changedTime": "2022-08-26T09:06:15.9501988Z", + "createdTime": "2023-02-07T08:34:57.3178107Z", + "changedTime": "2023-02-07T08:34:57.3034184Z", "state": "Enabled", - "version": "08585401021095384476", - "accessEndpoint": "https://prod-03.centralus.logic.azure.com:443/workflows/3a4bb3edbc434e7eb431fec3fddaa9d0", + "version": "08585258479881806048", + "accessEndpoint": "https://prod-02.centralus.logic.azure.com:443/workflows/ba8a4456f6e1407fb13b7fa26e01f735", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -400,22 +400,22 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow3519", - "name": "workflow3519", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow4870", + "name": "workflow4870", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow3519?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow4870?api-version=2019-05-01", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-e8611100893cae49aa325ecf813dfb28-ae802868a1fe9440-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "96ea244fced61b5746fc112e7e93d633", + "traceparent": "00-19a6a4a02eb11e4394584bf345ecfa8c-2102a915ce53c340-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "5afc6996f63b9c89a385f7f37ffef619", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -423,27 +423,27 @@ "ResponseHeaders": { "Cache-Control": "no-cache", "Content-Length": "0", - "Date": "Fri, 26 Aug 2022 09:06:23 GMT", + "Date": "Tue, 07 Feb 2023 08:35:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c93658f7-5acf-4070-bb2b-afd2b676902a", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "centralus:18253cc1-10ac-4690-bd20-e03968ebcbeb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090623Z:c93658f7-5acf-4070-bb2b-afd2b676902a" + "x-ms-correlation-request-id": "9b09a8c9-fd52-4c6b-8cc6-16108cfc7b17", + "x-ms-ratelimit-remaining-subscription-deletes": "14999", + "x-ms-request-id": "centralus:bee2c99e-ea3e-4eb3-9cbe-03e3411886d4", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083505Z:9b09a8c9-fd52-4c6b-8cc6-16108cfc7b17" }, "ResponseBody": null }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow3519?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow4870?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-14219d5c25e7934cad12bbfaead634c9-5b6eee7d8105b943-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "769c5c50d7739cb508c190f67dabec29", + "traceparent": "00-ebf5203045418c42aa19598a9f06ff97-bc29efe8ffd46f4f-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "2ec492259ca01edb4a26f30af1800c91", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -452,27 +452,27 @@ "Cache-Control": "no-cache", "Content-Length": "225", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:23 GMT", + "Date": "Tue, 07 Feb 2023 08:35:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b4eace8d-9192-4821-8fe3-b0909e217ccc", + "x-ms-correlation-request-id": "02609585-f91e-4949-aa5b-17bd26e41b0e", "x-ms-failure-cause": "gateway", - "x-ms-request-id": "b4eace8d-9192-4821-8fe3-b0909e217ccc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090623Z:b4eace8d-9192-4821-8fe3-b0909e217ccc" + "x-ms-request-id": "02609585-f91e-4949-aa5b-17bd26e41b0e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083505Z:02609585-f91e-4949-aa5b-17bd26e41b0e" }, "ResponseBody": { "error": { "code": "ResourceNotFound", - "message": "The Resource \u0027Microsoft.Logic/workflows/workflow3519\u0027 under resource group \u0027LogicAppRG-5761\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix" + "message": "The Resource \u0027Microsoft.Logic/workflows/workflow4870\u0027 under resource group \u0027LogicAppRG-5397\u0027 was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix" } } } ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "862300015", + "RandomSeed": "1417011731", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Exist.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Exist.json index 5b8922cb5965..4048aeac0f3a 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Exist.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Exist.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-3544?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-9580?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-6c0b6b20fe952e46b1bcf506d8cd5e6f-96f92ccfd88e3941-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "c207eb10c42613ad3d92c193b44585db", + "traceparent": "00-8ab284f17f25a64cb98ef5536594eb87-e413eb59ab560745-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "3d8a2496232e567b6d0a745b6fc3e4e3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:46 GMT", + "Date": "Tue, 07 Feb 2023 08:33:55 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1a1aa3c5-42e3-4504-a857-0e03ea5af925", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "1a1aa3c5-42e3-4504-a857-0e03ea5af925", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090547Z:1a1aa3c5-42e3-4504-a857-0e03ea5af925" + "x-ms-correlation-request-id": "49223d3e-f913-4ed3-9e03-26e9f9ab901c", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "49223d3e-f913-4ed3-9e03-26e9f9ab901c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083355Z:49223d3e-f913-4ed3-9e03-26e9f9ab901c" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544", - "name": "LogicAppRG-3544", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580", + "name": "LogicAppRG-9580", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow6130?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow9714?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "590", "Content-Type": "application/json", - "traceparent": "00-f89dc58c198cad47aad115281369bb65-40ad7eff3ed89545-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "f9353b38fee4e6371127278db517fbfa", + "traceparent": "00-72432d77cd35be49bd84e25361e9f901-8021ade7ca583742-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "430897abc8b2f2c2bf507fd8889889db", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -89,27 +89,27 @@ "Cache-Control": "no-cache", "Content-Length": "2041", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:49 GMT", + "Date": "Tue, 07 Feb 2023 08:33:59 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "69d27744-7fd0-4021-a5bf-63b030292cae", - "x-ms-ratelimit-remaining-subscription-writes": "1189", - "x-ms-request-id": "centralus:a6cd3c6a-a9da-4c3a-93fb-671e5e13b9a1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090550Z:69d27744-7fd0-4021-a5bf-63b030292cae" + "x-ms-correlation-request-id": "f476c3fd-79c4-4189-90ba-cff7f5c83bfa", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "centralus:b3762c46-3c98-449d-9804-ac247a829006", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083400Z:f476c3fd-79c4-4189-90ba-cff7f5c83bfa" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:49.305957Z", - "changedTime": "2022-08-26T09:05:49.2935667Z", + "createdTime": "2023-02-07T08:33:58.089903Z", + "changedTime": "2023-02-07T08:33:58.0778853Z", "state": "Enabled", - "version": "08585401021362028634", - "accessEndpoint": "https://prod-07.centralus.logic.azure.com:443/workflows/a55ce60329db4060bba31ef5ffa0b30f", + "version": "08585258480474694241", + "accessEndpoint": "https://prod-19.centralus.logic.azure.com:443/workflows/594c1e9daea44e629b81a597cf9d82d8", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,22 +232,22 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow6130", - "name": "workflow6130", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow9714", + "name": "workflow9714", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow6130?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow9714?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-9fd4e528cd7e784c80f0dd315a3fec42-54d0f9325770d843-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "c0dabbdff8021e455c840e6455780488", + "traceparent": "00-db6e5ae596b7a1438ec2aa69523603ba-fcadde879a55ca42-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "cd20aeb1051e1d8472f4573544d4887e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -256,28 +256,28 @@ "Cache-Control": "no-cache", "Content-Length": "2041", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:50 GMT", + "Date": "Tue, 07 Feb 2023 08:34:00 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3cd0a857-2901-49f9-bc51-a5dc154e63b1", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19991", - "x-ms-request-id": "centralus:78e76624-8305-4b6c-9dd6-53cda2ab95cf", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090550Z:3cd0a857-2901-49f9-bc51-a5dc154e63b1" + "x-ms-correlation-request-id": "b6f6a9ad-eba6-455e-82b8-42df7681c158", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19997", + "x-ms-request-id": "centralus:62baa782-b8dd-448d-a2bf-4c8472321bae", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083400Z:b6f6a9ad-eba6-455e-82b8-42df7681c158" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:49.305957Z", - "changedTime": "2022-08-26T09:05:49.2935667Z", + "createdTime": "2023-02-07T08:33:58.089903Z", + "changedTime": "2023-02-07T08:33:58.0778853Z", "state": "Enabled", - "version": "08585401021362028634", - "accessEndpoint": "https://prod-07.centralus.logic.azure.com:443/workflows/a55ce60329db4060bba31ef5ffa0b30f", + "version": "08585258480474694241", + "accessEndpoint": "https://prod-19.centralus.logic.azure.com:443/workflows/594c1e9daea44e629b81a597cf9d82d8", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -400,8 +400,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow6130", - "name": "workflow6130", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow9714", + "name": "workflow9714", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -410,7 +410,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1198029241", + "RandomSeed": "2016932690", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/ExistAsync.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/ExistAsync.json index a95a45b9a34b..83151b647eb3 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/ExistAsync.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/ExistAsync.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5761?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5397?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-95ba96eed292384494fad17aefdd2a26-96c00c076604054c-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "63921d9fb1e343e5fd3461e96af1ad07", + "traceparent": "00-4d4673f7e25fb74b8e64e74ef50eb395-6eeea6d445bd0c40-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "f00a294a485f06fb4edf7bf3fe79335c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:24 GMT", + "Date": "Tue, 07 Feb 2023 08:35:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "00ec50a4-5273-4688-a342-3b986accda35", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "00ec50a4-5273-4688-a342-3b986accda35", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090624Z:00ec50a4-5273-4688-a342-3b986accda35" + "x-ms-correlation-request-id": "81e13138-1343-44ca-babe-ec049b0606f3", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "81e13138-1343-44ca-babe-ec049b0606f3", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083506Z:81e13138-1343-44ca-babe-ec049b0606f3" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761", - "name": "LogicAppRG-5761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397", + "name": "LogicAppRG-5397", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4862?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow1904?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "590", + "Content-Length": "589", "Content-Type": "application/json", - "traceparent": "00-9af35714b8d26d4cbf17ae52315af8e9-223e1017b01f6944-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "71e046a9e9a8ae65d1d0f693270e6d25", + "traceparent": "00-a81d86c7b4e6de41b4a50b27918a95c6-5dcf04f0b2532948-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "d1ef5cee5d34eb9cced532a80b542c4c", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2040", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:27 GMT", + "Date": "Tue, 07 Feb 2023 08:35:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3ab8f0fa-9e4b-4489-89ae-c2f4f524a219", - "x-ms-ratelimit-remaining-subscription-writes": "1182", - "x-ms-request-id": "centralus:7bfcc02f-1b14-4efd-9d11-41f86070fd5f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090628Z:3ab8f0fa-9e4b-4489-89ae-c2f4f524a219" + "x-ms-correlation-request-id": "7759bf7c-7f2a-479b-9acc-e607235a0ec7", + "x-ms-ratelimit-remaining-subscription-writes": "1195", + "x-ms-request-id": "centralus:236f153e-405f-477c-9c02-ad633fcdf2f8", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083510Z:7759bf7c-7f2a-479b-9acc-e607235a0ec7" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:27.0810138Z", - "changedTime": "2022-08-26T09:06:27.0752323Z", + "createdTime": "2023-02-07T08:35:08.7943396Z", + "changedTime": "2023-02-07T08:35:08.7878353Z", "state": "Enabled", - "version": "08585401020984131709", - "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/c1afab55f24e4a958c3037f81f685bdf", + "version": "08585258479767038973", + "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/6517bd2e68b3459babc6736f1f2d3348", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,52 +232,52 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4862", - "name": "workflow4862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow1904", + "name": "workflow1904", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4862?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow1904?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-2e2b9b7216a48143a934919fdb42866e-79676f95233e8746-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "c28c9081cd0b806663ebe8e5ecfc8c7e", + "traceparent": "00-619480ff332eeb418810fe526de83203-39e503d5b53f5640-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "2c5119444996ee7e30b21150516599c1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2040", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:28 GMT", + "Date": "Tue, 07 Feb 2023 08:35:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bd9ec7a3-fe54-4004-8710-43ac57717f10", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19986", - "x-ms-request-id": "centralus:4c4f5d49-3c7f-4715-a93b-f4a60d78d22c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090628Z:bd9ec7a3-fe54-4004-8710-43ac57717f10" + "x-ms-correlation-request-id": "dd9ac419-2cc7-4d21-8929-bfd56ddd4b5a", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19997", + "x-ms-request-id": "centralus:ce5944b4-bfba-4abf-9def-39e62bce70dd", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083510Z:dd9ac419-2cc7-4d21-8929-bfd56ddd4b5a" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:27.0810138Z", - "changedTime": "2022-08-26T09:06:27.0752323Z", + "createdTime": "2023-02-07T08:35:08.7943396Z", + "changedTime": "2023-02-07T08:35:08.7878353Z", "state": "Enabled", - "version": "08585401020984131709", - "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/c1afab55f24e4a958c3037f81f685bdf", + "version": "08585258479767038973", + "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/6517bd2e68b3459babc6736f1f2d3348", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -400,8 +400,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4862", - "name": "workflow4862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow1904", + "name": "workflow1904", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -410,7 +410,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1768360184", + "RandomSeed": "1595244159", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Get.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Get.json index 232f53d648ca..931b180074a0 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Get.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Get.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-3544?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-9580?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-146538188ed24d4daea6cbd16ea8d8ca-2ff76d721842284e-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "d85813b34891bf04ab97a370a1591cc3", + "traceparent": "00-fc2bbef49dd3ca4ba3aa757ab9db7cf9-090f4226214fa14a-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "ea5ca6bc3ec1d860710bba501e6b891b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:50 GMT", + "Date": "Tue, 07 Feb 2023 08:34:00 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f951365a-bcc0-4ad0-aed8-d218f02cf782", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "f951365a-bcc0-4ad0-aed8-d218f02cf782", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090551Z:f951365a-bcc0-4ad0-aed8-d218f02cf782" + "x-ms-correlation-request-id": "a903fc03-b8a2-49d2-90f9-8b4ab91a2056", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "a903fc03-b8a2-49d2-90f9-8b4ab91a2056", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083401Z:a903fc03-b8a2-49d2-90f9-8b4ab91a2056" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544", - "name": "LogicAppRG-3544", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580", + "name": "LogicAppRG-9580", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow9611?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow6773?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "590", "Content-Type": "application/json", - "traceparent": "00-ca7d5179a322b5428d750f27ac29183f-3ae11cdb8538344f-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "5e16ebca43fccae1415c4bba08a59cc0", + "traceparent": "00-2d0c43744bfd90488fea57df59b228f2-d2b6b4f9f3474246-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "11e0def2b4ad861627bde78a0426d0ca", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2041", + "Content-Length": "2042", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:53 GMT", + "Date": "Tue, 07 Feb 2023 08:34:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "db94cc27-3b0f-495f-873a-af022170191d", - "x-ms-ratelimit-remaining-subscription-writes": "1188", - "x-ms-request-id": "centralus:a4b6a41e-56d5-411d-9861-9c552f44c66c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090554Z:db94cc27-3b0f-495f-873a-af022170191d" + "x-ms-correlation-request-id": "69be3d2d-029a-40c2-99e7-b57a89b7000e", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "centralus:f8852f5e-9cd2-42e6-acbd-6288d88830e9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083405Z:69be3d2d-029a-40c2-99e7-b57a89b7000e" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:53.2916223Z", - "changedTime": "2022-08-26T09:05:53.277953Z", + "createdTime": "2023-02-07T08:34:03.4420939Z", + "changedTime": "2023-02-07T08:34:03.4372932Z", "state": "Enabled", - "version": "08585401021322040883", - "accessEndpoint": "https://prod-10.centralus.logic.azure.com:443/workflows/09d2d57fa5e4487eb1c4db4b62e92106", + "version": "08585258480420939949", + "accessEndpoint": "https://prod-11.centralus.logic.azure.com:443/workflows/c5b90e7e33534aa8875280238de3a74f", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,52 +232,52 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow9611", - "name": "workflow9611", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow6773", + "name": "workflow6773", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow9611?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow6773?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-e416d3d856e8874190e03e1acd38d3ec-f342353ef1f1994a-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "2221f4a79d7a18ef4a3537723b007cb7", + "traceparent": "00-5f378b0321e67249a6dc392bdb5301b5-f0ebfc7059aa9543-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "b9870c53157923cdd97bdec5fe1c1910", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2041", + "Content-Length": "2042", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:54 GMT", + "Date": "Tue, 07 Feb 2023 08:34:05 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c83fa95c-bb5d-4fd0-8c53-8ad7aee861c3", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19990", - "x-ms-request-id": "centralus:d896d68c-f58c-466f-bbe1-4b3cc86eaf21", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090554Z:c83fa95c-bb5d-4fd0-8c53-8ad7aee861c3" + "x-ms-correlation-request-id": "33b30c84-0382-4a96-b048-60d5bfe178b6", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19996", + "x-ms-request-id": "centralus:c962fa92-cfb8-43c9-9509-b72eba946b8f", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083405Z:33b30c84-0382-4a96-b048-60d5bfe178b6" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:53.2916223Z", - "changedTime": "2022-08-26T09:05:53.277953Z", + "createdTime": "2023-02-07T08:34:03.4420939Z", + "changedTime": "2023-02-07T08:34:03.4372932Z", "state": "Enabled", - "version": "08585401021322040883", - "accessEndpoint": "https://prod-10.centralus.logic.azure.com:443/workflows/09d2d57fa5e4487eb1c4db4b62e92106", + "version": "08585258480420939949", + "accessEndpoint": "https://prod-11.centralus.logic.azure.com:443/workflows/c5b90e7e33534aa8875280238de3a74f", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -400,8 +400,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow9611", - "name": "workflow9611", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow6773", + "name": "workflow6773", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -410,7 +410,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1669525163", + "RandomSeed": "1593256990", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAll.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAll.json index 51acc2ea5fed..b475beedadbc 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAll.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAll.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-3544?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-9580?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-fb3f0c6d9238164780d354c364dd56ab-cc83d186059b3549-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "775d1cd8aa96cb0b930fc9470d761760", + "traceparent": "00-34ef8f766194f64596e421c598084c87-def9c25913e8c14d-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "93c1b72d42a215b6be808d10a0e54ed6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:54 GMT", + "Date": "Tue, 07 Feb 2023 08:34:06 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f8f68299-8b4b-4bc1-80e2-c7b2ca437968", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "f8f68299-8b4b-4bc1-80e2-c7b2ca437968", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090555Z:f8f68299-8b4b-4bc1-80e2-c7b2ca437968" + "x-ms-correlation-request-id": "ec8e509b-4145-425f-aef2-879ef418a2b2", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "ec8e509b-4145-425f-aef2-879ef418a2b2", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083406Z:ec8e509b-4145-425f-aef2-879ef418a2b2" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544", - "name": "LogicAppRG-3544", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580", + "name": "LogicAppRG-9580", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow8822?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow4301?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "590", "Content-Type": "application/json", - "traceparent": "00-0f8e893f13c4234eac1b76cf10281b60-54bc9e4fedc34e4d-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "ebacf2d37d3691d066d8369ce93dc24b", + "traceparent": "00-0e0a506a6e61e84c974350dec1db24ec-9e93b9140fd7c64a-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "55b4b0a166c419310db450541668035f", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -89,27 +89,27 @@ "Cache-Control": "no-cache", "Content-Length": "2042", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:58 GMT", + "Date": "Tue, 07 Feb 2023 08:34:09 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c4ef4b3d-1186-4e41-aeb4-35c7dea77499", - "x-ms-ratelimit-remaining-subscription-writes": "1187", - "x-ms-request-id": "centralus:0d747892-fae1-4227-a1b1-ea5eb626e416", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090559Z:c4ef4b3d-1186-4e41-aeb4-35c7dea77499" + "x-ms-correlation-request-id": "02903553-56ee-48d3-a3a7-01b9df8cea7b", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "centralus:50dd6e00-dc14-421b-9cea-a611b0cc81f6", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083410Z:02903553-56ee-48d3-a3a7-01b9df8cea7b" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:57.6320933Z", - "changedTime": "2022-08-26T09:05:57.6216884Z", + "createdTime": "2023-02-07T08:34:08.9875352Z", + "changedTime": "2023-02-07T08:34:08.9841604Z", "state": "Enabled", - "version": "08585401021278849500", - "accessEndpoint": "https://prod-06.centralus.logic.azure.com:443/workflows/586fc8de513a4b7bb47b14e5374f398e", + "version": "08585258480365072136", + "accessEndpoint": "https://prod-21.centralus.logic.azure.com:443/workflows/509572c2a69b42d09ead15c6e9866c69", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,54 +232,54 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow8822", - "name": "workflow8822", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow4301", + "name": "workflow4301", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-742e8b15b5b79d44bca13a79715ff136-f5d56a60a0b0b943-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "d69374a26356a3b62f3f32b76f04dcdb", + "traceparent": "00-f3b538e090edba49a1572f723d19b803-c22a9ad9498cf24d-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "824fa3b9c72c216da8838f3467e27051", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "8179", + "Content-Length": "8182", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:58 GMT", + "Date": "Tue, 07 Feb 2023 08:34:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aaa9f4a3-144e-4f6e-92c6-2b70a854c3f4", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19989", - "x-ms-request-id": "centralus:f5753d1f-ddd8-483a-9c38-a82f1ce8d2f1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090559Z:aaa9f4a3-144e-4f6e-92c6-2b70a854c3f4" + "x-ms-correlation-request-id": "82819f6c-e03f-4371-a794-d060f8379053", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19995", + "x-ms-request-id": "centralus:d4c89e9e-7eff-4c69-ac02-e131ce2fc54e", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083410Z:82819f6c-e03f-4371-a794-d060f8379053" }, "ResponseBody": { "value": [ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:33.8799464Z", - "changedTime": "2022-08-26T09:05:33.8716372Z", + "createdTime": "2023-02-07T08:34:08.9875352Z", + "changedTime": "2023-02-07T08:34:08.9841604Z", "state": "Enabled", - "version": "08585401021516271922", - "accessEndpoint": "https://prod-17.centralus.logic.azure.com:443/workflows/bd8148c469be4f02b1aa0d80112c2bfd", + "version": "08585258480365072136", + "accessEndpoint": "https://prod-21.centralus.logic.azure.com:443/workflows/509572c2a69b42d09ead15c6e9866c69", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -402,8 +402,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow268", - "name": "workflow268", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow4301", + "name": "workflow4301", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -411,14 +411,14 @@ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:49.305957Z", - "changedTime": "2022-08-26T09:05:49.2935667Z", + "createdTime": "2023-02-07T08:34:03.4420939Z", + "changedTime": "2023-02-07T08:34:03.4372932Z", "state": "Enabled", - "version": "08585401021362028634", - "accessEndpoint": "https://prod-07.centralus.logic.azure.com:443/workflows/a55ce60329db4060bba31ef5ffa0b30f", + "version": "08585258480420939949", + "accessEndpoint": "https://prod-11.centralus.logic.azure.com:443/workflows/c5b90e7e33534aa8875280238de3a74f", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -541,8 +541,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow6130", - "name": "workflow6130", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow6773", + "name": "workflow6773", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -550,14 +550,14 @@ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:57.6320933Z", - "changedTime": "2022-08-26T09:05:57.6216884Z", + "createdTime": "2023-02-07T08:33:37.9943921Z", + "changedTime": "2023-02-07T08:33:37.9832965Z", "state": "Enabled", - "version": "08585401021278849500", - "accessEndpoint": "https://prod-06.centralus.logic.azure.com:443/workflows/586fc8de513a4b7bb47b14e5374f398e", + "version": "08585258480675028841", + "accessEndpoint": "https://prod-28.centralus.logic.azure.com:443/workflows/abb1081ff84f4f5fa6d64a3730f44bf9", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -680,8 +680,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow8822", - "name": "workflow8822", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7894", + "name": "workflow7894", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -689,14 +689,14 @@ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:05:53.2916223Z", - "changedTime": "2022-08-26T09:05:53.277953Z", + "createdTime": "2023-02-07T08:33:58.089903Z", + "changedTime": "2023-02-07T08:33:58.0778853Z", "state": "Enabled", - "version": "08585401021322040883", - "accessEndpoint": "https://prod-10.centralus.logic.azure.com:443/workflows/09d2d57fa5e4487eb1c4db4b62e92106", + "version": "08585258480474694241", + "accessEndpoint": "https://prod-19.centralus.logic.azure.com:443/workflows/594c1e9daea44e629b81a597cf9d82d8", "integrationAccount": { - "name": "integration4878", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -819,8 +819,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/workflows/workflow9611", - "name": "workflow9611", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow9714", + "name": "workflow9714", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -831,7 +831,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1116032474", + "RandomSeed": "600506982", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAllAsync.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAllAsync.json index 43ccf6651db9..6dcea2ef7713 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAllAsync.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAllAsync.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5761?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5397?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-cd41e4d7bce7d54c953ae0f6b46aa099-8854ee619a72a641-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "f9b2145f4864a9921a4ce15dffda142e", + "traceparent": "00-02b31f05227caa4e893307e434f5b6b6-bda80638182b9d4b-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "5faa9325094de6ea8061131981de2031", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:33 GMT", + "Date": "Tue, 07 Feb 2023 08:35:16 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ab2ed31f-acda-4801-917c-83b4ff2c3ff5", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-request-id": "ab2ed31f-acda-4801-917c-83b4ff2c3ff5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090633Z:ab2ed31f-acda-4801-917c-83b4ff2c3ff5" + "x-ms-correlation-request-id": "d985048c-9c8a-4fef-bd78-cd77ed3bd292", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "d985048c-9c8a-4fef-bd78-cd77ed3bd292", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083516Z:d985048c-9c8a-4fef-bd78-cd77ed3bd292" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761", - "name": "LogicAppRG-5761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397", + "name": "LogicAppRG-5397", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow9204?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3677?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "590", + "Content-Length": "589", "Content-Type": "application/json", - "traceparent": "00-df4d7ddc09663e4fbf41d8f099e8a3f7-c62b3246f73acf49-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "a1e5ab857938b6498668924d3f81fea1", + "traceparent": "00-3c01ed438c887d4ca74164f30ea2c3df-c0b6dcf30128f24d-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "00b759e47776d2dde80b854593125e74", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2039", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:37 GMT", + "Date": "Tue, 07 Feb 2023 08:35:20 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "33208db1-836a-40bc-aaae-6aa69a669e16", - "x-ms-ratelimit-remaining-subscription-writes": "1180", - "x-ms-request-id": "centralus:f8d64ff9-a2c3-4cfa-8ca7-12a6b2f12998", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090637Z:33208db1-836a-40bc-aaae-6aa69a669e16" + "x-ms-correlation-request-id": "d67f2bb6-6a45-41bb-a875-b2973bf4c4b8", + "x-ms-ratelimit-remaining-subscription-writes": "1193", + "x-ms-request-id": "centralus:ebcdc119-dfad-477b-99b5-b2e6bfadfee0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083520Z:d67f2bb6-6a45-41bb-a875-b2973bf4c4b8" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:36.3938162Z", - "changedTime": "2022-08-26T09:06:36.3877827Z", + "createdTime": "2023-02-07T08:35:18.915271Z", + "changedTime": "2023-02-07T08:35:18.9128635Z", "state": "Enabled", - "version": "08585401020891137011", - "accessEndpoint": "https://prod-11.centralus.logic.azure.com:443/workflows/5bee09fc7cf04316807aac9ab1e472aa", + "version": "08585258479666025045", + "accessEndpoint": "https://prod-06.centralus.logic.azure.com:443/workflows/8906c25c263f402aa9b78bc76879f8cf", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,54 +232,53 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow9204", - "name": "workflow9204", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3677", + "name": "workflow3677", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-540c1420140d75498a9fc27ffcd995ba-4ffa31c42a2b204e-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "168ed6fbb6294c8cfc9b4799deb4903d", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "240a559bd7aedec98bab245f55483a4b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "8183", + "Content-Length": "8174", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:37 GMT", + "Date": "Tue, 07 Feb 2023 08:35:21 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5047c212-bbcf-4101-9f09-fe2f8f5e0288", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19984", - "x-ms-request-id": "centralus:6fbcf44f-8a53-4a9a-8d0e-19c8fa5278f0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090637Z:5047c212-bbcf-4101-9f09-fe2f8f5e0288" + "x-ms-correlation-request-id": "9354a54d-46f0-47b3-8376-031551ab56ad", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19995", + "x-ms-request-id": "centralus:9ba8d222-f09f-44e6-8251-186680c75b9c", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083521Z:9354a54d-46f0-47b3-8376-031551ab56ad" }, "ResponseBody": { "value": [ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:31.9751788Z", - "changedTime": "2022-08-26T09:06:31.9658971Z", + "createdTime": "2023-02-07T08:35:08.7943396Z", + "changedTime": "2023-02-07T08:35:08.7878353Z", "state": "Enabled", - "version": "08585401020935791047", - "accessEndpoint": "https://prod-10.centralus.logic.azure.com:443/workflows/3fe40dc1679d4b44b47e8f94f9fc4b19", + "version": "08585258479767038973", + "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/6517bd2e68b3459babc6736f1f2d3348", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -402,8 +401,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow1912", - "name": "workflow1912", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow1904", + "name": "workflow1904", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -411,14 +410,14 @@ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:11.8902701Z", - "changedTime": "2022-08-26T09:06:11.8877173Z", + "createdTime": "2023-02-07T08:34:52.5744093Z", + "changedTime": "2023-02-07T08:34:52.5690443Z", "state": "Enabled", - "version": "08585401021136341368", - "accessEndpoint": "https://prod-12.centralus.logic.azure.com:443/workflows/c858f822050347fbbeb024334ac808f8", + "version": "08585258479929657577", + "accessEndpoint": "https://prod-05.centralus.logic.azure.com:443/workflows/a7e3383cd08844ca92140afe7546ec5c", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -541,8 +540,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4545", - "name": "workflow4545", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3169", + "name": "workflow3169", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -550,14 +549,14 @@ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:27.0810138Z", - "changedTime": "2022-08-26T09:06:27.0752323Z", + "createdTime": "2023-02-07T08:35:18.915271Z", + "changedTime": "2023-02-07T08:35:18.9128635Z", "state": "Enabled", - "version": "08585401020984131709", - "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/c1afab55f24e4a958c3037f81f685bdf", + "version": "08585258479666025045", + "accessEndpoint": "https://prod-06.centralus.logic.azure.com:443/workflows/8906c25c263f402aa9b78bc76879f8cf", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -680,8 +679,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow4862", - "name": "workflow4862", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3677", + "name": "workflow3677", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -689,14 +688,14 @@ { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:36.3938162Z", - "changedTime": "2022-08-26T09:06:36.3877827Z", + "createdTime": "2023-02-07T08:35:13.7914439Z", + "changedTime": "2023-02-07T08:35:13.7878219Z", "state": "Enabled", - "version": "08585401020891137011", - "accessEndpoint": "https://prod-11.centralus.logic.azure.com:443/workflows/5bee09fc7cf04316807aac9ab1e472aa", + "version": "08585258479717175807", + "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/e1cf089f0d1d42218651587c7a4faca6", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -819,8 +818,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow9204", - "name": "workflow9204", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow7383", + "name": "workflow7383", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -831,7 +830,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "331843626", + "RandomSeed": "836781591", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAsync.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAsync.json index 90b1e0092a0b..4b83f1f962e2 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAsync.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/GetAsync.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5761?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5397?api-version=**", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-031aeec2b231bf4a92c3031ec5570bc7-81d04d0ac577f346-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "820127d04946a266d88582a3c25aae58", + "traceparent": "00-5197a2d0c74ee84c9ce345eadfb9defc-7e7d66230bfada41-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "966207f0f3daf0f3f77f49201f9716ca", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,19 +17,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:28 GMT", + "Date": "Tue, 07 Feb 2023 08:35:10 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9f2553aa-a692-474e-8633-933fbc3f82b3", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "9f2553aa-a692-474e-8633-933fbc3f82b3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090629Z:9f2553aa-a692-474e-8633-933fbc3f82b3" + "x-ms-correlation-request-id": "12b6f98d-15f2-4d99-b017-f1e1e1b21762", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "12b6f98d-15f2-4d99-b017-f1e1e1b21762", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083511Z:12b6f98d-15f2-4d99-b017-f1e1e1b21762" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761", - "name": "LogicAppRG-5761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397", + "name": "LogicAppRG-5397", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -38,16 +38,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow1912?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow7383?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Content-Length": "590", + "Content-Length": "589", "Content-Type": "application/json", - "traceparent": "00-a3ead5655458d1459df119a53ad87ea7-98689b3ffce16749-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "0b46a5275dc0758acdf4b9efdbc92ec9", + "traceparent": "00-8256764acb874c44975768044c5d277e-c9872f3504650b40-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "db9ef25856a3b8d10217d771f3d837dd", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -55,7 +55,7 @@ "location": "centralus", "properties": { "integrationAccount": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954" + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743" }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", @@ -87,29 +87,29 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2040", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:32 GMT", + "Date": "Tue, 07 Feb 2023 08:35:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "71fb963c-f06e-4314-ab9b-90f72920c27b", - "x-ms-ratelimit-remaining-subscription-writes": "1181", - "x-ms-request-id": "centralus:2fed8f3f-a872-4f88-82cd-b2c958677870", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090633Z:71fb963c-f06e-4314-ab9b-90f72920c27b" + "x-ms-correlation-request-id": "40498a55-4d9a-4aa8-a947-00290f2de8ee", + "x-ms-ratelimit-remaining-subscription-writes": "1194", + "x-ms-request-id": "centralus:68ebec15-8f81-496a-ac10-52eec89ffdda", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083515Z:40498a55-4d9a-4aa8-a947-00290f2de8ee" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:31.9751788Z", - "changedTime": "2022-08-26T09:06:31.9658971Z", + "createdTime": "2023-02-07T08:35:13.7914439Z", + "changedTime": "2023-02-07T08:35:13.7878219Z", "state": "Enabled", - "version": "08585401020935791047", - "accessEndpoint": "https://prod-10.centralus.logic.azure.com:443/workflows/3fe40dc1679d4b44b47e8f94f9fc4b19", + "version": "08585258479717175807", + "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/e1cf089f0d1d42218651587c7a4faca6", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -232,52 +232,52 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow1912", - "name": "workflow1912", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow7383", + "name": "workflow7383", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow1912?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow7383?api-version=2019-05-01", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-62b499337b09394582c484f1c45a8d85-5c341eed40a08b49-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "3d9cc2d59a06802dda75a2bac2478097", + "traceparent": "00-df792d4d8249204b9eef05e5f4fd9758-bc1bc3e5fba03244-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "8d216439d6597f3cc6258c30c91353d6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "2042", + "Content-Length": "2040", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:33 GMT", + "Date": "Tue, 07 Feb 2023 08:35:14 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "Vary": "Accept-Encoding", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "93b58394-0e9a-4a5d-898c-e6f0d0b13562", - "x-ms-ratelimit-remaining-subscription-resource-requests": "19985", - "x-ms-request-id": "centralus:1775872e-7c74-4bec-b6d4-38e4f41ccfde", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090633Z:93b58394-0e9a-4a5d-898c-e6f0d0b13562" + "x-ms-correlation-request-id": "81299d23-b54a-4e22-8de1-4f0b68de4edf", + "x-ms-ratelimit-remaining-subscription-resource-requests": "19996", + "x-ms-request-id": "centralus:08bf99c5-d76c-424f-99e7-ec205d14b285", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083515Z:81299d23-b54a-4e22-8de1-4f0b68de4edf" }, "ResponseBody": { "properties": { "provisioningState": "Succeeded", - "createdTime": "2022-08-26T09:06:31.9751788Z", - "changedTime": "2022-08-26T09:06:31.9658971Z", + "createdTime": "2023-02-07T08:35:13.7914439Z", + "changedTime": "2023-02-07T08:35:13.7878219Z", "state": "Enabled", - "version": "08585401020935791047", - "accessEndpoint": "https://prod-10.centralus.logic.azure.com:443/workflows/3fe40dc1679d4b44b47e8f94f9fc4b19", + "version": "08585258479717175807", + "accessEndpoint": "https://prod-29.centralus.logic.azure.com:443/workflows/e1cf089f0d1d42218651587c7a4faca6", "integrationAccount": { - "name": "integration3954", - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", "type": "Microsoft.Logic/integrationAccounts" }, "definition": { @@ -400,8 +400,8 @@ } } }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/workflows/workflow1912", - "name": "workflow1912", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow7383", + "name": "workflow7383", "type": "Microsoft.Logic/workflows", "location": "centralus", "tags": {} @@ -410,7 +410,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "869930277", + "RandomSeed": "564972555", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(False).json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(False).json index 610a91d4e968..21b0be25d4b9 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(False).json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(False).json @@ -6,33 +6,34 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-1f9e9bea85e35f4ab369f48bee4f5fca-266f74846a31a847-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "6434e0972492f2f3b893b5ac60f53fdd", + "Connection": "keep-alive", + "traceparent": "00-4c131a693326914b92d2293ef1581fbc-50ede488182e0743-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "af05901379555882e005571b8648be78", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "748", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:25 GMT", + "Date": "Tue, 07 Feb 2023 08:33:24 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c73d1000-f03e-4cb0-97a6-e5d872fafad0", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "c73d1000-f03e-4cb0-97a6-e5d872fafad0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090525Z:c73d1000-f03e-4cb0-97a6-e5d872fafad0" + "x-ms-correlation-request-id": "74fa42c4-4edd-4b7d-b917-f137561241b9", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "74fa42c4-4edd-4b7d-b917-f137561241b9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083324Z:74fa42c4-4edd-4b7d-b917-f137561241b9" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", "authorizationSource": "RoleBased", "managedByTenants": [], "tags": { - "TagKey-9823": "TagValue-566", + "TagKey-9823": "TagValue-1254", "TagKey-3481": "TagValue-320", "TagKey-4926": "TagValue-1187", "TagKey-751": "TagValue-3921", @@ -56,16 +57,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-3544?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-9580?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "24", "Content-Type": "application/json", - "traceparent": "00-34b3ec2a52c8fe4390d4499c9088ae28-06459cb617813442-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "3db2be42035ec607f54885f235ffd17b", + "traceparent": "00-3803d9cb4d515d429ca25b9582bb5d68-692891d9b475644b-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "7205044f922a43095eb6fab81c6913cb", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +77,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:27 GMT", + "Date": "Tue, 07 Feb 2023 08:33:27 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e55d5a81-4c5d-4f51-a0b2-1c1ba7dc2eb6", - "x-ms-ratelimit-remaining-subscription-writes": "1193", - "x-ms-request-id": "e55d5a81-4c5d-4f51-a0b2-1c1ba7dc2eb6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090527Z:e55d5a81-4c5d-4f51-a0b2-1c1ba7dc2eb6" + "x-ms-correlation-request-id": "57673b91-2223-47cc-a2cd-6c5fbe1d8db7", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "57673b91-2223-47cc-a2cd-6c5fbe1d8db7", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083328Z:57673b91-2223-47cc-a2cd-6c5fbe1d8db7" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544", - "name": "LogicAppRG-3544", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580", + "name": "LogicAppRG-9580", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -97,16 +98,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "76", "Content-Type": "application/json", - "traceparent": "00-f5853a5abe6d1543874fed5a87a7a27f-e41830b35752a245-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "cc55171c8e8ebe30af4dce7c9af6db2c", + "traceparent": "00-ad660126e685ff4ba4ba7bbd8b50a942-68aa628f92f82946-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "022672a96b1851786debaf22503b6044", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -122,15 +123,15 @@ "Cache-Control": "no-cache", "Content-Length": "315", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:05:29 GMT", + "Date": "Tue, 07 Feb 2023 08:33:33 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "70571a79-7e57-4a96-adb5-5846ccbeb7b4", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "centralus:10ab60b7-6079-447b-942b-9ff471a0d041", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090530Z:70571a79-7e57-4a96-adb5-5846ccbeb7b4" + "x-ms-correlation-request-id": "7ed076c8-b399-40fa-8a88-1ad2a90fa779", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "centralus:67d18578-19e4-4391-9700-d93a12cf2bb0", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083334Z:7ed076c8-b399-40fa-8a88-1ad2a90fa779" }, "ResponseBody": { "properties": { @@ -139,8 +140,8 @@ "sku": { "name": "Standard" }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-3544/providers/Microsoft.Logic/integrationAccounts/integration4878", - "name": "integration4878", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", + "name": "integration1356", "type": "Microsoft.Logic/integrationAccounts", "location": "centralus", "tags": {} @@ -149,7 +150,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1039536312", + "RandomSeed": "631976510", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(True)Async.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(True)Async.json index 23b0447db686..6f228c8a66c1 100644 --- a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(True)Async.json +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/LogicWorkflowsTests(True)Async.json @@ -6,33 +6,34 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-10575eb31e459541bff0d00785e81eee-ea1f7e92accd444c-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "5a8d9800e4e6e66ce03606c06930c2b9", + "Connection": "keep-alive", + "traceparent": "00-c65824b97bc86343ab5837ab1c51f95b-51c64cce268ccb41-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "6d006c125c03f34fc1e3db10cde7b207", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "747", + "Content-Length": "748", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:02 GMT", + "Date": "Tue, 07 Feb 2023 08:34:37 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "34e161bc-18fc-4746-b33d-954f9afcd399", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "34e161bc-18fc-4746-b33d-954f9afcd399", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090602Z:34e161bc-18fc-4746-b33d-954f9afcd399" + "x-ms-correlation-request-id": "810eb628-f1fe-429b-9bf1-62dc1abd2b04", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "810eb628-f1fe-429b-9bf1-62dc1abd2b04", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083437Z:810eb628-f1fe-429b-9bf1-62dc1abd2b04" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", "authorizationSource": "RoleBased", "managedByTenants": [], "tags": { - "TagKey-9823": "TagValue-566", + "TagKey-9823": "TagValue-1254", "TagKey-3481": "TagValue-320", "TagKey-4926": "TagValue-1187", "TagKey-751": "TagValue-3921", @@ -56,16 +57,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5761?api-version=**", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5397?api-version=**", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "24", "Content-Type": "application/json", - "traceparent": "00-0608efee78d7bc4fb6f3dfed3d20860e-e2202d5e31b9b746-00", - "User-Agent": "azsdk-net-ResourceManager/1.3.0 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "209f35b07d92a0252a34bb277bcf01a8", + "traceparent": "00-6e6cdb40a1466e4db606eb3c2bab1377-3e77ad41fa7f174d-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "ffebb7b3d4e1ccec5116337064ed1aa0", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -76,19 +77,19 @@ "Cache-Control": "no-cache", "Content-Length": "230", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:04 GMT", + "Date": "Tue, 07 Feb 2023 08:34:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "06f37255-25ac-47ec-a10c-755a958d4411", - "x-ms-ratelimit-remaining-subscription-writes": "1186", - "x-ms-request-id": "06f37255-25ac-47ec-a10c-755a958d4411", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090604Z:06f37255-25ac-47ec-a10c-755a958d4411" + "x-ms-correlation-request-id": "566c37f5-1bbe-41d7-b2a7-6da7ef07fa7d", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "566c37f5-1bbe-41d7-b2a7-6da7ef07fa7d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083442Z:566c37f5-1bbe-41d7-b2a7-6da7ef07fa7d" }, "ResponseBody": { - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761", - "name": "LogicAppRG-5761", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397", + "name": "LogicAppRG-5397", "type": "Microsoft.Resources/resourceGroups", "location": "centralus", "properties": { @@ -97,16 +98,16 @@ } }, { - "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954?api-version=2019-05-01", + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743?api-version=2019-05-01", "RequestMethod": "PUT", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "76", "Content-Type": "application/json", - "traceparent": "00-b19c8cf016608449b105cf3cd56e622d-7903bcb694750a4e-00", - "User-Agent": "azsdk-net-ResourceManager.Logic/1.0.0-alpha.20220825.1 (.NET Core 3.1.28; Microsoft Windows 10.0.22000)", - "x-ms-client-request-id": "290954cc52c7d47066412ae283359af3", + "traceparent": "00-19d3a4e05e69a44d8a991e3918296d05-e14a92b0e0b2a340-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "01833272dd031b7dd5140a61cbd04a20", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -120,17 +121,17 @@ "StatusCode": 201, "ResponseHeaders": { "Cache-Control": "no-cache", - "Content-Length": "315", + "Content-Length": "313", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 26 Aug 2022 09:06:09 GMT", + "Date": "Tue, 07 Feb 2023 08:34:48 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b1a1a389-84cf-4f14-8884-6172086937d8", - "x-ms-ratelimit-remaining-subscription-writes": "1185", - "x-ms-request-id": "centralus:9187d8a9-6e5f-42f7-8d4c-8cc84ac88e07", - "x-ms-routing-request-id": "SOUTHEASTASIA:20220826T090609Z:b1a1a389-84cf-4f14-8884-6172086937d8" + "x-ms-correlation-request-id": "b29ff1ea-5746-479a-b3d0-5e6f19a245bc", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "centralus:83d9a809-442d-49b0-bf42-721db23c4aa9", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083448Z:b29ff1ea-5746-479a-b3d0-5e6f19a245bc" }, "ResponseBody": { "properties": { @@ -139,8 +140,8 @@ "sku": { "name": "Standard" }, - "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5761/providers/Microsoft.Logic/integrationAccounts/integration3954", - "name": "integration3954", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", + "name": "integration743", "type": "Microsoft.Logic/integrationAccounts", "location": "centralus", "tags": {} @@ -149,7 +150,7 @@ ], "Variables": { "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", - "RandomSeed": "1365051268", + "RandomSeed": "854405479", "RESOURCE_MANAGER_URL": null, "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" } diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Update.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Update.json new file mode 100644 index 000000000000..c05a34b27dcd --- /dev/null +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/Update.json @@ -0,0 +1,456 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-9580?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-1d48022ec5627040b543a2787a033c9a-13bc49af0ab51342-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "f5b8ab6837dd2a3d5d50d3d8a3ddc4d1", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 07 Feb 2023 08:34:11 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "80b92459-7857-437a-bda7-c57ff02f3ffa", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "80b92459-7857-437a-bda7-c57ff02f3ffa", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083411Z:80b92459-7857-437a-bda7-c57ff02f3ffa" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580", + "name": "LogicAppRG-9580", + "type": "Microsoft.Resources/resourceGroups", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7682?api-version=2019-05-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "590", + "Content-Type": "application/json", + "traceparent": "00-0332c40c5b305c4fa36c7223b7c03ede-ee1c82afae8d044a-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "b1d71763484e4be65f01e3f0f0ccea3a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "centralus", + "properties": { + "integrationAccount": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2042", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 07 Feb 2023 08:34:14 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3568a84e-0fdf-4bb7-a59d-dc7ef6434f88", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "centralus:01c864f0-9b33-48eb-9e47-6a4744884108", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083415Z:3568a84e-0fdf-4bb7-a59d-dc7ef6434f88" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2023-02-07T08:34:13.8215184Z", + "changedTime": "2023-02-07T08:34:13.8122989Z", + "state": "Enabled", + "version": "08585258480316839065", + "accessEndpoint": "https://prod-00.centralus.logic.azure.com:443/workflows/1bff07719c094228a75ffb0ab2386a03", + "integrationAccount": { + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + }, + "parameters": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.67.236.125" + }, + { + "address": "104.208.25.27" + }, + { + "address": "40.122.170.198" + }, + { + "address": "40.113.218.230" + }, + { + "address": "23.100.86.139" + }, + { + "address": "23.100.87.24" + }, + { + "address": "23.100.87.56" + }, + { + "address": "23.100.82.16" + }, + { + "address": "52.141.221.6" + }, + { + "address": "52.141.218.55" + }, + { + "address": "20.109.202.36" + }, + { + "address": "20.109.202.29" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "13.67.236.76" + }, + { + "address": "40.77.111.254" + }, + { + "address": "40.77.31.87" + }, + { + "address": "104.43.243.39" + }, + { + "address": "13.86.98.126" + }, + { + "address": "20.109.202.37" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "52.173.241.27" + }, + { + "address": "52.173.245.164" + }, + { + "address": "13.89.171.80/28" + }, + { + "address": "13.89.178.64/27" + }, + { + "address": "40.77.68.110" + }, + { + "address": "20.98.144.224/27" + }, + { + "address": "20.98.145.0/28" + }, + { + "address": "20.80.123.134" + }, + { + "address": "20.80.123.57" + } + ] + } + } + }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7682", + "name": "workflow7682", + "type": "Microsoft.Logic/workflows", + "location": "centralus", + "tags": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7682?api-version=2019-05-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "609", + "Content-Type": "application/json", + "traceparent": "00-cbc149cd6a2ee8439f30ca92daed95a8-8d6d24b192f18e49-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "8b8e6ad2cb76d92a754d7b970ace03f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "testKey": "testVal" + }, + "location": "centralus", + "properties": { + "integrationAccount": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2061", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 07 Feb 2023 08:34:17 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "d41cfd20-285f-48dd-857e-026f95b77df9", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "centralus:50ac8f3e-f453-4b4e-b3c8-fa15dc762017", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083418Z:d41cfd20-285f-48dd-857e-026f95b77df9" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2023-02-07T08:34:15.9565062Z", + "changedTime": "2023-02-07T08:34:15.9373312Z", + "state": "Enabled", + "version": "08585258480295375721", + "accessEndpoint": "https://prod-00.centralus.logic.azure.com:443/workflows/1bff07719c094228a75ffb0ab2386a03", + "integrationAccount": { + "name": "integration1356", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/integrationAccounts/integration1356", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + }, + "parameters": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.67.236.125" + }, + { + "address": "104.208.25.27" + }, + { + "address": "40.122.170.198" + }, + { + "address": "40.113.218.230" + }, + { + "address": "23.100.86.139" + }, + { + "address": "23.100.87.24" + }, + { + "address": "23.100.87.56" + }, + { + "address": "23.100.82.16" + }, + { + "address": "52.141.221.6" + }, + { + "address": "52.141.218.55" + }, + { + "address": "20.109.202.36" + }, + { + "address": "20.109.202.29" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "13.67.236.76" + }, + { + "address": "40.77.111.254" + }, + { + "address": "40.77.31.87" + }, + { + "address": "104.43.243.39" + }, + { + "address": "13.86.98.126" + }, + { + "address": "20.109.202.37" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "52.173.241.27" + }, + { + "address": "52.173.245.164" + }, + { + "address": "13.89.171.80/28" + }, + { + "address": "13.89.178.64/27" + }, + { + "address": "40.77.68.110" + }, + { + "address": "20.98.144.224/27" + }, + { + "address": "20.98.145.0/28" + }, + { + "address": "20.80.123.134" + }, + { + "address": "20.80.123.57" + } + ] + } + } + }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-9580/providers/Microsoft.Logic/workflows/workflow7682", + "name": "workflow7682", + "type": "Microsoft.Logic/workflows", + "location": "centralus", + "tags": { + "testKey": "testVal" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", + "RandomSeed": "1830115700", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} diff --git a/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/UpdateAsync.json b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/UpdateAsync.json new file mode 100644 index 000000000000..917aec28c78f --- /dev/null +++ b/sdk/logic/Azure.ResourceManager.Logic/tests/SessionRecords/LogicWorkflowsTests/UpdateAsync.json @@ -0,0 +1,456 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/LogicAppRG-5397?api-version=**", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-72e8c9b40fb44f43baf5307fd898e50e-28d0bff035196e4b-00", + "User-Agent": "azsdk-net-ResourceManager/1.3.2 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "0b28d7625d93769e7180eb6d30b3c639", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "230", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 07 Feb 2023 08:35:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ebc60870-c637-4557-8e16-8427e68a6f70", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "ebc60870-c637-4557-8e16-8427e68a6f70", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083522Z:ebc60870-c637-4557-8e16-8427e68a6f70" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397", + "name": "LogicAppRG-5397", + "type": "Microsoft.Resources/resourceGroups", + "location": "centralus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3253?api-version=2019-05-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "589", + "Content-Type": "application/json", + "traceparent": "00-6ba8515a4c3b9d4db2d782cee0ede365-f5675cf2e538b245-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "7e4c67d7e3362ccc7e88b210d612b90e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": {}, + "location": "centralus", + "properties": { + "integrationAccount": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + } + } + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2040", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 07 Feb 2023 08:35:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "3fb2def0-00ab-47e9-8f44-09df8e50753d", + "x-ms-ratelimit-remaining-subscription-writes": "1192", + "x-ms-request-id": "centralus:7a8763d0-d4e6-4f0f-a02b-50eb1aa2d930", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083525Z:3fb2def0-00ab-47e9-8f44-09df8e50753d" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2023-02-07T08:35:24.2310586Z", + "changedTime": "2023-02-07T08:35:24.2253451Z", + "state": "Enabled", + "version": "08585258479612663504", + "accessEndpoint": "https://prod-25.centralus.logic.azure.com:443/workflows/4e1c4ae6812e4303b6534c2d12c1ac8e", + "integrationAccount": { + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + }, + "parameters": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.67.236.125" + }, + { + "address": "104.208.25.27" + }, + { + "address": "40.122.170.198" + }, + { + "address": "40.113.218.230" + }, + { + "address": "23.100.86.139" + }, + { + "address": "23.100.87.24" + }, + { + "address": "23.100.87.56" + }, + { + "address": "23.100.82.16" + }, + { + "address": "52.141.221.6" + }, + { + "address": "52.141.218.55" + }, + { + "address": "20.109.202.36" + }, + { + "address": "20.109.202.29" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "13.67.236.76" + }, + { + "address": "40.77.111.254" + }, + { + "address": "40.77.31.87" + }, + { + "address": "104.43.243.39" + }, + { + "address": "13.86.98.126" + }, + { + "address": "20.109.202.37" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "52.173.241.27" + }, + { + "address": "52.173.245.164" + }, + { + "address": "13.89.171.80/28" + }, + { + "address": "13.89.178.64/27" + }, + { + "address": "40.77.68.110" + }, + { + "address": "20.98.144.224/27" + }, + { + "address": "20.98.145.0/28" + }, + { + "address": "20.80.123.134" + }, + { + "address": "20.80.123.57" + } + ] + } + } + }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3253", + "name": "workflow3253", + "type": "Microsoft.Logic/workflows", + "location": "centralus", + "tags": {} + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3253?api-version=2019-05-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "608", + "Content-Type": "application/json", + "traceparent": "00-8539043224855e4a82a642840a4f10c0-5aa02a8814dd3d49-00", + "User-Agent": "azsdk-net-ResourceManager.Logic/1.1.0-alpha.20230207.1 (.NET Framework 4.8.4515.0; Microsoft Windows 10.0.19045 )", + "x-ms-client-request-id": "4ac937a3ae50ad529449385dad5967b8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "tags": { + "testKey": "testVal" + }, + "location": "centralus", + "properties": { + "integrationAccount": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + } + } + }, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "2059", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 07 Feb 2023 08:35:31 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "Vary": "Accept-Encoding", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6e7792e6-7649-4577-8f73-5a478019d1ea", + "x-ms-ratelimit-remaining-subscription-writes": "1191", + "x-ms-request-id": "centralus:33e76b5a-aa2b-4372-a20b-0ae00593269d", + "x-ms-routing-request-id": "SOUTHEASTASIA:20230207T083531Z:6e7792e6-7649-4577-8f73-5a478019d1ea" + }, + "ResponseBody": { + "properties": { + "provisioningState": "Succeeded", + "createdTime": "2023-02-07T08:35:25.9909426Z", + "changedTime": "2023-02-07T08:35:25.9753668Z", + "state": "Enabled", + "version": "08585258479595076251", + "accessEndpoint": "https://prod-25.centralus.logic.azure.com:443/workflows/4e1c4ae6812e4303b6534c2d12c1ac8e", + "integrationAccount": { + "name": "integration743", + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/integrationAccounts/integration743", + "type": "Microsoft.Logic/integrationAccounts" + }, + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": { + "manual": { + "type": "Request", + "kind": "Http", + "inputs": { + "schema": {} + } + } + }, + "actions": { + "Response": { + "runAfter": {}, + "type": "Response", + "kind": "Http", + "inputs": { + "statusCode": 200 + } + } + }, + "outputs": {} + }, + "parameters": {}, + "endpointsConfiguration": { + "workflow": { + "outgoingIpAddresses": [ + { + "address": "13.67.236.125" + }, + { + "address": "104.208.25.27" + }, + { + "address": "40.122.170.198" + }, + { + "address": "40.113.218.230" + }, + { + "address": "23.100.86.139" + }, + { + "address": "23.100.87.24" + }, + { + "address": "23.100.87.56" + }, + { + "address": "23.100.82.16" + }, + { + "address": "52.141.221.6" + }, + { + "address": "52.141.218.55" + }, + { + "address": "20.109.202.36" + }, + { + "address": "20.109.202.29" + } + ], + "accessEndpointIpAddresses": [ + { + "address": "13.67.236.76" + }, + { + "address": "40.77.111.254" + }, + { + "address": "40.77.31.87" + }, + { + "address": "104.43.243.39" + }, + { + "address": "13.86.98.126" + }, + { + "address": "20.109.202.37" + } + ] + }, + "connector": { + "outgoingIpAddresses": [ + { + "address": "52.173.241.27" + }, + { + "address": "52.173.245.164" + }, + { + "address": "13.89.171.80/28" + }, + { + "address": "13.89.178.64/27" + }, + { + "address": "40.77.68.110" + }, + { + "address": "20.98.144.224/27" + }, + { + "address": "20.98.145.0/28" + }, + { + "address": "20.80.123.134" + }, + { + "address": "20.80.123.57" + } + ] + } + } + }, + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/LogicAppRG-5397/providers/Microsoft.Logic/workflows/workflow3253", + "name": "workflow3253", + "type": "Microsoft.Logic/workflows", + "location": "centralus", + "tags": { + "testKey": "testVal" + } + } + } + ], + "Variables": { + "AZURE_AUTHORITY_HOST": "https://login.microsoftonline.com", + "RandomSeed": "2029036826", + "RESOURCE_MANAGER_URL": null, + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +}